<?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>NukeViet (&lt; 4.6.00) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/nukeviet--4.6.00/</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>Mon, 13 Jul 2026 17:58:46 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/nukeviet--4.6.00/feed.xml" rel="self" type="application/rss+xml"/><item><title>NukeViet Multiple Anti-XSS Filter Bypasses Leading to Stored XSS</title><link>https://feed.craftedsignal.io/briefs/2026-07-nukeviet-xss-bypass/</link><pubDate>Mon, 13 Jul 2026 17:58:46 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-nukeviet-xss-bypass/</guid><description>Two filter-bypass techniques in NukeViet\Core\Request allow a low-privileged user with news-posting permission to store and execute arbitrary JavaScript in the browsers of any visitor to an affected page, leading to session cookie theft, credential harvesting, defacement, and further privilege escalation via CVE-2026-54064.</description><content:encoded><![CDATA[<p>A critical vulnerability, CVE-2026-54064, has been identified in NukeViet content management system versions prior to 4.6.00, specifically impacting the <code>NukeViet\Core\Request</code> class. This vulnerability allows a low-privileged authenticated user with news-posting permissions to execute stored Cross-Site Scripting (XSS) attacks. Two distinct filter bypass techniques enable attackers to inject arbitrary JavaScript: one involves prefixing HTML event handler attributes with a Form Feed character (<code>\x0C</code>) to circumvent <code>filterAttr()</code>'s <code>on</code> keyword check, and the other utilizes a decimal HTML entity (<code>&amp;#9;</code>) for a tab character within <code>javascript:</code> URIs to bypass <code>unhtmlentities()</code>'s keyword filtering. These bypasses allow malicious scripts to be embedded in news articles, which are then rendered and executed in the browsers of any visitor, including administrators. This can lead to severe consequences such as session hijacking, credential theft, website defacement, and potential full system compromise, underscoring the importance of immediate patching.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker obtains low-privileged user credentials for a NukeViet instance, with permissions to post or edit news articles.</li>
<li>The attacker crafts a malicious payload, such as <code>&lt;img src=&quot;x&quot; %0Conerror=&quot;alert('XSS')&quot;&gt;</code>, intending to inject it into a news article's content.</li>
<li>Alternatively, the attacker crafts a Markdown-style link containing <code>jav&amp;#9;ascript:alert('XSS')</code>, which is designed to bypass NukeViet's input sanitization.</li>
<li>The attacker submits the crafted payload as part of the <code>bodyhtml</code> field when creating or updating a news article within the NukeViet CMS.</li>
<li>NukeViet's backend processing, specifically <code>NukeViet\Core\Request::filterAttr()</code> and <code>NukeViet\Core\Request::unhtmlentities()</code>, fails to correctly sanitize the input due to the identified filter bypasses.</li>
<li>The unsanitized malicious HTML and JavaScript are persistently stored in the NukeViet database.</li>
<li>When any user, including an administrator, browses to the affected news article page, their web browser renders the malicious content.</li>
<li>The embedded JavaScript executes within the victim's browser context, potentially leading to session cookie theft, credential harvesting, or other malicious actions, ultimately resulting in privilege escalation or further compromise.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>The successful exploitation of this vulnerability grants an authenticated attacker with news-posting permissions the ability to inject persistent JavaScript into the NukeViet content management system. This JavaScript executes within the browser of any user who views the compromised news article, including highly privileged administrators. The primary consequences include session cookie theft, which can lead to account takeover, and credential harvesting through deceptive forms. Furthermore, attackers could deface the website, redirect users to malicious sites, or leverage the compromised administrator session to achieve further privilege escalation and potentially full control over the NukeViet installation and underlying server. This widespread impact on all visitors, coupled with the potential for administrative account compromise, poses a significant threat to data integrity and system security.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Apply the patch by updating NukeViet to version 4.6.00 or higher immediately to address CVE-2026-54064.</li>
<li>Implement robust web application firewall (WAF) rules to detect and block requests containing known XSS bypass techniques, such as the Form Feed character (<code>%0C</code>) within HTML attribute names or decimal HTML entities (<code>&amp;#9;</code>) in <code>javascript:</code> URIs, specifically referencing the patterns found in CVE-2026-54064.</li>
<li>Enable comprehensive logging of HTTP request bodies for web servers hosting NukeViet instances, where feasible, to capture full payload data for detection and forensic analysis of XSS attempts related to CVE-2026-54064.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>web-vulnerability</category><category>cms</category><category>cross-site-scripting</category><category>filter-bypass</category></item><item><title>NukeViet: Path Traversal to Arbitrary File Deletion in Edit Comment Function</title><link>https://feed.craftedsignal.io/briefs/2026-07-nukeviet-path-traversal/</link><pubDate>Mon, 13 Jul 2026 17:57:37 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-nukeviet-path-traversal/</guid><description>An authenticated administrator in NukeViet is vulnerable to a path traversal flaw (CVE-2026-54065) in the Edit Comment admin function, allowing an attacker to inject a crafted `attach` parameter which, upon comment deletion, leads to arbitrary file deletion within the application root, causing a full application outage and exposing the install wizard.</description><content:encoded><![CDATA[<p>A high-severity path traversal vulnerability, tracked as CVE-2026-54065, affects NukeViet versions prior to 4.6.00. This flaw resides within the Edit Comment administrative function and can be exploited by an authenticated administrator. Attackers can leverage an unvalidated <code>attach</code> parameter in an HTTP POST request to inject path traversal sequences (e.g., <code>../../</code>) into the database. When a comment containing this malicious <code>attach</code> value is subsequently deleted, the <code>nv_deletefile()</code> function, which uses <code>realpath()</code> but lacks sufficient directory restriction, is tricked into deleting arbitrary files within the <code>NV_ROOTDIR</code>, such as <code>config.php</code>. This can lead to a complete application outage and exposure of the installation wizard, severely impacting the availability and integrity of the affected NukeViet instance.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker gains or has access to administrator credentials for a NukeViet instance.</li>
<li>The attacker logs into the NukeViet admin panel and navigates to the &quot;Comment Management&quot; section.</li>
<li>The attacker intercepts the HTTP POST request made when editing an existing comment.</li>
<li>The attacker crafts the <code>attach</code> parameter in the POST request by prepending 26 arbitrary characters (e.g., <code>aaaaaaaaaaaaaaaaaaaaaaaaaa</code>) followed by a path traversal sequence leading to a critical file, such as <code>../../config.php</code>.</li>
<li>The vulnerable <code>substr()</code> function processes this crafted <code>attach</code> parameter, effectively storing <code>../../config.php</code> into the database due to incorrect length calculation and lack of validation.</li>
<li>The attacker then deletes the modified comment from the NukeViet admin panel.</li>
<li>During the comment deletion process, <code>del.php</code> retrieves the malicious <code>attach</code> value from the database and passes it to <code>nv_deletefile()</code>.</li>
<li><code>nv_deletefile()</code> resolves the path to the target file (e.g., <code>config.php</code>) using <code>realpath()</code> and proceeds to delete it from the application root, bypassing directory restrictions.</li>
<li>The NukeViet application becomes inoperable due to the deletion of critical files like <code>config.php</code>, immediately redirecting to the install wizard.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-54065 allows an authenticated administrator to permanently delete any file readable by the web server process within the NukeViet installation root directory (<code>NV_ROOTDIR</code>). The most significant impact is the deletion of <code>config.php</code>, which renders the NukeViet application entirely inoperable and automatically redirects users to the installation wizard, signifying a complete loss of application availability. This vulnerability has a CVSS v3.1 score of 8.7 (High), indicating high impact on integrity and availability with high privileges required but low attack complexity.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-54065 immediately by upgrading NukeViet to version 4.6.00 or later to ensure the <code>nv_is_file()</code> validation is applied to the <code>attach</code> parameter.</li>
<li>Implement web application firewall (WAF) rules to detect and block HTTP POST requests to <code>modules/comment/admin/edit.php</code> containing path traversal sequences (e.g., <code>../</code>, <code>..%2f</code>) within the <code>attach</code> parameter.</li>
<li>Monitor web server logs for HTTP POST requests to <code>modules/comment/admin/edit.php</code> that contain unusual or path-like values in the <code>attach</code> parameter, particularly those with repeated directory traversal sequences, using the Sigma rule provided in this brief.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>path-traversal</category><category>arbitrary-file-deletion</category><category>web-vulnerability</category><category>cms</category></item></channel></rss>