Catégories
CVE-2024-28175

XSS (Cross-Site Scripting) dans github.com/argoproj/argo-cd (CVE-2024-28175)

Résumé

XSS dans github.com/argoproj/argo-cd (CVE-2024-28175). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via link.argocd.argoproj.io. Atténuation : mise à jour vers 2.8.12 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Due to the improper URL protocols filtering of links specified in the link.argocd.argoproj.io annotations in the application summary component, an attacker can achieve cross-site scripting with elevated permissions. All unpatched versions of Argo CD starting with v1.0.0 are vulnerable to a cross-site scripting (XSS) bug allowing a malicious user to inject a javascript: link in the UI. When clicked by a victim user, the script will execute with the victim's permissions (up to and including admin). This vulnerability allows an attacker to perform arbitrary actions on behalf of the victim via the API, such as creating, modifying, and deleting Kubernetes resources. A patch for this vulnerability has been released in Argo CD versions v2.10.3 v2.9.8, and v2.8.12. There are no completely-safe workarounds besides upgrading. The safest alternative, if upgrading is not possible, would be to create a Kubernetes admission controller to reject any resources with an annotation starting with link.argocd.argoproj.io or reject the resource if the value use an improper URL protocol. This validation will need to be applied in all clusters managed by ArgoCD.

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-2024-28175 a été découverte dans github.com/argoproj/argo-cd.
Des attaquants peuvent cibler un point d'entrée spécifique comme link.argocd.argoproj.io à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système.
Action : mettez à jour github.com/argoproj/argo-cd vers 2.8.12 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/argoproj/argo-cd CVE-2024-28175 » sur le site de l'éditeur.

CVE-2024-28175 (github.com/argoproj/argo-cd) — CWE-79
Vecteur d'attaque : distant (réseau)
Surface d'attaque : link.argocd.argoproj.io
Correctif : 2.8.12 — appliquer immédiatement
Contournement : There are no completely-safe workarounds besides upgrading.
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.

❓ Quel est le problème

Une XSS (CWE-79) affecte github.com/argoproj/argo-cd. Les attaquants atteignent le code vulnérable via link.argocd.argoproj.io.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de github.com/argoproj/argo-cd. Surface d'attaque : link.argocd.argoproj.io.

🔥 Gravité

Gravité : ?. L'exploitation peut entraîner la prise de contrôle totale du système.

🔧 Comment corriger

Mettre à jour vers 2.8.12.

🛡️ Contournement

Contournement : There are no completely-safe workarounds besides upgrading.

🔍 Détection

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

  1. 1
    Identify exposure identify
    grep -r 'github.com/argoproj/argo-cd' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/argoproj/argo-cd を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaround mitigate
    There are no completely-safe workarounds besides **upgrading**.

    パッチが適用されるまでの応急処置として、There are no completely-safe workarounds besides upgrading. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade github.com/argoproj/argo-cd to 2.8.12

    ステージング環境で 2.8.12 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

Go github.com/argoproj/argo-cd
[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"last_affected":"1.8.7"}]}]
Go github.com/argoproj/argo-cd/v2
[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.8.12"}]}]
Bitnami argo-cd
[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"2.10.3"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus