CVE-2020-29556: Grav CMS Local File Injection
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.29438%
CWE
Published
5/24/2022
Updated
4/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
getgrav/grav | composer | >= 1.7.0-beta.1, <= 1.7.0-rc.17 | |
getgrav/grav | composer | < 1.6.30 | 1.6.30 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability exists in the backup functionality's file handling. The BackupController
's taskBackup
method likely processes user-supplied filenames without adequate sanitization, enabling path traversal through '../' sequences. This matches the CWE-22 pattern and the advisory's description of arbitrary file read via path manipulation. The admin plugin's backup feature is the primary affected component, and controller methods handling file operations would be the logical location for this vulnerability.