Vulnerability in Getgrav Grav-Plugin-Admin

CVE-2021-21425

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.

EPSS: 0.806 (99.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-21425?
CVE-2021-21425 is a critical-severity vulnerability in Getgrav Grav-Plugin-Admin, classified under Improper Access Control. CVSS score: 9.3/10. Published 2021-04-07.
How severe is CVE-2021-21425?
Critical severity. CVSS v3 base score is 9.3 out of 10.
Is CVE-2021-21425 known to be exploited?
30 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.