cve.bz

CVE-2018-1115

9.1 criticalEPSS 3.8%Fix available

Critical (9.1). EPSS 3.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1115 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1115?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1115?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1115 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresqlbefore 9.6.9
postgresql:postgresqlfrom 10.0 before 10.4
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTSpostgresql-1010.4-0ubuntu0.18.04UBUNTU-CVE-2018-1115
Red Hatrhel_software_collections:3::el6rh-postgresql96-postgresql, rh-postgresql96-postgresql-docs, rh-postgresql96-postgresql-libs and 12 more0:9.6.10-1.el6RHSA-2018:2566
Red Hatrhel_software_collections:3::el7rh-postgresql10-postgresql, rh-postgresql10-postgresql-docs, rh-postgresql10-postgresql-libs and 12 more0:10.5-1.el7RHSA-2018:2565
Red Hatrhel_software_collections:3::el7rh-postgresql96-postgresql, rh-postgresql96-postgresql-docs, rh-postgresql96-postgresql-libs and 12 more0:9.6.10-1.el7RHSA-2018:2566
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3postgresql96, postgresql96-libs9.6.9-3.19.1SUSE-SU-2018:1695-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Server Applications 15postgresql1010.5-4.5.1SUSE-SU-2018:2564-1
SUSELinux Enterprise Software Development Kit 12 SP3postgresql96-libs9.6.9-3.19.1SUSE-SU-2018:1695-1
openSUSELeap 15.1postgresql12.0.1-lp151.6.9.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql1010.13-lp151.2.14.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql1212.3-lp151.2.1openSUSE-SU-2020:1227-1
openSUSELeap 15.1postgresql969.6.19-lp151.3.3.1openSUSE-SU-2020:1227-1
openSUSETumbleweedpostgresql1010.18-1.3openSUSE-SU-2024:11184-1
Alpinev3.4postgresql9.5.13-r0ALPINE-CVE-2018-1115
Alpinev3.5, v3.6postgresql9.6.9-r0ALPINE-CVE-2018-1115
Alpinev3.7, v3.8, v3.9 and 5 morepostgresql10.4-r0ALPINE-CVE-2018-1115
Alpinev3.15, v3.16postgresql1410.4-r0ALPINE-CVE-2018-1115
Alpinev3.17, v3.18, v3.19 and 1 morepostgresql14, postgresql1510.4-r0ALPINE-CVE-2018-1115

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue does not appear to affect the versions of postgresql as shipped with Red Hat Satellite version 5, CloudForms version 4, Red Hat Single Sign-On 7, and Fuse Service Works 6.

ProductPackageStateAdvisory
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-postgresql96-postgresql-0:9.6.10-1.el6Fixed 2018-08-27RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-postgresql96-postgresql-0:9.6.10-1.el6Fixed 2018-08-27RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-postgresql10-postgresql-0:10.5-1.el7Fixed 2018-08-27RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-postgresql96-postgresql-0:9.6.10-1.el7Fixed 2018-08-27RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-postgresql10-postgresql-0:10.5-1.el7Fixed 2018-08-27RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-postgresql96-postgresql-0:9.6.10-1.el7Fixed 2018-08-27RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-postgresql10-postgresql-0:10.5-1.el7Fixed 2018-08-27RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-postgresql96-postgresql-0:9.6.10-1.el7Fixed 2018-08-27RHSA-2018:2566
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-postgresql10-postgresql-0:10.5-1.el7Fixed 2018-08-27RHSA-2018:2565
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-postgresql96-postgresql-0:9.6.10-1.el7Fixed 2018-08-27RHSA-2018:2566
CloudForms Management Engine 5postgresql94Not affected
CloudForms Management Engine 5rh-postgresql95-postgresqlNot affected
Red Hat Enterprise Linux 5postgresqlNot affected
Red Hat Enterprise Linux 5postgresql84Not affected
Red Hat Enterprise Linux 6postgresqlNot affected
Red Hat Enterprise Linux 7postgresqlNot affected
Red Hat Enterprise Linux 8postgresqlNot affected
Red Hat JBoss Fuse Service Works 6postgresqlNot affected
Red Hat JBoss Operations Network 3postgresqlOut of support scope
Red Hat Mobile Application Platform 4postgresqlNot affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1115.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON