VDB
Sign up
MEDIUM

GHSA-gv6c-59h4-9pmg

Silverstripe CMS Arbitrary Code Execution

Quick fix

GHSA-gv6c-59h4-9pmg — silverstripe/cms: upgrade to the fixed version with the command below.

composer require silverstripe/cms:^2.4.6

Details

`code/sitefeatures/PageCommentInterface.php` in SilverStripe 2.4.x before 2.4.6 might allow remote attackers to execute arbitrary code via a crafted cookie in a user comment submission, which is not properly handled when it is deserialized.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/cms
Introduced in: 2.4.0Fixed in: 2.4.6
Fixcomposer require silverstripe/cms:^2.4.6

References

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/silverstripe/cms"]}'