CVE-2024-27923

Remote Code Execution by uploading a phar file using frontmatter

State
Published
Severity
8.8 High
Published
Mar 6, 2024
Updated
Aug 2, 2024
Reserved
Feb 28, 2024

Read the record on cve.org

Description

Grav is a content management system (CMS). Prior to version 1.7.43, users who may write a page may use the `frontmatter` feature due to insufficient permission validation and inadequate file name validation. This may lead to remote code execution. Version 1.7.43 fixes this issue.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-287 Improper Authentication
  • CWE-434 Unrestricted Upload of File with Dangerous Type

Affected Products

ProductVersions
gravgetgrav
  • < 1.7.43Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.