| Titre | Trilby Media Grav CMS >= 1.7.44, <= 1.7.49.5 Deserialization |
|---|
| Description | ## Description
`FileCache::doGet()` deserializes cached values with `unserialize(..., ['allowed_classes' => true])`. If cache files are attacker-controlled, this allows object instantiation and enables object-injection primitives.
## Impact
Potential object injection and possible code execution through gadget chains, when cache storage tampering is possible.
## Mitigation
- Avoid object deserialization for cache data; use strict JSON/primitive formats.
- Enforce integrity controls and strict permissions on cache directories.
- If deserialization is required, use a strict class allowlist. |
|---|
| La source | ⚠️ https://github.com/devsamuelsantiago/grav-cms-filecache-object-injection |
|---|
| Utilisateur | s4nnty (UID 95917) |
|---|
| Soumission | 07/04/2026 17:09 (il y a 2 mois) |
|---|
| Modérer | 28/04/2026 15:13 (21 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 359965 [Grav CMS jusqu’à 1.7.49.5/2.0.0-beta.1 Cache Value FileCache.php FileCache::doGet élévation de privilèges] |
|---|
| Points | 20 |
|---|