OCS Inventory NG Server Multiple SQL Injection Vulnerabilities

BID:35152

Info

OCS Inventory NG Server Multiple SQL Injection Vulnerabilities

Bugtraq ID: 35152
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Jun 01 2009 12:00AM
Updated: Mar 19 2015 08:25AM
Credit: Nico Leidecker
Vulnerable: Ocsinventory-Ng OCS Inventory NG Server 1.02
Ocsinventory-Ng OCS Inventory NG Server 1.01
Not Vulnerable: Ocsinventory-Ng OCS Inventory NG Server 1.2.1

Discussion

OCS Inventory NG Server Multiple SQL Injection Vulnerabilities

OCS Inventory NG Server is prone to multiple SQL-injection vulnerabilities because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.

Exploiting these issues could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.

Versions prior to OCS Inventory NG Server 1.02.1 are vulnerable.

Exploit / POC

OCS Inventory NG Server Multiple SQL Injection Vulnerabilities

Attackers can use a browser to exploit these issues.

The following example URI is available:

http://www.example.com/ocsreports/download.php?n=1&dl=2&o=3&=4'union+all+select+concat(id,':',passwd)+from+operators%23

Solution / Fix

OCS Inventory NG Server Multiple SQL Injection Vulnerabilities

Solution:
The vendor has released updates. Please see the references for details.


Ocsinventory-Ng OCS Inventory NG Server 1.01

Ocsinventory-Ng OCS Inventory NG Server 1.02

References

OCS Inventory NG Server Multiple SQL Injection Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report