CVE-2020-29555 Grav CMS Arbitrary File Deletion

High 8.1 Published Updated

Authenticated or unauthenticated attackers can delete arbitrary files on the server via path traversal in Grav CMS BackupDelete functionality.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-29555?

CVE-2020-29555 is a high-severity path traversal vulnerability in n/a, published on 15 Mar 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The BackupDelete functionality in Grav CMS through 1.7.0-rc.17 allows an authenticated attacker to delete arbitrary files on the underlying server by exploiting a path-traversal technique. (This vulnerability can also be exploited by an unauthenticated attacker due to a lack of CSRF protection.)

Weakness: CWE-22

Which versions are affected by CVE-2020-29555?

4 open source packages ship an affected version, including getgrav/grav. It affects 1 product.

PackageAffectedFixed in
getgrav/grav PackagistAll versions1.6.30
getgrav/grav PackagistAll versions1.6.30
getgrav/grav PackagistFrom 1.7.0-beta.1 to 1.7.0-rc.17None
getgrav/grav PackagistFrom 1.7.0-beta.1 to 1.7.0-rc.17None

Products include Getgrav Grav Cms.

How do I fix CVE-2020-29555?

Upgrade getgrav/grav to 1.6.30 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-29555 being exploited?

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

Sources

Also known as GHSA-gpmf-q5jh-hjx4.

Is CVE-2020-29555 in your software?

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

Check your SBOMs for free