SQL Injection in PostgreSQL
CVE-2015-0244
PostgreSQL before 9.0.19, 9.1.x before 9.1.15, 9.2.x before 9.2.10, 9.3.x before 9.3.6, and 9.4.x before 9.4.1 does not properly handle errors while reading a protocol message, which allows remote attackers to conduct SQL injection attacks via crafted binary data in a parameter and causing an error, which triggers the loss of synchronization and part of the protocol message to be treated as a new message, as demonstrated by causing a timeout or query cancellation.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.044, 91.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PostgreSQL
- PostgreSQL Global Development Group — versions 9.3.x before 9.3.6, before 9.0.19, 9.2.x before 9.2.10
- Debian Linux — versions 7.0, 8.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (lekctut/sdb-hw-13-01, pedr0alencar/vlab-metasploitable2). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.postgresql.org/docs/9.4/static/release-9-4-1.html (Release Notes, Vendor Advisory)
- www.postgresql.org/docs/current/static/release-9-0-19.html (Release Notes, Vendor Advisory)
- www.postgresql.org/docs/current/static/release-9-1-15.html (Release Notes, Vendor Advisory)
- www.postgresql.org/docs/current/static/release-9-2-10.html (Release Notes, Vendor Advisory)
- www.postgresql.org/docs/current/static/release-9-3-6.html (Release Notes, Vendor Advisory)
- www.postgresql.org/about/news/1569/ (Vendor Advisory)
- www.debian.org/security/2015/dsa-3155 (Third Party Advisory)