Vulnérabilité dans getgrav/grav (CVE-2026-55885)
Résumé
Vulnérabilité dans getgrav/grav (CVE-2026-55885). Des informations confidentielles peuvent être exposées. Exploitable via root. Atténuation : mise à jour vers 1.7.53 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
An authenticated administrator with backup permissions can download a ZIP archive containing the full Grav installation root, including user/accounts/admin.yaml with the admin's bcrypt password hash and email, plus user/config/ with all site configuration. The download endpoint requires only the session-static admin-nonce in the URL, no additional form-level CSRF token, and reveals the server's full filesystem path in a Base64-encoded query parameter. Combined with the absence of login rate limiting on http://{Grav_URL}/admin, an attacker who obtains a single admin-nonce value (via Referrer leakage, browser history, or XSS) can exfiltrate password hashes for offline cracking and achieve account takeover.
Details
The vulnerability chain spans three components in the deployed Grav source tree at /var/www/html/grav/:
1. Backup archive scope — Backups::backup()
/var/www/html/grav/system/src/Grav/Common/Backup/Backups.php:201-272
The backup() static method creates a ZIP of the directory specified by the backup profile's root property. The default profile (ID 0, named default_site_backup) backs up the entire Grav root directory. On line 225, when the root is not a stream URI, it falls back to the full installation path:
// Backups.php:225
$backup_root = rtrim(GRAV_ROOT . $backup->root, DS) ?: DS;
Since the default profile ships with no root override, $backup->root is empty, making $backup_root equal to GRAV_ROOT —…
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-2026-55885 a été découverte dans getgrav/grav.
Des attaquants peuvent cibler un point d'entrée spécifique comme root à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 6.8/10.
Action : mettez à jour getgrav/grav vers 1.7.53 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « getgrav/grav CVE-2026-55885 » sur le site de l'éditeur.
CVE-2026-55885 (getgrav/grav) — CWE-312 / CVSS v3 6.8
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : root / default_site_backup / GRAV_ROOT / exclude_files
Correctif : 1.7.53 — 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-312) affecte getgrav/grav. Les attaquants atteignent le code vulnérable via root.
Consultez l'avis de l'éditeur pour les versions affectées de getgrav/grav. Surface d'attaque : root / default_site_backup / GRAV_ROOT / exclude_files.
Gravité : Moyenne (CVSS 6.8/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 1.7.53.
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 'getgrav/grav' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
getgrav/gravを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade getgrav/grav to 1.7.53ステージング環境で 1.7.53 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web github.com
- web github.com
- web security-advisories@github.com