Injection de commande dans github.com/filebrowser/filebrowser/v2 (CVE-2025-52904)
Résumé
Injection de commande dans github.com/filebrowser/filebrowser/v2 (CVE-2025-52904). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via grep. Atténuation : mise à jour vers 2.33.8 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. In versions of the web application on the 2.x branch, all users have a scope assigned, and they only have access to the files within that scope. The Command Execution feature of Filebrowser allows the execution of shell commands which are not restricted to the scope, potentially giving an attacker read and write access to all files managed by the server. Until this issue is fixed, the maintainers recommend to completely disable Execute commands for all accounts. Since the command execution is an inherently dangerous feature that is not used by all deployments, it should be possible to completely disable it in the application's configuration. This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations. To exploit this vulnerability, the instance administrator must turn on a feature and ignore all the warnings about known vulnerabilities.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
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-52904 a été découverte dans github.com/filebrowser/filebrowser/v2.
Des attaquants peuvent cibler un point d'entrée spécifique comme grep à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : 8.0/10.
Action : mettez à jour github.com/filebrowser/filebrowser/v2 vers 2.33.8 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/filebrowser/filebrowser/v2 CVE-2025-52904 » sur le site de l'éditeur.
CVE-2025-52904 (github.com/filebrowser/filebrowser/v2) — CWE-77 / CVSS v3 8.0
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : grep
Correctif : 2.33.8 — 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 vulnérabilité (CWE-77) affecte github.com/filebrowser/filebrowser/v2. Les attaquants atteignent le code vulnérable via grep.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/filebrowser/filebrowser/v2. Surface d'attaque : grep.
Gravité : Élevée (CVSS 8.0/10). L'exploitation peut entraîner la prise de contrôle totale du système.
Mettre à jour vers 2.33.8.
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 'github.com/filebrowser/filebrowser/v2' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/filebrowser/filebrowser/v2を grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade github.com/filebrowser/filebrowser/v2 to 2.33.8ステージング環境で 2.33.8 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- advisory github.com
- package github.com
- package github.com
- report github.com
- web sloonz.github.io
- web pkg.go.dev
- web github.com