CVE-2024-47066

high

Description

Lobe Chat is an open-source artificial intelligence chat framework. Prior to version 1.19.13, server-side request forgery protection implemented in `src/app/api/proxy/route.ts` does not consider redirect and could be bypassed when attacker provides an external malicious URL which redirects to internal resources like a private network or loopback address. Version 1.19.13 contains an improved fix for the issue.

References

https://github.com/lobehub/lobe-chat/security/advisories/GHSA-mxhq-xw3g-rphc

https://github.com/lobehub/lobe-chat/security/advisories/GHSA-3fc8-2r3f-8wrg

https://github.com/lobehub/lobe-chat/commit/e960a23b0c69a5762eb27d776d33dac443058faf

https://github.com/lobehub/lobe-chat/blob/main/src/app/api/proxy/route.ts

Details

Source: Mitre, NVD

Published: 2024-09-23

Updated: 2024-09-30

Risk Information

CVSS v2

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High