CVE-2012-0938 SQL injection in n/a
Authenticated users can execute arbitrary SQL commands via multiple parameters in TestLink, potentially compromising test data integrity.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-0938?
CVE-2012-0938 is a medium-severity SQL injection vulnerability in n/a, published on 14 Aug 2014. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Multiple SQL injection vulnerabilities in TestLink 1.9.3, 1.8.5b, and earlier allow remote authenticated users with certain permissions to execute arbitrary SQL commands via the root_node parameter in the display_children function to (1) getrequirementnodes.php or (2) gettprojectnodes.php in lib/ajax/; the (3) cfield_id parameter in an edit action to lib/cfields/cfieldsEdit.php; the (4) id parameter in an edit action or (5) plan_id parameter in a create action to lib/plan/planMilestonesEdit.php; or the req_spec_id parameter to (6) reqImport.php or (7) in a create action to reqEdit.php in lib/requirements/. NOTE: some of these details are obtained from third party information.
Weakness: CWE-89
Which versions are affected by CVE-2012-0938?
It affects 1 product.
Products include Testlink Testlink.
How do I fix CVE-2012-0938?
No fix has been published for CVE-2012-0938 yet. Limit exposure of the affected software until one is available.
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-2012-0938 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-0938 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in n/a
Sources
Also known as GHSA-vh54-2w7r-mpgf.