Yamcs
Yamcs: Authenticated Remote Code Execution (RCE) via Jython Algorithm Code Injection
Yamcs is a mission control framework. Prior to 5.12.7, the Yamcs script evaluation engine for Python algorithms dynamically compiled and evaluated user-controlled algorithm text using Jython through the JSR-223 ScriptEngine API without enforcing a secure sandbox, so an authenticated user with the ChangeMissionDatabase privilege could override an existing Python algorithm's logic through the mission database REST API and import and execute arbitrary Java classes such as java.lang.Runtime to achieve remote code execution on the underlying host operating system. This issue is fixed in versions 5.12.7 and 5.13.0, which disable algorithm editing by default.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.12.7
Fixed in 5.12.7
Mitigation
Upgrade yamcs to 5.12.7 or later.
References
- Vendor advisory github.com/yamcs/yamcs/security/advisories/GHS…
- Patch github.com/yamcs/yamcs/commit/3c550348f866af46…
- Patch github.com/yamcs/yamcs/commit/4ff8fda642ea8c33…
2 more
- Release notes github.com/yamcs/yamcs/releases/tag/yamcs-5.12…
- Release notes github.com/yamcs/yamcs/releases/tag/yamcs-5.13…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.