Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2019-3876

Опубликовано: 27 мар. 2019
Источник: redhat
CVSS3: 5
EPSS Низкий

Описание

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.

Отчет

This issue affects the OAuth server shipped in OpenShift Container Platform version v3.0 through v3.11. Red Hat Product Security has rated this issue as having a security impact of Moderate. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Меры по смягчению последствий

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

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat OpenShift Container Platform 3.10atomic-openshiftFix deferred
Red Hat OpenShift Container Platform 3.4atomic-openshiftOut of support scope
Red Hat OpenShift Container Platform 3.5atomic-openshiftOut of support scope
Red Hat OpenShift Container Platform 3.6atomic-openshiftOut of support scope
Red Hat OpenShift Container Platform 3.7atomic-openshiftOut of support scope
Red Hat OpenShift Container Platform 3.9atomic-openshiftFix deferred
Red Hat OpenShift Container Platform 4openshiftNot affected
Red Hat OpenShift Container Platform 3.11atomic-openshiftFixedRHSA-2019:185124.07.2019
Red Hat OpenShift Container Platform 3.11jenkins-2-pluginsFixedRHSA-2019:185124.07.2019

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-352
https://bugzilla.redhat.com/show_bug.cgi?id=1691107web-console: XSS in OAuth server /oauth/token/request endpoint

EPSS

Процентиль: 42%
0.00199
Низкий

5 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.3
nvd
почти 7 лет назад

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.

CVSS3: 6.3
github
больше 3 лет назад

Withdrawn Advisory: OpenShift OAuth Server XSS Vulnerability

EPSS

Процентиль: 42%
0.00199
Низкий

5 Medium

CVSS3