Description
Grav CMS before 2.0.13 contains a remote code execution vulnerability in the Flex Objects plugin settings validation that allows authenticated users to execute arbitrary code by uploading a ZIP file containing PHP code. Attackers can bypass routine name validation by using array notation instead of string notation, call the unZip routine with a malicious archive, and write PHP files to the web root for execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getgrav | grav | < 2.0.13 | 2.0.13 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | getgrav/grav | < 2.0.13 | 2.0.13 | GHSA-r94f-hx44-8jqf |
References
- GitHub Security Advisory (GHSA-r94f-hx44-8jqf) vendor-advisory
- VulnCheck Advisory: Grav CMS before 2.0.13 Remote Code Execution via ZIP Upload third-party-advisory