First published: Tue Apr 13 2021(Updated: )
The Grav admin plugin prior to version 1.10.11 does not correctly verify caller's privileges. As a consequence, users with the permission `admin.login` can install third-party plugins and their dependencies. By installing the right plugin, an attacker can obtain an arbitrary code execution primitive and elevate their privileges on the instance. The vulnerability has been addressed in version 1.10.11. As a mitigation blocking access to the `/admin` path from untrusted sources will reduce the probability of exploitation.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Getgrav Grav Admin | <1.10.11 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2021-29439 is high with a CVSS score of 7.2.
CVE-2021-29439 is a vulnerability in the Grav admin plugin prior to version 1.10.11 that allows users with the 'admin.login' permission to install third-party plugins and their dependencies, leading to potential arbitrary code execution.
An attacker can exploit CVE-2021-29439 by installing the right plugin with minimal admin privileges, which grants them an arbitrary code execution primitive.
To fix CVE-2021-29439, update the Grav admin plugin to version 1.10.11 or later.
You can find more information about CVE-2021-29439 in the following references: [Link 1](https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities), [Link 2](https://github.com/getgrav/grav-plugin-admin/security/advisories/GHSA-wg37-cf5x-55hq), [Link 3](https://github.com/getgrav/grav-plugin-admin/commit/a220359877fd1281f76ba732e5308e0e3002e4b1).