GitHub Advisory Database
GHSA-r3rg-jrjq-w4mr
Grav CMS Local File Injection
Details
The Backup functionality in Grav CMS through 1.7.0-rc.17 allows an authenticated attacker to read arbitrary local files on the underlying server by exploiting a path-traversal technique. (This vulnerability can also be exploited by an unauthenticated attacker due to a lack of CSRF protection.)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | getgrav/grav | From 1.7.0-beta.1 up to and including 1.7.0-rc.17 |
| Packagist | getgrav/grav | All versions before 1.6.30 (fixed in 1.6.30) |