CVE-2018-1115: PostgreSQL - Privilege Escalation
- Cve: CVE-2018-1115
- Name: PostgreSQL - Privilege Escalation
- 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.
- Impact: Attackers can force log rotation, potentially leading to denial of service or information disclosure.
- Remediation: Update PostgreSQL to version 10.4, 9.6.9 or later.
- Vulnerability type: privilege_escalation
- Vulnerability impact: denial_of_service, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker needs to connect to the database
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.03826
- Epss percentile: 0.90345
- Assignee: [email protected]
- Published at: 2018-05-10T19:29:00Z
- Age in days: 3120
- Modified at: 2026-10-08T22:16:46Z
- Patch available: yes
- References total: 7
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-1115
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115 | Issue Tracking, Patch, Third Party Advisory |
| http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html | Mailing List, Third Party Advisory |
| http://www.securityfocus.com/bid/104285 | Third Party Advisory, VDB Entry |
| https://access.redhat.com/errata/RHSA-2018:2565 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2018:2566 | Third Party Advisory |
| https://security.gentoo.org/glsa/201810-08 | Third Party Advisory |
| https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=7b34740 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| postgresql:postgresql | >= 10.0, < 10.4; < 9.6.9 | no | nvd | /v1/products/postgresql/postgresql |
| opensuse:leap | = 15.1 | no | nvd | /v1/products/opensuse/leap |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Hackerone reports: 1
- Exposed hosts: 217768
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since