PT-2026-68151 · Unknown · Rust-Iot-Platform
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
rust-iot-platform (affected versions not specified)
Description
An unauthenticated attacker can achieve arbitrary JavaScript execution in the server process by creating and triggering a malicious calc rule. The endpoint 'POST /calc-rule/create' lacks the AuthToken request guard, allowing access without authentication to create a rule containing an arbitrary
script field. This stored script is subsequently executed via the quick js::Context::eval() function without sandboxing.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Restrict access to the 'POST /calc-rule/create' endpoint to minimize the risk of exploitation.
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Rust-Iot-Platform