### [CVE-2024-47066](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47066) ![](https://img.shields.io/static/v1?label=Product&message=lobe-chat&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3C%201.19.13%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Version&message=0%20&color=brightgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-918%3A%20Server-Side%20Request%20Forgery%20(SSRF)&color=brightgreen) ### 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. ### POC #### Reference - https://github.com/lobehub/lobe-chat/security/advisories/GHSA-3fc8-2r3f-8wrg - https://github.com/lobehub/lobe-chat/security/advisories/GHSA-mxhq-xw3g-rphc #### Github - https://github.com/fkie-cad/nvd-json-data-feeds - https://github.com/l8BL/CVE-2024-47066 - https://github.com/nomi-sec/PoC-in-GitHub