CVE-2021-21425CWE-284

Unauthenticated Arbitrary YAML Write/Update leads to Code Execution

Critical · published April 7, 2021

Patch now

High probability of exploitation

CVSS calls it critical at 9.3. It sits in the 99.6th percentile for exploit probability.

CVSS v3.1
9.3
EPSS
81%
Percentile
99.6
In the wild
Unconfirmed
What it is

🚨 An unauthenticated user can waltz right into the Grav Admin Plugin and execute admin commands without credentials—like a party crasher at a VIP event! 🔥 Think of it like leaving your front door wide open at a restaurant. Anyone passing by can just walk in, change the menu, or even mess with your kitchen orders without anyone knowing—yikes! An attacker could change site configurations, hijack admin accounts, or even execute commands in the context of the web server user. This could lead to full control over your site, altering how it operates or looks. It's absolutely devastating if your site relies on integrity and security!

Put simply

Think of it like leaving your front door wide open at a restaurant. Anyone passing by can just walk in, change the menu, or even mess with your kitchen orders without anyone knowing—yikes! This vulnerability in the Grav Admin Plugin (versions 1.10.7 and earlier) allows unauthenticated users to access admin controller methods, leading to arbitrary YAML file creation or modification without any credentials.

What to do

An attacker could change site configurations, hijack admin accounts, or even execute commands in the context of the web server user. This could lead to full control over your site, altering how it operates or looks. It's absolutely devastating if your site relies on integrity and security! Upgrade to version 1.10.8 immediately to eliminate this risk. As a workaround, block access to the `/admin` path from untrusted sources to keep your site safe until you can patch. Don't let those party crashers in! Security hero status: activated! You've got this! 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.80600 · 99.6th percentile
Weakness
CWE-284 · Improper Access Control
Published
2021-04-07T18:20Z
EPSS history
Timeline
  • 07 APR 18:20Z
    Unauthenticated Arbitrary YAML Write/Update leads to Code Execution
    cvelistv5