GHSA-prxr-vjgc-2cq9
Concrete CMS is Vulnerable to Cross-Site Request Forgery
Quick fix
GHSA-prxr-vjgc-2cq9 — concrete5/concrete5: upgrade to the fixed version with the command below.
composer require concrete5/concrete5:^9.5.1Details
Concrete CMS 9.5.0 and below emits a CSRF token in the local_available_update.php view ($token->output('do_update')) but the corresponding do_update() method in concrete/controllers/single_page/dashboard/system/update/update.php never calls $this->token->validate('do_update'). The form is rendered as a POST form, meaning the token reaches the browser, but because the controller discards it without verification, an attacker can craft a cross-site POST that triggers a core CMS update to an attacker-specified version string. In order to be vulnerable, theictim must be passing canUpgrade()anda valid update version must be present under DIR_CORE_UPDATES.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 9.5.1composer require concrete5/concrete5:^9.5.1References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/concrete5/concrete5"]}'