CVE-2021-21425: falha crítica em getgrav grav-plugin-admin
Unauthenticated Arbitrary YAML Write/Update leads to Code Execution
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
85Vexday Risk Score
Corrija em breve. Ela tem exploit funcional público.
ssvc Attendcvss 9.3epss 80%
da publicação à arma14 dias
Publicada no NVD7 de abr.
1ª PoC+14d
metasploit29 de mar.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N
Produtos afetados
getgrav · grav-plugin-adminPoCs públicas encontradas — 9✓ VexDay Proof
exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/49788githubgithub.com/CsEnox/CVE-2021-21425★ 12githubgithub.com/bluetoothStrawberry/cve-2021-21425★ 2githubgithub.com/d4ytox/CVE-2021-21425★ 2githubgithub.com/s1lentf00thold/CVE-2021-21425-RCE★ 0githubgithub.com/grey-master-a/GravCMS_Nmap_Script★ 0githubgithub.com/afifudinmtop/CVE-2021-21425★ 0cve_referencepacketstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Command-Execution.htmlnão verificadocve_referencepacketstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.htmlnão verificado⚠ Recursos públicos, para você avaliar a exposição de sistemas que controla ou está autorizado a testar. Teste apenas com autorização.
CVEs relacionadas — getgrav grav-plugin-admin
No mesmo produto, das mais perigosas para as menos.
Referências
http://packetstormsecurity.com/files/162283/GravCMS-1.10.7-Remote-Command-Execution.htmlhttp://packetstormsecurity.com/files/162457/GravCMS-1.10.7-Remote-Command-Execution.htmlhttps://github.com/getgrav/grav-plugin-admin/security/advisories/GHSA-6f53-6qgv-39pjhttps://pentest.blog/unexpected-journey-7-gravcms-unauthenticated-arbitrary-yaml-write-update-leads-to-code-execution/