CVE-2018-15537
Description
Unrestricted file upload (with remote code execution) in OCS Inventory NG ocsreports allows a privileged user to gain access to the server via crafted HTTP requests.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
OCS Inventory NG ocsreports allows privileged users to upload arbitrary PHP files, leading to remote code execution on the server.
Vulnerability
OCS Inventory NG version 1.06.01 and earlier contains an unrestricted file upload vulnerability in the ocsreports component. A privileged user with console access can upload a PHP shell via a specially crafted HTTP request. No validation is performed on the uploaded file type, allowing arbitrary files, including executable scripts, to be written to the download/ directory [1].
Exploitation
An attacker requires valid credentials for a privileged (admin) account in OCS Inventory NG. By crafting a multipart HTTP POST request to the upload functionality, the attacker can embed a PHP file with arbitrary code. The request is sent to the ocsreports page, and the file is stored on the server without any extension or content filtering [1].
Impact
Successful exploitation grants the attacker the ability to execute arbitrary PHP code on the underlying server with the privileges of the web server user. This leads to full compromise of the OCS Inventory NG server, including access to the database and potentially lateral movement within the network [1].
Mitigation
A fix was released in OCS Inventory NG version 1.06.02. Users should upgrade immediately. There is no known workaround for the vulnerability; the only effective mitigation is applying the patch. This CVE is not listed in CISA's Known Exploited Vulnerabilities catalog [1].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- packetstormsecurity.com/files/150330/OCS-Inventory-NG-ocsreports-Shell-Upload.htmlmitrex_refsource_MISC
- seclists.org/fulldisclosure/2018/Nov/40mitremailing-listx_refsource_FULLDISC
News mentions
0No linked articles in our index yet.