Unrestricted file upload vulnerability in the CSV file upload functionality of the Ocsreports admin_info endpoint. The application validates files sol...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSocsinventory-server |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSocsinventory-server |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSocsinventory-server |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSocsinventory-server |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSocsinventory-server |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Unrestricted file upload vulnerability in the CSV file upload functionality of the Ocsreports admin_info endpoint. The application validates files solely based on the name provided by the client, without properly checking their content or securely restricting the permitted file types. This allows a user with administrator privileges to upload PHP files to a directory accessible via the web interface. If the file is subsequently processed by the server, an attacker could execute arbitrary code with the privileges of the account used by the web service.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report incibe.es