Bug 1566212 (CVE-2017-15138)
| Summary: | CVE-2017-15138 atomic-openshift: cluster-reader can escalate to creating builds via webhooks in any project | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Kurt Seifried <kseifried> |
| 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, bleanhar, ccoleman, cscribne, cshereme, dedgar, dmoppert, dominik.mierzejewski, jgoulding, jokerman, kseifried, mchappel, security-response-team |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | atomic-openshift-3.9.14 | Doc Type: | If docs needed, set a value |
| Doc Text: |
An improper authorization flaw in the atomic-openshift component of Openshift Container Platform 3.7 and earlier allows a user with cluster-reader project viewer permissions to trigger an application build. An attacker could use this flaw to trigger a build of an application when that should be restricted.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-11 19:22:01 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: | 1504819, 1566213, 1619863, 1619864 | ||
| Bug Blocks: | 1513392 | ||
|
Description
Kurt Seifried
2018-04-11 19:18:12 UTC
Acknowledgments: Name: Jessica Forrester (Red Hat) This was fixed in the release of OpenShift 3.9 via RHBA-2018:0489 Are 3.2 and 3.7 affected as well? This issue also affects all OCP 3.x versions prior to 3.9. If you don't make use of the cluster-reader, or project viewer roles this issue Mitigation: Don't use webhook tokens to trigger builds. Alternatively don't rely on project viewer, or cluster-reader permissions from preventing those users from running builds. Statement: The OpenShift Enterprise cluster-read can access webhook tokens, [1], which would allow an attacker with cluster-reader permissions, [2], or project viewer, [3], to view confidential webhook tokens. [1] https://docs.openshift.com/container-platform/3.7/dev_guide/builds/triggering_builds.html#webhook-triggers [2] https://docs.openshift.com/container-platform/3.7/admin_guide/manage_rbac.html [3] https://docs.openshift.com/container-platform/3.7/admin_solutions/user_role_mgmt.html#adding-a-role-to-a-user |