VDB
Sign up
MEDIUM5.5

GHSA-r3rg-jrjq-w4mr

Grav CMS Local File Injection

Quick fix

GHSA-r3rg-jrjq-w4mr — getgrav/grav: upgrade to the fixed version with the command below.

composer require getgrav/grav:^1.6.30

Details

The Backup functionality in Grav CMS through 1.7.0-rc.17 allows an authenticated attacker to read arbitrary local 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