CVE-2021-29439 Plugins can be installed with minimal admin privileges

High 7.2 Published Updated

Users with minimal admin privileges can install plugins to achieve arbitrary code execution and privilege escalation in Grav CMS.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-29439?

CVE-2021-29439 is a high-severity missing authorization vulnerability in getgrav grav-plugin-admin, published on 13 Apr 2021. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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.

Weakness: CWE-863

Which versions are affected by CVE-2021-29439?

It affects 1 product.

Products include Getgrav Grav Admin.

How do I fix CVE-2021-29439?

No fix has been published for CVE-2021-29439 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-29439 being exploited?

There is no known exploitation of CVE-2021-29439 in the wild and no public exploit code.

Sources

Also known as GHSA-wg37-cf5x-55hq.

Is CVE-2021-29439 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free