Server-Side Request Forgery (SSRF) in parisneo/lollms
Résumé
Server-Side Request Forgery (SSRF) in parisneo/lollms
Description d'origine
La description telle que publiée par la source (souvent en anglais).
A Server-Side Request Forgery (SSRF) vulnerability exists in parisneo/lollms versions prior to 2.2.0, specifically in the /api/files/export-content endpoint. The _download_image_to_temp() function in backend/routers/files.py fails to validate user-controlled URLs, allowing attackers to make arbitrary HTTP requests to internal services and cloud metadata endpoints. This vulnerability can lead to internal network access, cloud metadata access, information disclosure, port scanning, and potentially remote code execution.
Références
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web huntr.com