Inventree Server-Side Request Forgery vulnerability exposes server port/internal IP
Impact
The "download image from remote URL" feature can be abused by a malicious actor to potentially extract information about server side resources. Submitting a crafted URL (in place of a valid image) can raise a server side error, which is reported back to the user.
This error message may contain sensitive information about the server side request, including information about the availability of the remote resource.
Patches
The solution to this vulnerability is to prevent the server from returning any specific information about the observed exception. Instead, a generic error message is returned to the client.
This patch has been applied to the upcoming 0.17.0 release, and also back-ported to the 0.16.5 stable release.
Workarounds
To avoid this issue with unpatched versions, the "download image from remote URL" feature can be disabled in InvenTree, preventing users from accessing this information.
References
Thanks to @febin0x10 for identifying this vulnerability and reporting it to us as per our security policy.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | inventree | < 0.16.5 | 0.16.5 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- Schwäche (CWE)
CWE-918- Plattform
- Python (PyPI)
- Paket
inventree- Veröffentlicht
- 02.10.2024
- Aktualisiert
- 11.10.2026 12:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-vx3h-qwqw-r2wq - CC BY 4.0
Schwachstellenhistorie: inventree
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 7
- Erste → letzte
- 06.2022 10.2024
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 4
- Mittel 3
Veröffentlichungen pro Jahr
- 2022: 6
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Inventree Server-Side Request Forgery vulnerability exposes server port/internal IP dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.