Summary
Thelia Page Module before 2.0.4 contains a cross-site request forgery vulnerability that allows remote attackers to delete page tags, documents and images by abusing back-office delete routes lacking CSRF tokens and permission checks. Attackers can lure a logged-in administrator into navigating to crafted GET requests that walk sequential ids, removing TheliaLibrary images, their files and variants across pages, products and categories.
Remediation
References
- Patchhttps://github.com/thelia-modules/Page/commit/e7206a7c35c945cc8fe529fe95a9b30402f0fb60
- Advisoryhttps://github.com/thelia/thelia/security/advisories/GHSA-whqr-4v2h-6jhc
- Advisoryhttps://www.vulncheck.com/advisories/thelia-page-module-before-2.0.4-csrf-via-page-tag-document-and-image-delete-routes
- Referencehttps://github.com/thelia-modules/Page/blob/2.0.3/Controller/Admin/PageImageController.php#L117