Bug 1793299 (CVE-2020-1708) - CVE-2020-1708 openshift/mysql-apb: /etc/passwd is given incorrect privileges
Summary: CVE-2020-1708 openshift/mysql-apb: /etc/passwd is given incorrect privileges
Keywords:
Status: NEW
Alias: CVE-2020-1708
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: 1793356 1793357 1793358 1793359
Blocks: 1776664
TreeView+ depends on / blocked
 
Reported: 2020-01-21 06:10 UTC by Mark Cooper
Modified: 2020-01-30 22:44 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/mysql-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:


Attachments (Terms of Use)

Description Mark Cooper 2020-01-21 06:10:56 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/mysql-apb.

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

Comment 1 Mark Cooper 2020-01-21 06:10:59 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:11 UTC
Acknowledgments:

Name: Joseph LaMagna-Reiter (SPR Inc.)


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