Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1573276 - (CVE-2018-1115) CVE-2018-1115 postgresql: Too-permissive access control list on function pg_logfile_rotate()
CVE-2018-1115 postgresql: Too-permissive access control list on function pg_l...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20180510,reported=2...
: Security
Depends On: 1576393 1576394 1576771 1576772 1576773 1576774 1614337 1614340
Blocks: 1573278
  Show dependency treegraph
 
Reported: 2018-04-30 13:39 EDT by Pedro Sampaio
Modified: 2018-08-27 04:35 EDT (History)
57 users (show)

See Also:
Fixed In Version: postegresql 10.4, postegresql 9.6.9
Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2565 None None None 2018-08-27 04:21 EDT
Red Hat Product Errata RHSA-2018:2566 None None None 2018-08-27 04:35 EDT

  None (edit)
Description Pedro Sampaio 2018-04-30 13:39:21 EDT
PostgreSQL contrib module "adminpack" installs function pg_logfile_rotate(), a
deprecated alias for built-in function pg_rotate_logfile(). By default, only
superusers can execute pg_rotate_logfile(), but anyone can execute
pg_logfile_rotate(). 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
Comment 1 Pedro Sampaio 2018-04-30 13:39:48 EDT
Acknowledgments:

Name: the PostgreSQL project
Upstream: Stephen Frost
Comment 3 Chess Hazlett 2018-05-04 16:16:16 EDT
Statement:

This issue does not appear to affect the versions of postgresql as shipped with Red Hat Satellite version 5, CloudForms version 4, Red Hat Single Sign-On 7, and Fuse Service Works 6.
Comment 6 Cedric Buissart 2018-05-10 07:32:49 EDT
Created mingw-postgresql tracking bugs for this issue:

Affects: epel-7 [bug 1576771]
Affects: fedora-all [bug 1576772]


Created postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1576773]
Comment 8 Cedric Buissart 2018-05-10 07:36:35 EDT
Upstream fix:
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7b34740
Comment 10 errata-xmlrpc 2018-08-27 04:21:20 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS

Via RHSA-2018:2565 https://access.redhat.com/errata/RHSA-2018:2565
Comment 11 errata-xmlrpc 2018-08-27 04:35:03 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS

Via RHSA-2018:2566 https://access.redhat.com/errata/RHSA-2018:2566

Note You need to log in before you can comment on or make changes to this bug.