CVE-2024-29686: Wintercms/winter Winter CMS Server-Side Template Injection Vulnerability
HIGHCVE-2024-29686 is a HIGH (CVSS 8.8) winter cms server-side template injection vulnerability (CWE-97: Improper Neutralization of Server-Side Includes (SSI) Within a Web Page) affecting Wintercms/winter libraries in the Packagist ecosystem. The issue involves winter cms server-side template injection (ssti) vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2024-29686 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-29686
To remediate this vulnerability, upgrade all affected Wintercms/winter 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 wintercms/winter to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wintercms/winter
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-29686, inspect your project dependencies for Wintercms/winter:
inspect dependencies for wintercms/winter
Analyze the terminal output to locate any version of Wintercms/winter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-97: Improper Neutralization of Server-Side Includes (SSI) Within a Web Page, where the product generates a web page, but does not neutralize or incorrectly neutralizes user-controllable input that could be interpreted as a server-side include (ssi) directive. In Wintercms/winter, 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-2024-29686 Affected Wintercms/winter Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wintercms/winter
|
Packagist |
≤ 1.2.3
|
|
References
Frequently Asked Questions
What is CVE-2024-29686?
Which Wintercms/winter versions are affected?
What version fixes CVE-2024-29686?
Is wintercms/winter affected?
What is the CVSS score of CVE-2024-29686?
What CWE is associated with CVE-2024-29686?
How can I check Packagist dependencies for CVE-2024-29686?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8r5j-gm3j-cx9c",
"modified" : "2024-08-02T15:59:38Z",
"published" : "2024-03-29T18:30:42Z",
"aliases" : [ "CVE-2024-29686" ],
"summary" : "Winter CMS Server-Side Template Injection (SSTI) vulnerability",
"details" : "Server-side Template Injection (SSTI) vulnerability in Winter CMS v.1.2.3 allows a remote attacker to execute arbitrary code via a crafted payload to the CMS Pages field and Plugin components.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wintercms/winter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.2.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-29686"
}, {
"type" : "WEB",
"url" : "https://forum.ksec.co.uk/t/webapps-winter-cms-1-2-3-server-side-template-injection-ssti-authenticated/2779"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wintercms/winter"
}, {
"type" : "WEB",
"url" : "https://wintercms.com/docs/v1.2/docs/cms/themes#template-structure"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/51893"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-75", "CWE-97" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-29T20:15:38Z",
"nvd_published_at" : "2024-03-29T16:15:08Z"
}
}