MediumGHSA-gv6c-59h4-9pmgCVE-2011-4962
Silverstripe CMS Arbitrary Code Execution
Published 17 May 2022 · Updated 19 Jan 2024
Affected package
silverstripe/cmsComposer
- Affected
- >=2.4.0 <2.4.6
- Fixed in
- 2.4.6
Update to the fixed version for your release line, for example:
composer require silverstripe/cms:^2.4.6Details
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.
Is GHSA-gv6c-59h4-9pmg in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/cms, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2011-4962
- Linkgithub.com/silverstripe/silverstripe-cms/commit/d15e8509b01ff2dbbe3028a055021a29b1065b22
- Packagegithub.com/silverstripe/silverstripe-cms
- Linkweb.archive.org/web/20120621234353/http://doc.silverstripe.org/framework/en/trunk/changelogs/2.4.6
- Linkwww.openwall.com/lists/oss-security/2012/04/30/1
- Linkwww.openwall.com/lists/oss-security/2012/04/30/3
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.