CVEvulnerability
CVE-2024-27921
8.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-03-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22
Description
Grav is an open-source, flat-file content management system. A file upload path traversal vulnerability has been identified in the application prior to version 1.7.45, enabling attackers to replace or create files with extensions like .json, .zip, .css, .gif, etc. This critical security flaw poses severe risks, that can allow attackers to inject arbitrary code on the server, undermine integrity of backup files by overwriting existing files or creating new ones, and exfiltrate sensitive data using CSS exfiltration techniques. Upgrading to patched version 1.7.45 can mitigate the issue.
Affected configurations
• getgrav grav (< 1.7.45)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/getgrav/grav/commit/5928411b86bab05afca2b33db4e7386a44858e99 Patch
- https://github.com/getgrav/grav/security/advisories/GHSA-m7hx-hw6h-mqmc Exploit, Vendor Advisory
- https://github.com/getgrav/grav/commit/5928411b86bab05afca2b33db4e7386a44858e99 Patch
- https://github.com/getgrav/grav/security/advisories/GHSA-m7hx-hw6h-mqmc Exploit, Vendor Advisory