Security Resilience

CVE-2024-27923

Auth Bypass in Getgrav Grav ≤ 1.7.43

Public PoCAuth Bypass
Published
21 March 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.014 72th percentile
Risk Priority 72 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

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, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 28% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to IA-2 (Identification and Authentication (Organizational Users)) and IA-3 (Device Identification and Authentication) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

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.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
T1584.004 Server Resource Development
Adversaries may compromise third-party servers that can be used during targeting.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1056.003 Web Portal Capture Collection
Adversaries may install code on externally facing portals, such as a VPN login page, to capture and transmit credentials of users who attempt to log into the service.
T1491.002 External Defacement Impact
An adversary may deface systems external to an organization in an attempt to deliver messaging, intimidate, or otherwise mislead an organization or users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-50286Same product: Getgrav Grav
CVE-2026-42844Same product: Getgrav Grav
CVE-2023-28962Shared CWE-287, CWE-434
CVE-2023-1826Shared CWE-434
CVE-2024-22567Shared CWE-434
CVE-2026-28502Shared CWE-434
CVE-2026-19513Shared CWE-434
CVE-2024-31377Shared CWE-434
CVE-2023-48777Shared CWE-434
CVE-2025-27282Shared CWE-434

Affected Assets

getgrav
grav
≤ 1.7.43

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V5.1.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates unique identification and authentication of organizational users before access, directly stopping improper authentication.

Requires unique identification and authentication of devices before establishing connections, preventing unauthenticated device claims.

Mandates unique identification and authentication of non-organizational users, directly addressing the weakness for external actors.

Manages authenticators with verification and secure distribution, reducing opportunities for improper authentication.

Malicious-code protection at entry points blocks dangerous file types from being accepted and executed.

Enforces access only after approved authorizations, which presupposes correct authentication has occurred.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-05 mostly match
blocks

Restricting execution of unauthorized software directly blocks dangerous uploaded files from running.

PR.PS-01 partial match
blocks

Hardened configuration baselines can enforce allowed file types and processing rules.

PR.PS-06 partial match
blocks

Secure development practices include input validation and file-type restrictions that prevent this weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Configuration and acceptance testing verify that file-upload handling enforces allowed types and does not permit dangerous content to be stored or executed.

blocks

Mandating segregated approval and oversight for non-human identities reduces the chance that weak or orphaned credentials can be exploited for unauthorized authentication.

prevents

A.8.28 mandates secure coding practices (input validation principles, threat modelling, attack-surface analysis, prohibiting insecure design techniques, peer review) that reduce the likelihood of an upload-validation defect being written, but the clause governs a human practice rather than a mechanism, so what it actually catches depends on developer rigour and a nameable remainder of instances slips through.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software weaknesses in delivered code the way those practices do; CWE-434 is an implementation defect in upload handling that secure coding/testing practices address, but the clause's mechanism is contractual and fallible, leaving a nameable remainder.

blocks

A.8.5 mandates secure authentication techniques, multi-factor authentication, and log-on procedures that directly prevent unauthorized access, fully blocking exploitation of improper authentication weaknesses.

blocks

A.8.7 can block exploitation of CWE-434 when uploaded dangerous files contain malware that its scanning detects before use, but because it does not restrict file types itself and malware detection misses unknown or custom scripts, only a minority of instances are stopped.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-287, a class-level weakness. Rules are authored against its narrower children: CWE-295, CWE-306.

References