CVE-2021-21425: Unauthenticated Arbitrary YAML Write/Update leads to Code Execution
getgrav · grav-plugin-admin
Vendor fix available · Affected: getgrav grav-plugin-admin · Exploitation: likely to be exploited (10% or more)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 99% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- getgrav · grav-plugin-admin<= 1.10.7
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Likely to be exploited (10% or more). EPSS gives it a 10% or higher chance of exploitation in the next 30 days.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- getgrav
- Published
- April 2021
CoverageNo articles yet
No CyberSIXT article names CVE-2021-21425 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-284cwe.mitre.org
- pentest.blog/unexpected-journey-7-gravcms-unauthenticated-arbitrpentest.blog
- github.com/getgrav/grav-plugin-admin/security/advisories/GHSA-6fgithub.com
- packetstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Commapacketstormsecurity.com
- packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Commapacketstormsecurity.com