<?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/"><channel><title>Cve-2026-43947 — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/cve-2026-43947/</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>Tue, 26 May 2026 23:48:51 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/cve-2026-43947/feed.xml" rel="self" type="application/rss+xml"/><item><title>FUXA Unauthenticated Remote Code Execution via Script Test Mode Authorization Bypass (CVE-2026-43947)</title><link>https://feed.craftedsignal.io/briefs/2026-05-fuxa-rce/</link><pubDate>Tue, 26 May 2026 23:48:51 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-fuxa-rce/</guid><description>FUXA version 1.3.0 is vulnerable to unauthenticated remote code execution (CVE-2026-43947) because the /api/runscript endpoint, when in test mode, executes attacker-supplied code without proper authorization, allowing execution of arbitrary commands if a server-side script exists with permissive permissions.</description><content:encoded><![CDATA[<p>FUXA version 1.3.0 contains an unauthenticated remote code execution vulnerability (CVE-2026-43947) that can be exploited if the <code>secureEnabled</code> setting is set to <code>true</code>. The vulnerability lies in the <code>/api/runscript</code> endpoint, where, under test mode (<code>test: true</code>), the application bypasses the intended authorization checks for stored scripts and directly executes attacker-supplied code. This allows unauthenticated attackers knowing a valid script ID and name to execute arbitrary code, provided that at least one server-side script exists within the project and is accessible without restrictive permissions. This flaw allows a threat actor to gain remote code execution capabilities on the FUXA server, potentially leading to further compromise.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker sends a <code>GET</code> request to <code>/api/project</code> to retrieve script IDs and names. This endpoint does not require authentication.</li>
<li>The server responds with a JSON payload containing a list of scripts, including their IDs, names, and permissions.</li>
<li>The attacker identifies a script ID and name with permissive permissions or no permissions set. This is required for the authorization bypass to succeed.</li>
<li>The attacker crafts a <code>POST</code> request to <code>/api/runscript</code>, setting the <code>test</code> parameter to <code>true</code> and including malicious code in the <code>code</code> parameter. The script ID and name from the previous step are also included in the request.</li>
<li>The server&rsquo;s <code>verifyToken</code> middleware automatically generates a valid guest JWT if no token is provided in the request, effectively authenticating the attacker as a guest user.</li>
<li>The <code>isAuthorised</code> function retrieves the stored script by ID and validates the stored script&rsquo;s permissions. If the script has no permission field set (or <code>permission: 0</code>), the check passes for any user, including guests.</li>
<li>The <code>runTestScript</code> function takes the attacker&rsquo;s <code>code</code> from the request body and compiles it into a Node.js module using <code>Module._compile</code>.</li>
<li>The compiled code is then executed with full access to <code>require</code>, <code>child_process</code>, <code>fs</code>, and the entire Node.js runtime, resulting in remote code execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows any network-reachable attacker to achieve Remote Code Execution on the FUXA server without authentication. The attacker can execute arbitrary commands on the host, potentially accessing configured device connections, credentials, and compromising industrial control functionality managed by the FUXA instance. This vulnerability requires the presence of an existing server-side script with permissive permissions configured, but it can have severe implications for the security and integrity of affected systems.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule titled &ldquo;Detect FUXA Unauthenticated RCE Attempt via Script Test Mode (CVE-2026-43947)&rdquo; to your SIEM to identify exploitation attempts targeting the <code>/api/runscript</code> endpoint.</li>
<li>Apply access controls to the <code>/api/runscript</code> endpoint and require authentication for all script execution requests.</li>
<li>Monitor web server logs for unusual POST requests to <code>/api/runscript</code> containing the parameter <code>test: true</code>.</li>
<li>Inspect running FUXA instances to determine if the fuxa-server package version is 1.3.0.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>rce</category><category>unauthenticated</category><category>cve-2026-43947</category></item></channel></rss>