CVE-2024-54149
Last modified
CVE-2024-54149 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. Winter CMS prior to versions 1.2.7, 1.1.11, and 1.0.476 allow users with access to the CMS templates sections that modify Twig files to bypass the sandbox placed on Twig files and modify resources such as theme customisation values or modify, or remove, templates in the theme even if not provided direct access via the permissions. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. Winter CMS prior to versions 1.2.7, 1.1.11, and 1.0.476 allow users with access to the CMS templates sections that modify Twig files to bypass the sandbox placed on Twig files and modify resources such as theme customisation values or modify, or remove, templates in the theme even if not provided direct access via the permissions. As all objects passed through to Twig are references to the live objects, it is also possible to also manipulate model data if models are passed directly to Twig, including changing attributes or even removing records entirely. In most cases, this is unwanted behavior and potentially dangerous. To actively exploit this security issue, an attacker would need access to the Backend with a user account with any of the following permissions: `cms.manage_layouts`; `cms.manage_pages`; or `cms.manage_partials`. The Winter CMS maintainers strongly recommend that these permissions only be reserved to trusted administrators and developers in general. The maintainers of Winter CMS have significantly increased the scope of the sandbox, effectively making all models and datasources read-only in Twig, in versions 1.2.7, 1.1.11, and 1.0.476. Thse who cannot upgrade may apply commit fb88e6fabde3b3278ce1844e581c87dcf7daee22 to their Winter CMS installation manually to resolve the issue. In the rare event that a Winter user was relying on being able to write to models/datasources within their Twig templates, they should instead use or create components to make changes to their models.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wintercms | Winter | < 1.0.476 |
| Wintercms | Winter | >= 1.1.0, < 1.1.11 |
| Wintercms | Winter | >= 1.2.0, < 1.2.7 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-54149?
How severe is CVE-2024-54149?
How do I fix CVE-2024-54149?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-54142Discourse AI is a Discourse plugin which provides a number o…9
- CVE-2024-54143openwrt/asu is an image on demand server for OpenWrt based d…9.3
- CVE-2024-54145Cacti is an open source performance and fault management fra…8.8
- CVE-2024-54146Cacti is an open source performance and fault management fra…8.8
- CVE-2024-54147Altair is a GraphQL client for all platforms. Prior to versi…6.8
- CVE-2024-54148Gogs is an open source self-hosted Git service. A malicious …9.8
- CVE-2024-5415A vulnerability have been discovered in PhpMyBackupPro affec…7.1
- CVE-2024-54150cjwt is a C JSON Web Token (JWT) Implementation. Algorithm c…9.1
- CVE-2024-54151Directus is a real-time API and App dashboard for managing S…7.5
- CVE-2024-54152Angular Expressions provides expressions for the Angular.JS …9.3
- CVE-2024-54153In JetBrains YouTrack before 2024.3.51866 unauthenticated da…6.5
- CVE-2024-54154In JetBrains YouTrack before 2024.3.51866 system takeover wa…9.8
Are you affected by CVE-2024-54149?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
