RCE in PostgreSQL
CVE-2016-5424
PostgreSQL before 9.1.23, 9.2.x before 9.2.18, 9.3.x before 9.3.14, 9.4.x before 9.4.9, and 9.5.x before 9.5.4 might allow remote authenticated users with the CREATEDB or CREATEROLE role to gain superuser privileges via a (1) " (double quote), (2) \ (backslash), (3) carriage return, or (4) newline character in a (a) database or (b) role name that is mishandled during an administrative operation.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.046, 91.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PostgreSQL — versions 9.2, 9.2.1, 9.2.2
- Debian Linux — versions 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
- RHSA-2016:1781 (vendor-advisory)
- www.postgresql.org/docs/current/static/release-9-4-9.html (Release Notes, Vendor Advisory)
- www.securitytracker.com/id/1036617 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2016:1821 (vendor-advisory)
- DSA-3646 (vendor-advisory, Third Party Advisory)
- GLSA-201701-33 (vendor-advisory)
- RHSA-2017:2425 (vendor-advisory)
- www.postgresql.org/docs/current/static/release-9-5-4.html (Release Notes, Vendor Advisory)
- www.postgresql.org/docs/current/static/release-9-3-14.html (Release Notes, Vendor Advisory)
- www.postgresql.org/about/news/1688/ (Patch, VDB Entry, Third Party Advisory)