SQL injection in SQLAlchemy - CVE-2012-0805

 

SQL injection in SQLAlchemy - CVE-2012-0805

Published: June 6, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU44018
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-0805
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the (1) limit or (2) offset keyword to the select function, or unspecified vectors to the (3) select.limit or (4) select.offset function. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

SQLAlchemy
Gentoo Linux
Fedora
python-sqlalchemy
python-sqlalchemy0.5

How to mitigate CVE-2012-0805

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

python-sqlalchemy - update to 0.3.11-2.el5
python-sqlalchemy0.5 - update to 0.5.8-9.el5

External References

Related Security Bulletins