CVE-2009-3042 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via the systemid parameter in OCS Inventory NG, potentially compromising database integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-3042?
CVE-2009-3042 is a high-severity SQL injection vulnerability in n/a, published on 1 Sep 2009. It can be exploited over the network, with no action from the victim.
Official description
SQL injection vulnerability in machine.php in Open Computer and Software (OCS) Inventory NG 1.02.1 allows remote attackers to execute arbitrary SQL commands via the systemid parameter, a different vector than CVE-2009-3040.
Weakness: CWE-89
Which versions are affected by CVE-2009-3042?
It affects 1 product.
Products include Ocsinventory-Ng Ocs Inventory Ng.
How do I fix CVE-2009-3042?
Upgrade to a fixed version.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2009-3042 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-3042 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2009-3042, GHSA-9qj6-5wm9-wp55.