Skip to content
CriticalVulnerability

CVE-2024-47066: Lobe Chat server-side request forgery via redirect in proxy route

Identifier
CVE-2024-47066
Published
Record updated
View JSON
Affected
  • @lobehub/chat <= 1.19.12
Fixed in
1.19.13
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
11.9%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Lobe Chat, an open-source AI chat framework, prior to version 1.19.13 has a flaw in the server-side request forgery protection in `src/app/api/proxy/route.ts`. The protection does not account for redirects, so an attacker can supply an external URL that redirects to internal resources such as a private network or loopback address.

Mitigation

Version 1.19.13 contains an improved fix for the issue.