Bug 1819011 (CVE-2020-10706) - CVE-2020-10706 openshift/openshift-apiserver: oauth tokens not encrypted when enabling encryption of data at rest
Summary: CVE-2020-10706 openshift/openshift-apiserver: oauth tokens not encrypted when...
Keywords:
Status: NEW
Alias: CVE-2020-10706
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: 1819489 1819490
Blocks: 1818018
TreeView+ depends on / blocked
 
Reported: 2020-03-30 23:38 UTC by Jason Shepherd
Modified: 2020-08-03 09:58 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in OpenShift Container Platform where OAuth tokens are not encrypted when the encryption of data at rest is enabled. This flaw allows an attacker with access to a backup to obtain OAuth tokens and then use them to log into the cluster as any user who logged into the cluster via the WebUI or via the command line in the last 24 hours. Once the backup is older than 24 hours the OAuth tokens are no longer valid.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Jason Shepherd 2020-03-30 23:38:35 UTC
Oauth tokens are not encrypted when encryption of data at rest is enabled. An attacker with access to a backup could obtain oauth tokens and use them to log into the cluster as any user who had logged into the cluster via the webui.

Comment 1 Jason Shepherd 2020-03-30 23:38:38 UTC
Acknowledgments:

Name: Stefan Schimanski (Red Hat)

Comment 4 Jason Shepherd 2020-04-01 00:49:46 UTC
Mitigation:

If you have made a vulnerable backup public you can revoke leaked OAuth tokens by deleting them with the OpenShift API.

Comment 6 Stefan Schimanski 2020-04-06 15:31:24 UTC
To be more precise, this affects OAuthAccessToken and OAuthAuthorizeToken in the auth.openshift.io API group.

Comment 8 Jason Shepherd 2020-04-08 06:55:41 UTC
Statement:

This issue only affects OpenShift Container Platform when the 'encryption at rest' feature enabled, see https://access.redhat.com/documentation/en-us/openshift_container_platform/4.3/html/authentication/encrypting-etcd. When backing up the encrypted data the keys should be stored separately to the data, making backups the most likely target of this attack.


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