CVE-2024-47066
Lobehub Lobe Chat vulnerability
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.
Affected products
Lobe Chat. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lobehub Lobe Chat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/lobehub/lobe-chat/commit/e960a23b0c69a5762eb27d776d33dac443058faf · Patch
- github.com/lobehub/lobe-chat/security/advisories/GHSA-3fc8-2r3f-8wrg · Exploit
- github.com/lobehub/lobe-chat/blob/main/src/app/api/proxy/route.ts
- github.com/lobehub/lobe-chat/security/advisories/GHSA-mxhq-xw3g-rphc
- nvd.nist.gov/vuln/detail/CVE-2024-47066
- github.com/advisories/GHSA-3fc8-2r3f-8wrg
- nvd.nist.gov/vuln/detail/CVE-2024-47066
- cve.org/CVERecord?id=CVE-2024-47066
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.