Bug 1712569 (CVE-2019-10176)
Summary: | CVE-2019-10176 atomic-openshift: CSRF tokens not refreshing while user is logged in and are exposed in the URL | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Pedro Sampaio <psampaio> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | ahardin, aos-bugs, bleanhar, bmontgom, bpeterse, ccoleman, dbaker, dedgar, dominik.mierzejewski, eparis, jburrell, jgoulding, jokerman, mchappel, nstielau, security-response-team, sfowler, sponnaga |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: |
A flaw was found in OpenShift Container Platform, versions 3.11 and later, in which the CSRF tokens used in the cluster console component were found to remain static during a user's session. An attacker with the ability to observe the value of this token would be able to re-use the token to perform a CSRF attack.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-07-09 14:14:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1702536, 1723705, 1723706 | ||
Bug Blocks: | 1712572 |
Description
Pedro Sampaio
2019-05-21 20:01:09 UTC
Statement: OpenShift Container Platform versions prior to 3.11 do not contain the affected "cluster console" component and are not vulnerable to this flaw. Acknowledgments: Name: Jeremy Choi (Red Hat) From OWASP docs: https://github.com/OWASP/CheatSheetSeries/blob/master/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.md firstly, the docs indicate that a CSRF per session is adequate in general - "Any state changing operation requires a secure random token (e.g., CSRF token) to prevent CSRF attacks. A CSRF token should be unique per user session" secondly, it's noted that a CSRF per request offers additional security: - "To further enhance the security of this proposed design, consider randomizing the CSRF token parameter name and/or value for each request." To restate the original concern, the issue is not that CSRF tokens do not change; it is that they are exposed in the URL. Rotating the tokens would be a mitigation for the concern given that websockets requests cannot have them embedded in a custom header. I have updated the affected component to the more specific "openshift-enterprise-console-container" for the three affected releases. This issue has been addressed in the following products: Red Hat OpenShift Container Platform 4.1 Via RHSA-2019:2792 https://access.redhat.com/errata/RHSA-2019:2792 This issue has been addressed in the following products: Red Hat OpenShift Container Platform 3.11 Via RHSA-2019:4053 https://access.redhat.com/errata/RHSA-2019:4053 |