| タイトル | Trilby Media Grav CMS >= 1.7.44, <= 1.7.49.5 Deserialization |
|---|
| 説明 | ## 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. |
|---|
| ソース | ⚠️ https://github.com/devsamuelsantiago/grav-cms-filecache-object-injection |
|---|
| ユーザー | s4nnty (UID 95917) |
|---|
| 送信 | 2026年04月07日 17:09 (6 月 ago) |
|---|
| モデレーション | 2026年04月28日 15:13 (21 days later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 359965 [Grav CMS 迄 1.7.49.5/2.0.0-beta.1 Cache Value FileCache.php FileCache::doGet 特権昇格] |
|---|
| ポイント | 20 |
|---|