All reports
Low

postgresql: Too-permissive access control list on function pg_logfile_rotate()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2018-1115

Probability of exploitation in the next 30 days: 3.83%

FIRST EPSS · 2026-11-19

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.

It was found that pg_catalog.pg_logfile_rotate(), from the adminpack extension, did not follow the same ACLs than pg_rorate_logfile. If the adminpack is added to a database, an attacker able to connect to it could use this flaw to force log rotation.