9.8

CVE-2021-21425: getgrav grav-plugin-admin Improper Access Control

CVSS: 9.8v3.1CriticalModified
Published 07-04-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21425 is a critical (CVSS 9.8) Improper Access Control vulnerability in getgrav grav-plugin-admin. EPSS estimates a 80.60% chance of exploitation in the next 30 days, higher than 99.6% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
80.60%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits3reference, exploit-database, metasploit

Timeline

  1. 07-04-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

Grav Admin Plugin is an HTML user interface that provides a way to configure Grav and create and modify pages. In versions 1.10.7 and earlier, an unauthenticated user can execute some methods of administrator controller without needing any credentials. Particular method execution will result in arbitrary YAML file creation or content change of existing YAML files on the system. Successfully exploitation of that vulnerability results in configuration changes, such as general site information change, custom scheduler job definition, etc. Due to the nature of the vulnerability, an adversary can change some part of the webpage, or hijack an administrator account, or execute operating system command under the context of the web-server user. This vulnerability is fixed in version 1.10.8. Blocking access to the `/admin` path from untrusted sources can be applied as a workaround.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

80.60%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 80.60% on 20-09-2026

20-09-202620-10-2026
EPSS score
80.60%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

3 found
  • referenceUnverified

    Exploit Reference (pentest.blog)

    Maturity: unknown

  • exploit-databasephpVerified

    GravCMS 1.10.7 - Unauthenticated Arbitrary File Write (Metasploit)

    Maturity: poc

  • MetasploitMetasploitremoteUnverified

    GravCMS Remote Command Execution

    exploit/linux/http/gravcms_exec

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Getgrav1 product

1 vendor · 1 product

References

4 links