<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>COSMOS (7.2.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/cosmos-7.2.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 23 Sep 2026 19:56:36 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/cosmos-7.2.0/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>OpenC3 COSMOS Authenticated Remote Code Execution</title><link>https://feed.craftedsignal.io/briefs/2026-09-openc3-rce/</link><pubDate>Wed, 23 Sep 2026 19:56:36 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-openc3-rce/</guid><description>Authenticated users can achieve arbitrary code execution in OpenC3 COSMOS by writing malicious payloads into user-writable configuration overlays that are subsequently rendered as code by the application.</description><content:encoded><![CDATA[<p>OpenC3 COSMOS contains a critical vulnerability (CVE-2026-77602) allowing authenticated remote code execution (RCE). The application processes configuration files from a user-writable overlay directory (<code>targets_modified/</code>) before the system-defined read-only <code>targets/</code> tree. Because the configuration subsystem treats these user-controlled files as templates and executable code, an attacker can leverage several API endpoints - including screen saving, table generation, and storage uploads - to place malicious files in the overlay. These files are then executed via ERB rendering, generic code conversion blocks, or direct inclusion by the script runner suite analysis.</p>
<p>The vulnerability affects versions 5.1.0 through 7.2.1. In the open-source edition, authorization checks fail to enforce permission strings, allowing any authenticated user to exploit the flaw. Successful exploitation results in arbitrary code execution as the <code>openc3</code> user within the <code>cmd-tlm-api</code> container or target-specific microservices, granting the attacker control over configuration, telemetry, and command data.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker obtains valid authentication credentials for the COSMOS API.</li>
<li>Attacker interacts with the <code>/screen</code> endpoint or <code>storage_controller</code> to bypass admin-gated file writing checks.</li>
<li>Attacker crafts a malicious configuration file containing an ERB template or a <code>GENERIC_WRITE_CONVERSION</code> code block.</li>
<li>Attacker writes the malicious file into the <code>targets_modified/</code> directory via authorized API calls.</li>
<li>Attacker triggers the vulnerability by calling <code>tables#generate</code>, <code>tables#report</code>, or initiating a <code>script_view</code> operation.</li>
<li>COSMOS configuration parser reads the malicious file from <code>targets_modified/</code>.</li>
<li>The application engine executes the embedded Ruby or Python code within the <code>cmd-tlm-api</code> or script runner container.</li>
<li>Attacker gains persistent or immediate arbitrary code execution within the container environment.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The vulnerability allows arbitrary code execution as the <code>openc3</code> user. Compromised containers hold Redis and bucket credentials and reside on the internal service network, enabling the attacker to manipulate telemetry, commands, and configurations. In default multi-user deployments, the API is exposed, and even in single-host deployments, the service is reachable via local network paths.</p>
<h2 id="recommendation">Recommendation</h2>
<p>Prioritize patching and restrict access to the affected endpoints.</p>
<ul>
<li>Upgrade to a version of OpenC3 COSMOS containing the fix (post-v7.2.1).</li>
<li>Restrict access to API endpoints involved in configuration and script management, specifically <code>/screen</code>, <code>tables/</code>, and <code>scripts/</code>, to trusted administrative users.</li>
<li>Audit the <code>targets_modified/</code> directory for any unexpected or suspicious file modifications.</li>
<li>Monitor API access logs for anomalous POST requests to configuration-related endpoints originating from non-administrative service accounts.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>rce</category><category>authenticated-rce</category><category>openc3</category><category>cosmos</category><category>xss</category><category>web-vulnerability</category><category>session-hijacking</category></item></channel></rss>