CyberRota Analysis
AI-GeneratedOpenC3 COSMOS versions 5.0.6 to 7.3.0 are vulnerable to a cross-site scripting (XSS) attack, where an authenticated user with system_set permissions can store malicious scripts that execute in another operator's session. This vulnerability allows attackers to steal the victim's bearer token, leading to potential account takeover and unauthorized actions. Organizations using affected versions should prioritize patching to version 7.3.0 to mitigate these risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From 5.0.6 until 7.3.0, an authenticated actor with system_set permission can store a shared screen through POST /openc3-api/screen whose BUTTON widget action is evaluated by openc3-cosmos-init/plugins/packages/openc3-vue-common/src/widgets/ButtonWidget.vue in another operator's browser session when the button is activated. The stored script runs in the COSMOS origin and can read localStorage.openc3Token, allowing theft of the victim's bearer token, account takeover, and actions with the victim's privileges. The permissive content security policy contributes to execution but is not the primary root cause. This issue is fixed in version 7.3.0.