CVE-2019-3876: CSRF

Published Mar 20, 2019
·
Updated

Withdrawn Advisory

This advisory has been withdrawn because the vulnerability does not affect a package in one of the GitHub Advisory Database's supported ecosystems. This link is maintained to preserve external references.

Original Description

A flaw was found in the /oauth/token/request custom endpoint of the OpenShift OAuth server allowing for XSS generation of CLI tokens due to missing X-Frame-Options and CSRF protections. If not otherwise prevented, a separate XSS vulnerability via JavaScript could further allow for the extraction of these tokens.

Other sources

A flaw was found in Openshift OAuth server. An XSS vulnerability in oauth/token/request endpoint that could allow to retrieve a token for CLI usage when using non default configs.

Red Hat

A flaw was found in the /oauth/token/request custom endpoint of the OpenShift OAuth server allowing for XSS generation of CLI tokens due to missing X-Frame-Options and CSRF protections. If not otherwise prevented, a separate XSS vulnerability via JavaScript could further allow for the extraction of these tokens.

Affected Software

4 affected componentsFixes available
go/github.com/openshift/oauth-apiserver>=3.0<3.11
3.11
redhat/atomic-openshift<0:3.11.129-1.git.0.bd4f2d5.el7
0:3.11.129-1.git.0.bd4f2d5.el7
redhat/jenkins<2-plugins-0:3.11.1560870549-1.el7
2-plugins-0:3.11.1560870549-1.el7
redhat OpenShift Container Platform>=3.0<=3.11

Remediation

Information

Since at least v3.4, the OpenShift documentation [1] has specified the format for corsAllowedOrigins to accurately match intended hostnames. Since at least v3.7, installs will default to use the correct regular expression formatted variables. Earlier versions may be configured with plain strings, a configuration which will persist across cluster upgrades, opening them to cross origin vulnerabilities such as this. At a minimum, you should ensure that the corsAllowedOrigin definition within master-config.yaml contains elements in the form ~~~ corsAllowedOrigins: - (?i)//my\.subdomain\.domain\.com(:|\z) ~~~ and not the form ~~~ corsAllowedOrigins: - domain.com ~~~ as the first will permit cross origin requests only if the host matches exactly, whereas the second will permit from any host that merely contains the string (such as ABCDdomain.com or even domain.comABCD.com). Footnotes: [1] https://docs.openshift.com/container-platform/3.4/architecture/infrastructure_components/web_console.html#corsAllowedOrigins

Event History

Mar 20, 2019
Data Sourced
via Red Hat·09:15 PM
DescriptionSeverityAffected Software
Mar 27, 2019
CVE Published
12:24 AM
Apr 1, 2019
CVE Published
via MITRE·02:15 PM
Data Sourced
via MITRE·02:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:29 PM
DescriptionSeverityWeaknessAffected Software
May 13, 2022
Advisory Published
01:12 AM

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2019-3876?

CVE-2019-3876 has been withdrawn and does not affect any supported packages.

2

How do I fix CVE-2019-3876?

Since CVE-2019-3876 has been withdrawn, there are no remediation steps required.

3

What software packages were affected by CVE-2019-3876?

CVE-2019-3876 was associated with affected packages from the OpenShift ecosystem, but has been withdrawn and is no longer applicable.

4

Is CVE-2019-3876 still a concern for users?

CVE-2019-3876 is not a concern as the advisory has been withdrawn.

5

What does it mean that CVE-2019-3876 was withdrawn?

The withdrawal of CVE-2019-3876 indicates that the vulnerability was determined to have no impact on the supported ecosystems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203