SQL injection in SQLAlchemy



Published: 2012-06-06 | Updated: 2020-08-11
Risk Medium
Patch available NO
Number of vulnerabilities 1
CVE-ID CVE-2012-0805
CWE-ID CWE-89
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
SQLAlchemy
Universal components / Libraries / Software for developers

Vendor SQLAlchemy

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) SQL injection

EUVDB-ID: #VU44018

Risk: Medium

CVSSv3.1: 6.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:U/RC:C]

CVE-ID: CVE-2012-0805

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Exploit availability: No

Description

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.

Mitigation

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

Vulnerable software versions

SQLAlchemy: 0.6.0 - 0.7.0

CPE2.3 External links

http://rhn.redhat.com/errata/RHSA-2012-0369.html
http://secunia.com/advisories/48327
http://secunia.com/advisories/48328
http://secunia.com/advisories/48771
http://www.debian.org/security/2012/dsa-2449
http://www.mandriva.com/security/advisories?name=MDVSA-2012:059
http://www.sqlalchemy.org/changelog/CHANGES_0_7_0
http://www.sqlalchemy.org/trac/changeset/852b6a1a87e7/
http://bugs.launchpad.net/keystone/+bug/918608
http://exchange.xforce.ibmcloud.com/vulnerabilities/73756


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###