You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vulnerability in backup file retrieval that can delete arbitrary files
Moderate
rhukster
published
GHSA-85r3-mf4x-qp8fDec 10, 2020
Package
Grav Admin Plugin
(PHP)
Affected versions
1.9.17
Patched versions
1.9.18
Description
Impact
This bug exists in the backup system where it is possible to delete old backup files. Passing a new base64 encoded string specifying another file on the file system will lead to the file being deleted. This means that potentially any file (with write privileges) by the webserver can be deleted. In many systems, this can also lead to the deletion of files outside the webroot.
NOTE: This vulnerability is only possible to exploit by admin user accounts with super or maintenance roles.
Impact
This bug exists in the backup system where it is possible to delete old backup files. Passing a new base64 encoded string specifying another file on the file system will lead to the file being deleted. This means that potentially any file (with write privileges) by the webserver can be deleted. In many systems, this can also lead to the deletion of files outside the webroot.
References
https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/07-Input_Validation_Testing/11.1-Testing_for_Local_File_Inclusion
For more information
Please contact [email protected]