CVE-2011-4962: Silverstripe/cms Silverstripe CMS Arbitrary Code Execution Vulnerability
MODERATECVE-2011-4962 is a MODERATE silverstripe cms arbitrary code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Silverstripe/cms libraries in the Packagist ecosystem. The issue involves silverstripe cms arbitrary code execution. Remediation is available by upgrading affected packages to version 2.4.6.
CVE-2011-4962 at a Glance
How to Fix CVE-2011-4962
To remediate this vulnerability, upgrade all affected Silverstripe/cms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade silverstripe/cms to 2.4.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/cms
How to Check if You Are Affected
To determine whether your application is affected by CVE-2011-4962, inspect your project dependencies for Silverstripe/cms:
inspect dependencies for silverstripe/cms
Analyze the terminal output to locate any version of Silverstripe/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Silverstripe/cms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2011-4962 Affected Silverstripe/cms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/cms
|
Packagist |
≥ 2.4.0
< 2.4.6
|
2.4.6
|
References
Frequently Asked Questions
What is CVE-2011-4962?
Which Silverstripe/cms versions are affected?
What version fixes CVE-2011-4962?
Is silverstripe/cms affected?
What CWE is associated with CVE-2011-4962?
How can I check Packagist dependencies for CVE-2011-4962?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gv6c-59h4-9pmg",
"modified" : "2024-01-19T17:34:34Z",
"published" : "2022-05-17T05:22:06Z",
"aliases" : [ "CVE-2011-4962" ],
"summary" : "Silverstripe CMS Arbitrary Code Execution",
"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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.0"
}, {
"fixed" : "2.4.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-4962"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-cms/commit/d15e8509b01ff2dbbe3028a055021a29b1065b22"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-cms"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20120621234353/http://doc.silverstripe.org/framework/en/trunk/changelogs/2.4.6"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/04/30/1"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/04/30/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20", "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-19T17:34:34Z",
"nvd_published_at" : "2012-09-17T17:55:00Z"
}
}