Description
Yamcs is a mission control framework. Prior to 5.12.7, a server-side code injection vulnerability existed in the Yamcs algorithm evaluation engine org.yamcs.algorithms.JavaExprAlgorithmExecutionFactory, which dynamically compiled and evaluated user-controlled algorithm text through the Janino compiler without enforcing a secure sandbox, so an authenticated user with the ChangeMissionDatabase privilege could override an existing algorithm's text via the mission database REST API and inject Java code (for example using 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.
CVSS breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected products
- spaceapplications / yamcs5.12.7
- yamcs / yamcs< 5.12.7 – < 5.12.7
References
- VENDOR_ADVISORYhttps://github.com/yamcs/yamcs/security/advisories/GHSA-524g-x36v-9wm6
- PATCHhttps://github.com/yamcs/yamcs/commit/3c550348f866af4675d2ba4a51d8d12b7c7c6011
- PATCHhttps://github.com/yamcs/yamcs/commit/4ff8fda642ea8c3309a4d3f379aa77b763148992
- PATCHhttps://github.com/yamcs/yamcs/releases/tag/yamcs-5.12.7
- PATCHhttps://github.com/yamcs/yamcs/releases/tag/yamcs-5.13.0
Updated 5m ago · 8 sources