VDB
KO
HIGH

GHSA-r42c-3rr2-jrfp

Concrete CMS is Vulnerable to Cross-Site Request Forgery

Details

Concrete CMS 9.5.0 and below does not validate a CSRF token before processing requests to /dashboard/extend/install/download/<remoteId>. The download() method in concrete/controllers/single_page/dashboard/extend/install.php checks only the canInstallPackages() permission before fetching a remote marketplace package and writing it to the server's DIR_PACKAGES directory. Because the endpoint is a state-changing GET route with no token enforcement, an attacker who can cause an authenticated administrator to visit a crafted page can force an arbitrary marketplace package to be downloaded. In order to be vulnerable, the victim must be passing canInstallPackages() and the site must be connected to the Concrete marketplace. Concrete CMS thanks https://github.com/maru1009  for reporting this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist / concrete5/concrete5
Introduced in: 0 Fixed in: 9.5.1
Fix composer require concrete5/concrete5:^9.5.1

References