| 제목 | 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. PM 05:09 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 04. 28. PM 03:13 (21 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 359965 [Grav CMS 까지 1.7.49.5/2.0.0-beta.1 Cache Value FileCache.php FileCache::doGet 권한 상승] |
|---|
| 포인트들 | 20 |
|---|