Bug 1793301 (CVE-2020-1707) - CVE-2020-1707 openshift/postgresql-apb: /etc/passwd is given incorrect privileges
Summary: CVE-2020-1707 openshift/postgresql-apb: /etc/passwd is given incorrect privil...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-1707
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1793360 1793361 1793362 1793363
Blocks: 1776664
TreeView+ depends on / blocked
 
Reported: 2020-01-21 06:14 UTC by Mark Cooper
Modified: 2020-03-20 00:30 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An insecure modification vulnerability in the /etc/passwd file was found in the container openshift/postgresql-apb. An attacker with access to the container could use this flaw to modify /etc/passwd and escalate their privileges.
Clone Of:
Environment:
Last Closed: 2020-03-04 16:33:32 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:0617 None None None 2020-03-04 05:48:31 UTC
Red Hat Product Errata RHSA-2020:0681 None None None 2020-03-10 23:56:57 UTC
Red Hat Product Errata RHSA-2020:0694 None None None 2020-03-12 21:16:00 UTC
Red Hat Product Errata RHSA-2020:0801 None None None 2020-03-20 00:30:35 UTC

Description Mark Cooper 2020-01-21 06:14:57 UTC
It has been found that multiple containers modify the permissions of /etc/passwd to make them modifiable by users other than root. An attacker with access to the running container can exploit this to modify /etc/passwd to add a user and escalate their privileges. This CVE is specific to the openshift/postgresql-apb.

Original bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1791534

Comment 1 Mark Cooper 2020-01-21 06:15:00 UTC
Statement:

By default this vulnerability is not exploitable in un-privilieged containers running on OpenShift Container Platform. This is because the system call SETUID and SETGID is blocked by the default seccomp policy.

Comment 4 Mark Cooper 2020-01-22 03:22:32 UTC
Acknowledgments:

Name: Joseph LaMagna-Reiter (SPR Inc.)

Comment 6 errata-xmlrpc 2020-03-04 05:48:30 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.2

Via RHSA-2020:0617 https://access.redhat.com/errata/RHSA-2020:0617

Comment 7 Product Security DevOps Team 2020-03-04 16:33:32 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-1707

Comment 8 errata-xmlrpc 2020-03-10 23:56:56 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.3

Via RHSA-2020:0681 https://access.redhat.com/errata/RHSA-2020:0681

Comment 9 errata-xmlrpc 2020-03-12 21:15:58 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.1

Via RHSA-2020:0694 https://access.redhat.com/errata/RHSA-2020:0694

Comment 10 errata-xmlrpc 2020-03-20 00:30:33 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 3.11

Via RHSA-2020:0801 https://access.redhat.com/errata/RHSA-2020:0801


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