Auth bypass in PostgreSQL
CVE-2018-10925
It was discovered that PostgreSQL versions before 10.5, 9.6.10, 9.5.14, 9.4.19, and 9.3.24 failed to properly check authorization on certain statements involved with "INSERT ... ON CONFLICT DO UPDATE". An attacker with "CREATE TABLE" privileges could exploit this to read arbitrary bytes server memory. If the attacker also had certain "INSERT" and limited "UPDATE" privileges to a particular table, they could exploit this to update other columns in the same table.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.022 (82.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 82.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.022 · change: 0.000
Affected products
- PostgreSQL
- PostgreSQL Global Development Group — versions 9.3.24, 9.5.14, 9.6.10
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security.gentoo.org/glsa/201810-08 (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2018/dsa-4269 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/105052 (VDB Entry, Third Party Advisory, vdb-entry)
- access.redhat.com/errata/RHSA-2018:2511 (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3744-1/ (vendor-advisory, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- access.redhat.com/errata/RHSA-2018:2566 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:2565 (vendor-advisory, Third Party Advisory)
- access.redhat.com/errata/RHSA-2018:3816 (vendor-advisory, Third Party Advisory)
- www.postgresql.org/about/news/1878/ (Vendor Advisory)
Frequently asked questions
- What is CVE-2018-10925?
- CVE-2018-10925 is a high-severity vulnerability in PostgreSQL, classified under Incorrect Authorization. CVSS score: 8.1/10. Published 2018-08-09.
- How severe is CVE-2018-10925?
- High severity. CVSS v3 base score is 8.1 out of 10.
- Is CVE-2018-10925 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.