9.8
CRITICAL
CVE-2021-21425
Grav Admin Plugin Unauthenticated Controller Method Execution
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.

INFO

Published Date :

April 7, 2021, 7:15 p.m.

Last Modified :

Oct. 24, 2022, 8:56 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-21425 has a 11 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-21425 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Getgrav grav-plugin-admin
2 Getgrav grav_admin
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-21425.

URL Resource
http://packetstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Command-Execution.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.html Third Party Advisory VDB Entry
https://github.com/getgrav/grav-plugin-admin/security/advisories/GHSA-6f53-6qgv-39pj Third Party Advisory
https://pentest.blog/unexpected-journey-7-gravcms-unauthenticated-arbitrary-yaml-write-update-leads-to-code-execution/ Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 3 weeks, 3 days ago
5 stars 2 fork 2 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 928 different CVEs too.

None

Updated: 6 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 930 different CVEs too.

None

Updated: 1 year, 5 months ago
0 stars 2 fork 2 watcher
Born at : April 8, 2023, 6:19 a.m. This repo has been linked 923 different CVEs too.

None

Updated: 7 months, 1 week ago
20 stars 3 fork 3 watcher
Born at : Feb. 14, 2023, 6:10 p.m. This repo has been linked 921 different CVEs too.

None

Updated: 7 months ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 930 different CVEs too.

None

Updated: 2 months, 3 weeks ago
8 stars 1 fork 1 watcher
Born at : June 21, 2022, 7:45 a.m. This repo has been linked 943 different CVEs too.

It is a nmap script for GravCMS vulnerability (CVE-2021-21425)

Lua

Updated: 2 years, 8 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 19, 2022, 5:54 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 week, 6 days ago
66 stars 14 fork 14 watcher
Born at : Oct. 13, 2021, 4:56 a.m. This repo has been linked 175 different CVEs too.

GravCMS Unauthenticated Arbitrary YAML Write/Update leads to Code Execution (CVE-2021-21425)

Python

Updated: 1 month, 1 week ago
5 stars 2 fork 2 watcher
Born at : June 24, 2021, 1:06 p.m. This repo has been linked 1 different CVEs too.

Automatic monitor github cve using Github Actions

Python

Updated: 2 years, 11 months ago
0 stars 56 fork 56 watcher
Born at : April 7, 2021, 11:16 a.m. This repo has been linked 1007 different CVEs too.

Good resources about web security that I have read.

bugbounty bugbounty-writeups bugbountytips web-security web-security-research tools hacking

Updated: 4 months, 1 week ago
25 stars 3 fork 3 watcher
Born at : Aug. 20, 2020, 8:57 p.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-21425 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-21425 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Oct. 24, 2022

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.html Third Party Advisory http://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.html Third Party Advisory, VDB Entry
    Removed CWE NIST CWE-862
    Added CWE NIST NVD-CWE-Other
  • Modified Analysis by [email protected]

    May. 05, 2021

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Command-Execution.html No Types Assigned http://packetstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Command-Execution.html Third Party Advisory, VDB Entry
    Changed Reference Type http://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.html No Types Assigned http://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.html Third Party Advisory
    Added CWE NIST CWE-862
  • CVE Modified by [email protected]

    May. 04, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.html [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 21, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Command-Execution.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 20, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/getgrav/grav-plugin-admin/security/advisories/GHSA-6f53-6qgv-39pj No Types Assigned https://github.com/getgrav/grav-plugin-admin/security/advisories/GHSA-6f53-6qgv-39pj Third Party Advisory
    Changed Reference Type https://pentest.blog/unexpected-journey-7-gravcms-unauthenticated-arbitrary-yaml-write-update-leads-to-code-execution/ No Types Assigned https://pentest.blog/unexpected-journey-7-gravcms-unauthenticated-arbitrary-yaml-write-update-leads-to-code-execution/ Exploit, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:getgrav:grav-plugin-admin:*:*:*:*:*:*:*:* versions up to (excluding) 1.10.8
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-21425 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

84.95 }} 2.55%

score

0.98588

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability