CVE-2021-21425
In versions 1.10.7 and earlier, an unauthenticated user can execute some methods of administrator controller without needing any credentials.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 80.6%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 80.60% probability · 100th percentile
- Public exploits
- 1 in Exploit-DB · verified · first 21 April 2021
- CISA KEV
- Not listed
- Weakness
- CWE-284
- Affected
- getgrav/grav-plugin-admin
- Source
- security-advisories@github.com
EPSS 80.6% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
References
- http://packetstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Command-Execution.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.htmlThird Party Advisory, VDB Entry
- https://github.com/getgrav/grav-plugin-admin/security/advisories/GHSA-6f53-6qgv-39pjThird Party Advisory
- https://pentest.blog/unexpected-journey-7-gravcms-unauthenticated-arbitrary-yaml-write-update-leads-to-code-execution/Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Command-Execution.htmlThird Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.htmlThird Party Advisory, VDB Entry
- https://github.com/getgrav/grav-plugin-admin/security/advisories/GHSA-6f53-6qgv-39pjThird Party Advisory
- https://pentest.blog/unexpected-journey-7-gravcms-unauthenticated-arbitrary-yaml-write-update-leads-to-code-execution/Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.