Cyber Resilience

CVE-2024-27923

HighPublic PoC

Published: 21 March 2024

Published
21 March 2024
Modified
02 January 2025
KEV Added
Patch
CVSS Score v3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0512 90.1th percentile
Risk Priority 21 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-27923 is a high-severity Improper Authentication (CWE-287) vulnerability in Getgrav Grav. Its CVSS base score is 8.8 (High).

Operationally, ranked in the top 9.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

Grav is a PHP-based content management system. CVE-2024-27923 affects versions prior to 1.7.43 and stems from missing permission checks combined with insufficient filename validation on the frontmatter feature. Any authenticated user permitted to create or edit pages can therefore supply crafted frontmatter that results in arbitrary file writes, enabling remote code execution. The issue is tracked under CWE-287 (improper authentication) and CWE-434 (unrestricted file upload).

An attacker needs only low-privileged page-author access and network reachability to the Grav instance; successful exploitation grants the ability to write PHP files into web-accessible directories and subsequently execute arbitrary code under the web-server user context. The CVSS 3.1 score of 8.8 reflects the combination of network attack vector, low complexity, and full confidentiality-integrity-availability impact without user interaction.

The official fix is delivered in Grav 1.7.43; the referenced GitHub Security Advisory GHSA-f6g2-h7qv-3m5v and associated commit e3b0aa0c502aad251c1b79d1ee973dcd93711f07 contain the patch that adds proper permission and filename validation. Administrators should upgrade immediately and verify that page-author roles are restricted to trusted users.

EPSS for the vulnerability rose from a low baseline to a peak of 0.0882 (current value 0.0512), indicating measurable post-disclosure exploitation interest that warrants renewed attention from defenders.

EU & UK References

Vulnerability details

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…

more

1.7.43 fixes this issue.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

getgrav
grav
≤ 1.7.43

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-287

Detects unauthorized successful logons resulting from improper authentication implementations.

addresses: CWE-287

Documented procedures ensure personnel are trained on authentication mechanisms, tangibly lowering the risk of improper authentication being exploited.

addresses: CWE-287

Security awareness training instructs users on secure authentication practices and avoiding credential compromise.

addresses: CWE-287

Training on authentication mechanisms and best practices decreases the occurrence of improper authentication.

addresses: CWE-287

Non-repudiation requires strong authentication mechanisms to irrefutably attribute performed actions to specific individuals or processes.

addresses: CWE-287

Session content review can reveal authentication bypasses or failures in session establishment.

addresses: CWE-287

Review of authentication-related audit records can detect improper authentication mechanisms or bypasses.

addresses: CWE-287

Assessments check authentication mechanisms for correct implementation and effectiveness, reducing successful authentication bypass attempts.

References