Description (CNA)
Grav from 2.0.15 before 2.2.2 contains an allowlist bypass vulnerability that allows page editors to call arbitrary public static methods by renaming Flex form fields with replace-name@. Attackers with page-edit permission can smuggle data-*@ directives past the callable check to invoke Folder::delete, Folder::move, or Utils::download, deleting directories, overwriting files, or reading files.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| getgrav / grav | affected 2.0.15 before 2.2.2; unaffected 2.2.2 |
CWE
CWE-749
References
- https://github.com/getgrav/grav/security/advisories/GHSA-9rq7-4cch-f22j
- https://www.vulncheck.com/advisories/grav-2.0.15-before-2.2.2-arbitrary-static-method-call-via-flex-form-replace-name
ADP enrichment
No English description supplied.
No references supplied.