Vulnerability in PostgreSQL
CVE-2018-1115
postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pg_catalog.pg_logfile_rotate() function doesn't follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able to connect to it could exploit this to force log rotation.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.038, 90.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PostgreSQL
- Unspecified PostgreSQL — versions postegresql 10.4, postegresql 9.6.9
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (lekctut/sdb-hw-13-01, Live-Hack-CVE/CVE-2018-1115, pedr0alencar/vlab-metasploitable2). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- GLSA-201810-08 (vendor-advisory, Third Party Advisory)
- RHSA-2018:2566 (vendor-advisory, Third Party Advisory)
- RHSA-2018:2565 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/104285 (Third Party Advisory, VDB Entry, vdb-entry)
- openSUSE-SU-2020:1227 (vendor-advisory, Mailing List, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- git.postgresql.org/gitweb/