CVE-2021-21425

CRITICAL

Getgrav Grav-plugin-admin < 1.10.8 - Improper Access Control

Title source: rule

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.

Exploits (5)

exploitdb WORKING POC VERIFIED
by Mehmet Ince · rubywebappsphp
https://www.exploit-db.com/exploits/49788
nomisec WORKING POC 11 stars
by CsEnox · poc
https://github.com/CsEnox/CVE-2021-21425
nomisec WORKING POC 1 stars
by bluetoothStrawberry · poc
https://github.com/bluetoothStrawberry/cve-2021-21425
nomisec WORKING POC
by afifudinmtop · poc
https://github.com/afifudinmtop/CVE-2021-21425
metasploit WORKING POC NORMAL
by Mehmet Ince <[email protected]> · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/gravcms_exec.rb

Scores

CVSS v3 9.3
EPSS 0.9164
EPSS Percentile 99.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N

Details

CWE
CWE-284
Status published
Products (1)
getgrav/grav-plugin-admin < 1.10.8
Published Apr 07, 2021
Tracked Since Feb 18, 2026