XSS (Cross-Site Scripting) dans github.com/rancher/rancher (CVE-2022-43760)
Résumé
XSS dans github.com/rancher/rancher (CVE-2022-43760). L'exploitation peut entraîner la prise de contrôle totale du système. Atténuation : mise à jour vers 2.7.4 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
Cred…
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2022-43760 a été découverte dans github.com/rancher/rancher.
L'exploitation peut entraîner la prise de contrôle totale du système.
Action : mettez à jour github.com/rancher/rancher vers 2.7.4 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/rancher/rancher CVE-2022-43760 » sur le site de l'éditeur.
CVE-2022-43760 (github.com/rancher/rancher) — CWE-79
Vecteur d'attaque : distant (réseau)
Correctif : 2.7.4 — appliquer immédiatement
Contournement : There is no direct mitigation besides updating Rancher to a patched version.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une XSS (CWE-79) affecte github.com/rancher/rancher.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/rancher/rancher.
Gravité : ?. L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 2.7.4.
Contournement : There is no direct mitigation besides updating Rancher to a patched version.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'github.com/rancher/rancher' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/rancher/rancherを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
There is no direct mitigation besides updating Rancher to a patched version.パッチが適用されるまでの応急処置として、There is no direct mitigation besides updating Rancher to a patched version. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade github.com/rancher/rancher to 2.7.4ステージング環境で 2.7.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web bugzilla.suse.com
- web github.com
- web github.com