CVE-2018-1115: Critical severity PostgreSQL postgresql vulnerability

Published Apr 30, 2018
·
Updated

postgresql before versions 10.4, 9.6.9 is vulnerable in the adminpack extension, the pgcatalog.pglogfilerotate() function doesn't follow the same ACLs than pgroratelogfile. If the adminpack is added to a database, an attacker able to connect to it could exploit this to force log rotation.

Other sources

PostgreSQL contrib module "adminpack" installs function pglogfilerotate(), a deprecated alias for built-in function pgrotatelogfile(). By default, only superusers can execute pgrotatelogfile(), but anyone can execute pglogfilerotate(). In certain configurations, an attacker could use this to crash the server or distribute log messages across more log files than the administrator wished.

Vulnerable Versions: 9.6, 10

Red Hat

Affected Software

5 affected componentsFixes available
redhat/postegresql<10.4
10.4
redhat/postegresql<9.6.9
9.6.9
PostgreSQL postgresql<9.6.9
PostgreSQL postgresql>=10.0<10.4
openSUSE Leap=15.1

Event History

Apr 30, 2018
Data Sourced
via Red Hat·05:39 PM
DescriptionSeverityAffected Software
May 10, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2018-1115?

CVE-2018-1115 is a vulnerability in PostgreSQL before versions 10.4 and 9.6.9 where the adminpack extension is vulnerable to log rotation exploit.

2

How severe is CVE-2018-1115?

CVE-2018-1115 has a severity score of 9.1, which is categorized as critical.

3

What is the affected software for CVE-2018-1115?

The affected software for CVE-2018-1115 includes PostgreSQL versions before 10.4 and 9.6.9 as well as openSUSE Leap 15.1.

4

What is the remedy for CVE-2018-1115?

The remedy for CVE-2018-1115 is to update affected PostgreSQL versions to 10.4 or 9.6.9, or to update openSUSE Leap 15.1.

5

How can an attacker exploit CVE-2018-1115?

An attacker who is able to connect to a database with the adminpack extension can exploit CVE-2018-1115 to force log rotation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203