CVE-2012-5872 SQL injection in n/a
Blind SQL injection in ARC2 SPARQL library allows attackers to read database contents via crafted SPARQL queries.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2012-5872?
CVE-2012-5872 is a critical SQL injection vulnerability in n/a, published on 25 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ARC (aka ARC2) through 2011-12-01 allows blind SQL Injection in getTriplePatternSQL in ARC2_StoreSelectQueryHandler.php via comments in a SPARQL WHERE clause.
Weakness: CWE-89
Which versions are affected by CVE-2012-5872?
It affects 1 product.
Products include Arc2 Project Arc2.
How do I fix CVE-2012-5872?
No fix has been published for CVE-2012-5872 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-5872 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-5872 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-5m7x-w8j4-fvh5.