Information disclosure in PostgreSQL
CVE-2017-15099
INSERT ... ON CONFLICT DO UPDATE commands in PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, and 9.5.x before 9.5.10 disclose table contents that the invoker lacks privilege to read. These exploits affect only tables where the attacker lacks full read access but has both INSERT and UPDATE privileges. Exploits bypass row level security policies and lack of SELECT privilege.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.063, 93.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PostgreSQL — versions 9.5, 9.5.1, 9.5.2
- Red Hat, Inc. PostgreSQL — versions 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- ToontjeM/CVE-2017-15099 (last pushed 2024-07-09): This demo will show how a non-patched JDBC driver can be used to attach PostgreSQL and gain RCE.
Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, 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.securityfocus.com/bid/101781 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2018:2511 (vendor-advisory)
- www.postgresql.org/support/security/ (Issue Tracking, Vendor Advisory)
- www.securitytracker.com/id/1039752 (Third Party Advisory, VDB Entry, vdb-entry)
- www.postgresql.org/about/news/1801/ (Issue Tracking, Vendor Advisory)
- RHSA-2018:2566 (vendor-advisory)
- DSA-4028 (vendor-advisory, Third Party Advisory, Issue Tracking)
This CVE has public exploit evidence. See the latest CVEs with public exploits.