CVE-2009-3040 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands via vulnerable parameters in OCS Inventory NG, potentially compromising database integrity and confidentiality.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-3040?
CVE-2009-3040 is a high-severity SQL injection vulnerability in n/a, published on 1 Sep 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Multiple SQL injection vulnerabilities in Open Computer and Software (OCS) Inventory NG 1.02 for Unix allow remote attackers to execute arbitrary SQL commands via the (1) N, (2) DL, (3) O and (4) V parameters to download.php and the (5) SYSTEMID parameter to group_show.php.
Weakness: CWE-89
Which versions are affected by CVE-2009-3040?
It affects 1 product.
Products include Ocsinventory-Ng Ocs Inventory Ng.
How do I fix CVE-2009-3040?
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-3040 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-3040 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2009-3040, GHSA-4fhc-2vjg-rx26.