CVE-2021-29439: Plugins can be installed with minimal admin privileges
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-29439?
The severity of CVE-2021-29439 is high with a CVSS score of 7.2.
What is CVE-2021-29439?
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.
How can an attacker exploit CVE-2021-29439?
An attacker can exploit CVE-2021-29439 by installing the right plugin with minimal admin privileges, which grants them an arbitrary code execution primitive.
How can I fix CVE-2021-29439?
To fix CVE-2021-29439, update the Grav admin plugin to version 1.10.11 or later.
Where can I find more information about CVE-2021-29439?
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).