CVE-2024-32003
Last modified
CVE-2024-32003 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. wn-dusk-plugin (Dusk plugin) is a plugin which integrates Laravel Dusk browser testing into Winter CMS. The Dusk plugin provides some special routes as part of its testing framework to allow a browser environment (such as headless Chrome) to act as a user in the Backend or User plugin without having to go through authentication. EPSS estimates a 0.67% chance of exploitation in the next 30 days.
Description
wn-dusk-plugin (Dusk plugin) is a plugin which integrates Laravel Dusk browser testing into Winter CMS. The Dusk plugin provides some special routes as part of its testing framework to allow a browser environment (such as headless Chrome) to act as a user in the Backend or User plugin without having to go through authentication. This route is `[[URL]]/_dusk/login/[[USER ID]]/[[MANAGER]]` - where `[[URL]]` is the base URL of the site, `[[USER ID]]` is the ID of the user account and `[[MANAGER]]` is the authentication manager (either `backend` for Backend, or `user` for the User plugin). If a configuration of a site using the Dusk plugin is set up in such a way that the Dusk plugin is available publicly and the test cases in Dusk are run with live data, this route may potentially be used to gain access to any user account in either the Backend or User plugin without authentication. As indicated in the `README`, this plugin should only be used in development and should *NOT* be used in a production instance. It is specifically recommended that the plugin be installed as a development dependency only in Composer. In order to remediate this issue, the special routes used above will now no longer be registered unless the `APP_ENV` environment variable is specifically set to `dusk`. Since Winter by default does not use this environment variable and it is not populated by default, it will only exist if Dusk's automatic configuration is used (which won't exhibit this vulnerability) or if a developer manually specifies it in their configuration. The automatic configuration performed by the Dusk plugin has also been hardened by default to use sane defaults and not allow external environment variables to leak into this configuration. This will only affect users in which the Winter CMS installation meets ALL the following criteria: 1. The Dusk plugin is installed in the Winter CMS instance. 2. The application is in production mode (ie. the `debug` config value is set to `true` in `config/app.php`). 3. The Dusk plugin's automatic configuration has been overridden, either by providing a custom `.env.dusk` file or by providing custom configuration in the `config/dusk` folder, or by providing configuration environment variables externally. 4. The environment has been configured to use production data in the database for testing, and not the temporary SQLite database that Dusk uses by default. 5. The application is connectable via the web. This issue has been fixed in version 2.1.0. Users are advised to upgrade.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-32003?
How severe is CVE-2024-32003?
How do I fix CVE-2024-32003?
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-31998Combodo iTop is a simple, web based IT Service Management to…8.8
- CVE-2024-31999@festify/secure-session creates a secure stateless cookie se…7.4
- CVE-2024-3200The wpForo Forum plugin for WordPress is vulnerable to SQL I…6.5
- CVE-2024-32000matrix-appservice-irc is a Node.js IRC bridge for the Matrix…4.3
- CVE-2024-32001SpiceDB is a graph database purpose-built for storing and ev…4.3
- CVE-2024-32002Git is a revision control system. Prior to versions 2.45.1, …9
- CVE-2024-32004Git is a revision control system. Prior to versions 2.45.1, …7.8
- CVE-2024-32005NiceGUI is an easy-to-use, Python-based UI framework. A loca…8.2
- CVE-2024-32006A vulnerability has been identified in SINEMA Remote Connect…6.5
- CVE-2024-32007An improper input validation of the p2c parameter in the Apa…7.5
- CVE-2024-32008A vulnerability has been identified in Spectrum Power 4 (All…8.5
- CVE-2024-32009A vulnerability has been identified in Spectrum Power 4 (All…8.5
Are you affected by CVE-2024-32003?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
