Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| parisneo / parisneo/lollms | affected unspecified before 2.2.0 |
CWE
CWE-918
References
- https://huntr.com/bounties/65e43a5e-b902-4369-b738-1825285a3ea5
- https://github.com/parisneo/lollms/commit/76a54f0df2df8a5b254aa627d487b5dc939a0263
ADP enrichment
No English description supplied.
No references supplied.