SecurityContext

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

IdName
CWE-732Incorrect Permission Assignment for Critical Resource

Hackerone

  • Reports: 1
  • Rank: 5211

References

Same in every row:

  • Source: nvd
UrlTags
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-1115Issue Tracking, Patch, Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.htmlMailing List, Third Party Advisory
http://www.securityfocus.com/bid/104285Third Party Advisory, VDB Entry
https://access.redhat.com/errata/RHSA-2018:2565Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:2566Third Party Advisory
https://security.gentoo.org/glsa/201810-08Third Party Advisory
https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commitdiff%3Bh=7b34740

Products

ProductAffectedPlatform boundSourcesUrl
postgresql:postgresql>= 10.0, < 10.4; < 9.6.9nonvd/v1/products/postgresql/postgresql
opensuse:leap= 15.1nonvd/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