CVE-2021-21425

Unauthenticated Arbitrary YAML Write/Update leads to Code Execution

Published Apr 7, 2021 CVSS 3.1 · 9.3 Critical EPSS 80.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 6:09 PM
Reserved
Dec 22, 2020, 12:00 AM
Status
Modified
Published
Apr 7, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:35 AM