VDB
Sign up
HIGH8.1

GHSA-gpmf-q5jh-hjx4

Grav CMS Arbitrary File Deletion

Quick fix

GHSA-gpmf-q5jh-hjx4 — getgrav/grav: upgrade to the fixed version with the command below.

composer require getgrav/grav:^1.6.30

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/getgrav/grav
Introduced in: 1.7.0-beta.1

No fixed version published yet for getgrav/grav (composer). Pin to a known-safe version or switch to an alternative.

Packagist/getgrav/grav
Introduced in: 0Fixed in: 1.6.30
Fixcomposer require getgrav/grav:^1.6.30

References