SSRF in Lobehub Lobe-Chat
CVE-2024-47066
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:H.
EPSS exploit prediction
EPSS 0.119, 96.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lobehub Lobe-Chat — versions < 1.19.13
- Lobehub Lobe Chat
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- l8BL/CVE-2024-47066 (4 stars, last pushed 2024-09-24): Proof-of-Concept for CVE-2024-47066
- EQSTLab/CVE-2024-47066 (last pushed 2024-09-24): Lobe Chat Server-Side Request Forgery exploit
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-3fc8-2r3f-8wrg (Exploit, Third Party Advisory)
- https://github.com/lobehub/lobe-chat/security/advisories/GHSA-mxhq-xw3g-rphc (Not Applicable)
- https://github.com/lobehub/lobe-chat/commit/e960a23b0c69a5762eb27d776d33dac443058faf (Patch)
- https://github.com/lobehub/lobe-chat/blob/main/src/app/api/proxy/route.ts (Broken Link)
This CVE has public exploit evidence. See the latest CVEs with public exploits.