CVE-2024-27921

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*

History

02 Jan 2025, 22:57

Type Values Removed Values Added
First Time Getgrav
Getgrav grav
CPE cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
References () https://github.com/getgrav/grav/commit/5928411b86bab05afca2b33db4e7386a44858e99 - () https://github.com/getgrav/grav/commit/5928411b86bab05afca2b33db4e7386a44858e99 - Patch
References () https://github.com/getgrav/grav/security/advisories/GHSA-m7hx-hw6h-mqmc - () https://github.com/getgrav/grav/security/advisories/GHSA-m7hx-hw6h-mqmc - Exploit, Vendor Advisory

Information

Published : 2024-03-21 22:15

Updated : 2025-01-02 22:57


NVD link : CVE-2024-27921

Mitre link : CVE-2024-27921

CVE.ORG link : CVE-2024-27921


JSON object : View

Products Affected

getgrav

  • grav
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')