ADVISORIES

GitHub Advisory Database

GHSA-66rg-92q4-6m8q

Concrete CMS is vulnerable to unauthorized file deletion

Details

Concrete CMS 9.5.0 and below is vulnerable to unauthorized file deletion due to an Inverted CSRF token check in the DeleteFile controller. The code throws an error when the token IS valid and proceeds with file deletion when the token is invalid or missing. This effectively disables CSRF protection for the file deletion endpoint, allowing cross-site request forgery attacks against users who have permission to edit conversation messages.

Affected packages

EcosystemPackageAffected versions
Packagistconcrete5/concrete5
All versions before 9.5.1 (fixed in 9.5.1)

References