Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-46v3-ggjg-qq3x: Rancher UI has multiple Cross-Site Scripting (XSS) issues

Impact

Multiple Cross-Site Scripting (XSS) vulnerabilities have been identified in the Rancher UI. Cross-Site scripting allows a malicious user to inject code that is executed within another user’s browser, allowing the attacker to steal sensitive information, manipulate web content, or perform other malicious activities on behalf of the victims. This could result in a user with write access to the affected areas being able to act on behalf of an administrator, once an administrator opens the affected web page.

The affected areas include the Projects/Namespaces and Auth Provider sections. The attacker needs to be authenticated and have write access to those features in order to exploit the vulnerabilities. Some of the permissions (roles) required are:

  • Project Owner.
  • Restricted Admin.
  • Configure Authentication.
  • Administrator.
  • Custom RBAC Role that provides write access on Projects or External Authentication Providers.

For users that suspect this vulnerability may have targeted their Rancher instance, we recommend rotating all API Keys and Kubeconfig tokens.

It’s also advised to review logs and possibly rotate credentials stored as secrets in Rancher and downstream cluster, if you believe that users’ credentials to access Rancher and its clusters might have been compromised.

Patches

Patched versions include releases 2.6.13, 2.7.4 and later versions.

Workarounds

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

Credits

We would like to recognize and thank @bybit-sec for the responsible disclosure of this security issue.

For more information

If you have any questions or comments about this advisory:

ghsa
#xss#vulnerability#web#git#auth
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2022-43760

Rancher UI has multiple Cross-Site Scripting (XSS) issues

High severity GitHub Reviewed Published Jun 1, 2023 in rancher/rancher • Updated Jun 6, 2023

Package

gomod rancher/rancher (Go)

Affected versions

>= 2.6.0, < 2.6.13

>= 2.7.0, < 2.7.4

Patched versions

2.6.13

2.7.4

Impact

Multiple Cross-Site Scripting (XSS) vulnerabilities have been identified in the Rancher UI.
Cross-Site scripting allows a malicious user to inject code that is executed within another user’s browser, allowing the attacker to steal sensitive information, manipulate web content, or perform other malicious activities on behalf of the victims. This could result in a user with write access to the affected areas being able to act on behalf of an administrator, once an administrator opens the affected web page.

The affected areas include the Projects/Namespaces and Auth Provider sections. The attacker needs to be authenticated and have write access to those features in order to exploit the vulnerabilities. Some of the permissions (roles) required are:

  • Project Owner.
  • Restricted Admin.
  • Configure Authentication.
  • Administrator.
  • Custom RBAC Role that provides write access on Projects or External Authentication Providers.

For users that suspect this vulnerability may have targeted their Rancher instance, we recommend rotating all API Keys and Kubeconfig tokens.

It’s also advised to review logs and possibly rotate credentials stored as secrets in Rancher and downstream cluster, if you believe that users’ credentials to access Rancher and its clusters might have been compromised.

Patches

Patched versions include releases 2.6.13, 2.7.4 and later versions.

Workarounds

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

Credits

We would like to recognize and thank @bybit-sec for the responsible disclosure of this security issue.

For more information

If you have any questions or comments about this advisory:

  • Reach out to the SUSE Rancher Security team for security related inquiries.
  • Open an issue in the Rancher repository.
  • Verify with our support matrix and product support lifecycle.

References

  • GHSA-46v3-ggjg-qq3x
  • https://nvd.nist.gov/vuln/detail/CVE-2022-43760
  • https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-43760
  • https://github.com/rancher/rancher/releases/tag/v2.6.13
  • https://github.com/rancher/rancher/releases/tag/v2.7.4

Published to the GitHub Advisory Database

Jun 6, 2023

Related news

CVE-2022-43760: Multiple Cross-Site Scripting (XSS) issues in Rancher UI

An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in SUSE Rancher allows users in some higher-privileged groups to to inject code that is executed within another user's browser, allowing the attacker to steal sensitive information, manipulate web content, or perform other malicious activities on behalf of the victims. This could result in a user with write access to the affected areas being able to act on behalf of an administrator, once an administrator opens the affected web page. This issue affects Rancher: from >= 2.6.0 before < 2.6.13, from >= 2.7.0 before < 2.7.4.