CVE-2024-28121
Last modified
CVE-2024-28121 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. stimulus_reflex is a system to extend the capabilities of both Rails and Stimulus by intercepting user interactions and passing them to Rails over real-time websockets. In affected versions more methods than expected can be called on reflex instances. EPSS estimates a 1.55% chance of exploitation in the next 30 days.
Description
stimulus_reflex is a system to extend the capabilities of both Rails and Stimulus by intercepting user interactions and passing them to Rails over real-time websockets. In affected versions more methods than expected can be called on reflex instances. Being able to call some of them has security implications. To invoke a reflex a websocket message of the following shape is sent: `\"target\":\"[class_name]#[method_name]\",\"args\":[]`. The server will proceed to instantiate `reflex` using the provided `class_name` as long as it extends `StimulusReflex::Reflex`. It then attempts to call `method_name` on the instance with the provided arguments. This is problematic as `reflex.method method_name` can be more methods that those explicitly specified by the developer in their reflex class. A good example is the instance_variable_set method. This vulnerability has been patched in versions 3.4.2 and 3.5.0.rc4. Users unable to upgrade should: see the backing GHSA advisory for mitigation advice.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Stimulusreflex | Stimulusrelfex | < 3.4.2 | — |
| Stimulusreflex | Stimulusrelfex | 3.5.0 | Pre1 |
References
- http://seclists.org/fulldisclosure/2024/Mar/16Exploit, Third Party Advisory
- https://github.com/stimulusreflex/stimulus_reflex/releases/tag/v3.4.2Product, Release Notes
- https://github.com/stimulusreflex/stimulus_reflex/releases/tag/v3.5.0.rc4Product, Release Notes
- https://github.com/stimulusreflex/stimulus_reflex/security/advisories/GHSA-f78j-4w3g-4q65Exploit, Vendor Advisory
- http://seclists.org/fulldisclosure/2024/Mar/16Exploit, Third Party Advisory
- https://github.com/stimulusreflex/stimulus_reflex/releases/tag/v3.4.2Product, Release Notes
- https://github.com/stimulusreflex/stimulus_reflex/releases/tag/v3.5.0.rc4Product, Release Notes
- https://github.com/stimulusreflex/stimulus_reflex/security/advisories/GHSA-f78j-4w3g-4q65Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-28121?
How severe is CVE-2024-28121?
How do I fix CVE-2024-28121?
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-28116Grav is an open-source, flat-file content management system.…8.8
- CVE-2024-28117Grav is an open-source, flat-file content management system.…8.8
- CVE-2024-28118Grav is an open-source, flat-file content management system.…8.8
- CVE-2024-28119Grav is an open-source, flat-file content management system.…8.8
- CVE-2024-2812A vulnerability was found in Tenda AC15 15.03.05.18/15.03.20…8.8
- CVE-2024-28120codeium-chrome is an open source code completion plugin for …7.5
- CVE-2024-28122 JWX is Go module implementing various JWx (JWA/JWE/JWK/JWS/…6.8
- CVE-2024-28123Wasmi is an efficient and lightweight WebAssembly interprete…9.8
- CVE-2024-28125FitNesse all releases allows a remote authenticated attacker…9.8
- CVE-2024-28126Cross-site scripting vulnerability exists in 0ch BBS Script …6.1
- CVE-2024-28127Improper input validation in UEFI firmware for some Intel(R)…8.7
- CVE-2024-28128Cross-site scripting vulnerability exists in FitNesse releas…6.1
Are you affected by CVE-2024-28121?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
