7.2high
Plugins can be installed with minimal admin privileges
- Severity
- 7.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.59% (higher than 85% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| getgrav grav-plugin-admin | < 1.10.11 | CVE List |
| getgrav grav_admin | before 1.10.11 | NVD |
All scores
| GitHub_M | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
El plugin de administración de Grav anterior a versión 1.10.11, no verifica correctamente los privilegios de la persona que llama. Como consecuencia, los usuarios con el permiso "admin.login" pueden instalar plugins de terceros y sus dependencias. Al instalar el plugin correcto, un atacante puede obtener una primitiva ejecución de código arbitraria y elevar sus privilegios en la instancia. La vulnerabilidad ha sido solucionada en la versión 1.10.11. Como mitigación, el bloqueo del acceso a la ruta "/admin" desde fuentes no confiables reducirá la probabilidad de explotación
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29439 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-29439 changed 2026-06-17 | Public domain |