SQL injection in PostgreSQL JDBC driver



Published: 2012-10-07 | Updated: 2022-05-02
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-1618
CWE-ID CWE-89
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Postgresql JDBC Driver
Universal components / Libraries / Libraries used by multiple products

Vendor PostgreSQL Global Development Group

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) SQL injection

EUVDB-ID: #VU62715

Risk: Medium

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

CVE-ID: CVE-2012-1618

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 when used with a PostgreSQL server with the "standard_conforming_strings" option enabled, such as the default configuration of PostgreSQL 9.1. 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

Postgresql JDBC Driver: 8.0 - 8.1

External links

http://archives.neohapsis.com/archives/bugtraq/2012-03/0126.html
http://lists.opensuse.org/opensuse-security/2012-03/msg00024.html
http://www.openwall.com/lists/oss-security/2012/03/30/8
http://www.openwall.com/lists/oss-security/2012/03/30/9
http://www.openwall.com/lists/oss-security/2012/03/31/1
http://www.openwall.com/lists/oss-security/2012/04/02/4
http://www.openwall.com/lists/oss-security/2012/04/04/11
http://www.openwall.com/lists/oss-security/2012/04/04/4
http://www.openwall.com/lists/oss-security/2012/04/04/5
http://www.openwall.com/lists/oss-security/2012/04/04/9
http://www.osvdb.org/80641
http://bugzilla.novell.com/show_bug.cgi?id=754273


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###