Divulgation d'information dans AutoGPT (CVE-2025-31491)
Résumé
Vulnérabilité dans AutoGPT (CVE-2025-31491). Des informations confidentielles peuvent être exposées. Exploitable via Authorization header. Atténuation : mise à jour vers 0.6.1 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to 0.6.1, AutoGPT allows of leakage of cross-domain cookies and protected headers in requests redirect. AutoGPT uses a wrapper around the requests python library, located in autogpt_platform/backend/backend/util/request.py. In this wrapper, redirects are specifically NOT followed for the first request. If the wrapper is used with allow_redirects set to True (which is the default), any redirect is not followed by the initial request, but rather re-requested by the wrapper using the new location. However, there is a fundamental flaw in manually re-requesting the new location: it does not account for security-sensitive headers which should not be sent cross-origin, such as the Authorization and Proxy-Authorization header, and cookies. For example in autogpt_platform/backend/backend/blocks/github/_api.py, an Authorization header is set when retrieving data from the GitHub API. However, if GitHub suffers from an open redirect vulnerability (such as the made-up example of https://api.github.com/repos/{owner}/{repo}/issues/comments/{comment_id}/../../../../../redirect/?url=https://joshua.hu/), and the script can be coerced into visiting it with the Authorization header, the GitHub credentials in the Authorization header will be leaked. This allows leaking auth headers and private cookies. This vulnerability is fixed in 0.6.1.
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-2025-31491 a été découverte dans AutoGPT.
Des attaquants peuvent cibler un point d'entrée spécifique comme Authorization header à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées.
Action : mettez à jour AutoGPT vers 0.6.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « AutoGPT CVE-2025-31491 » sur le site de l'éditeur.
CVE-2025-31491 (AutoGPT) — CWE-200
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : Authorization header
Correctif : 0.6.1 — appliquer immédiatement
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 divulgation d'information (CWE-200) affecte AutoGPT. Les attaquants atteignent le code vulnérable via Authorization header sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de AutoGPT. Surface d'attaque : Authorization header.
Gravité : ?. Des informations confidentielles peuvent être exposées.
Mettre à jour vers 0.6.1.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
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 'AutoGPT' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
AutoGPTを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade AutoGPT to 0.6.1ステージング環境で 0.6.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Références
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov