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

exploitDog

github логотип

GHSA-833m-37f7-jq55

Опубликовано: 08 фев. 2024
Источник: github
Github: Прошло ревью
CVSS3: 8.3

Описание

Rancher API Server Cross-site Scripting Vulnerability

Impact

A vulnerability has been identified in which unauthenticated cross-site scripting (XSS) in the API Server's public API endpoint can be exploited. This can lead to an attacker exploiting the vulnerability to trigger JavaScript code and execute commands remotely.

The attack vector was identified as a Reflected XSS.

API Server propagates malicious payloads from user input to the UI, which renders the output. For example, a malicious URL gets rendered into a script that is executed on a page.

The changes addressed by this fix are:

  • Encode input that comes from the request URL before adding it to the response.
  • The request input is escaped by changing the URL construction that is used for links to use url.URL.
  • The request input is escaped by escaping the JavaScript and CSS variables with attribute encoding as defined by OWASP.

Patches

Patched versions include the following commits:

BranchCommit
master4fd7d82
release/v2.869b3c2b
release/v2.8.s3a3b9e37
release/v2.74e102cf
release/v2.7.s397a10a3
release/v2.64df268e

Workarounds

There is no direct mitigation besides updating API Server to a patched version.

References

If you have any questions or comments about this advisory:

Пакеты

Наименование

github.com/rancher/apiserver

go
Затронутые версииВерсия исправления

< 0.0.0-20240207153957-4fd7d821d952

0.0.0-20240207153957-4fd7d821d952

EPSS

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

8.3 High

CVSS3

Дефекты

CWE-80

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

CVSS3: 8.3
nvd
больше 1 года назад

A vulnerability has been identified in which unauthenticated cross-site scripting (XSS) in the API Server's public API endpoint can be exploited, allowing an attacker to execute arbitrary JavaScript code in the victim browser

EPSS

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

8.3 High

CVSS3

Дефекты

CWE-80