CVE-2018-1115
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2018-05-10
- Last modified
- 2026-10-08
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
4.0 %
higher than 90 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Opensuse | Leap | 15.1 | Affected |
| Postgresql | Postgresql | < 9.6.9 | Affected |
| Postgresql | Postgresql | ≥ 10.0, < 10.4 | Affected |
Weakness type
-
CWE-732: Incorrect Permission Assignment for Critical Resource
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1083: File and Directory Discovery
- T1134.001: Token Impersonation/Theft
- T1505.005: Terminal Services DLL
- T1548: Abuse Elevation Control Mechanism
- T1550.004: Web Session Cookie
- T1553.002: Code Signing
- T1554: Compromise Host Software Binary
- T1574.005: Executable Installer File Permissions Weakness
- T1574.010: Services File Permissions Weakness
References
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
- http://www.securityfocus.com/bid/104285
- https://access.redhat.com/errata/RHSA-2018:2565
- https://access.redhat.com/errata/RHSA-2018:2566
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115
- https://security.gentoo.org/glsa/201810-08
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
- http://www.securityfocus.com/bid/104285
- https://access.redhat.com/errata/RHSA-2018:2565
- https://access.redhat.com/errata/RHSA-2018:2566
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115
- https://security.gentoo.org/glsa/201810-08
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba%3Dcommitdiff%3Bh%3D7b34740
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba%3Dcommitdiff%3Bh%3D7b34740
Related at Berigo
Articles
-
Critical unauthenticated vulnerability in Splunk Enterprise
Same product
2026-06-10
CVE-2026-20253, scored 9.8, lets an unauthenticated attacker create or truncate files via a PostgreSQL sidecar in Splunk.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.