CVE-2012-5872

ARC (aka ARC2) through 2011-12-01 allows blind SQL Injection in getTriplePatternSQL in ARC2_StoreSelectQueryHandler.php via comments in a SPARQL WHERE clause

Critical · published April 25, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
54.3
In the wild
Unconfirmed
What it is

🔥 A blind SQL injection flaw is lurking in ARC2, potentially allowing attackers to manipulate your queries through clever comments! ⚠️ Think of it as a restaurant where diners can slip in secret notes with their orders, altering the chef's recipe without anyone noticing. A hidden menu item could wreak havoc on the kitchen! An attacker could secretly modify database queries, leading to unauthorized access to sensitive data or even full control over the database. This kind of vulnerability could be absolutely devastating, allowing malicious users to extract or destroy critical information without raising any alarms.

Put simply

Think of it as a restaurant where diners can slip in secret notes with their orders, altering the chef's recipe without anyone noticing. A hidden menu item could wreak havoc on the kitchen! The vulnerability lies in the "getTriplePatternSQL" function of ARC2_StoreSelectQueryHandler.php, where comments in a SPARQL WHERE clause can be exploited to execute malicious SQL commands, bypassing standard security measures.

What to do

An attacker could secretly modify database queries, leading to unauthorized access to sensitive data or even full control over the database. This kind of vulnerability could be absolutely devastating, allowing malicious users to extract or destroy critical information without raising any alarms. Immediately update ARC2 to the latest version to patch this critical vulnerability. Review your SPARQL queries for any potential misuse of comments and implement input validation to prevent similar attacks. You've got this! By following these steps, you’ll keep your systems safe and secure! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
CVSS v4.0
Not supplied
EPSS
0.00752 · 54.3th percentile
Published
2023-04-25T00:00Z
EPSS history
Timeline
  • 25 APR 00:00Z
    ARC (aka ARC2) through 2011-12-01 allows blind SQL Injection in getTriplePatternSQL in ARC2_StoreSelectQueryHandler.php via comments in a SPARQL WHERE clause
    cvelistv5