@lobehub/chat
Affected
- introduced
0, fixed0.162.25(semver)
Fixed versions
0.162.25
Fix
- Fixed version
0.162.25npm install @lobehub/[email protected]
Advisory
Also known as: CVE-2024-37895
Lobe Chat API Key Leak
Summary
If an attacker can successfully authenticate through SSO/Access Code, they can obtain the real backend API Key by modifying the base URL to their own attack URL on the frontend and setting up a server-side request.
Details
The attack process is described above.
PoC
Frontend:
Backend:
Impact
All community version LobeChat users using SSO/Access Code authentication, tested on version 0.162.13.
Medium Basis: The source's own band: MODERATE
0, fixed 0.162.25 (semver)0.162.25
0.162.25npm install @lobehub/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0