<?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>Netty-Codec-Xml (4.2.0.Final - 4.2.15.Final) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/netty-codec-xml-4.2.0.final---4.2.15.final/</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, 22 Jul 2026 21:47:02 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/netty-codec-xml-4.2.0.final---4.2.15.final/feed.xml" rel="self" type="application/rss+xml"/><item><title>Netty XML Injection Vulnerability (CVE-2026-56817)</title><link>https://feed.craftedsignal.io/briefs/2026-07-netty-xml-injection/</link><pubDate>Wed, 22 Jul 2026 21:47:02 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-netty-xml-injection/</guid><description>A misconfiguration vulnerability (CVE-2026-56817) in Netty's XmlDecoder component allows attackers to send XML with DOCTYPE declarations to an unconfigured XML factory, potentially leading to XML External Entity (XXE) injection if the underlying Aalto XML parser resolves external entities, impacting Netty applications using `netty-codec-xml` versions 4.1.0.Final through 4.1.135.Final and 4.2.0.Final through 4.2.15.Final.</description><content:encoded><![CDATA[<p>A high-severity misconfiguration vulnerability, tracked as CVE-2026-56817, exists within the <code>XmlDecoder</code> component of the Netty framework's <code>netty-codec-xml</code> library. This flaw allows any attacker capable of delivering bytes to a Netty channel pipeline containing <code>XmlDecoder</code> to send specially crafted XML. The vulnerability arises because the XML factory used by <code>XmlDecoder</code> can be instantiated without proper security configuration, enabling active Document Type Definition (DTD) and external entity handling. This permits the submission of XML payloads containing <code>DOCTYPE</code> declarations that refer to external entities, a common vector for XML External Entity (XXE) injection attacks. The exploitability is conditional, depending on whether the underlying Aalto XML parser resolves these external entities. Affected versions include <code>netty-codec-xml</code> from 4.1.0.Final up to and including 4.1.135.Final, and from 4.2.0.Final up to and including 4.2.15.Final. This vulnerability could lead to information disclosure, server-side request forgery (SSRF), or other impacts.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>An attacker identifies a Netty-based application that accepts XML input and uses a vulnerable version of the <code>netty-codec-xml</code> library.</li>
<li>The attacker crafts a malicious XML payload containing a <code>&lt;!DOCTYPE</code> declaration with an external entity reference (e.g., <code>&lt;!ENTITY xxe SYSTEM &quot;file:///path/to/sensitive/file&quot;&gt;</code>).</li>
<li>The attacker sends this crafted XML payload, typically via an HTTP POST request, to the vulnerable Netty application's endpoint.</li>
<li>The Netty application's channel pipeline receives the input bytes and routes them to the <code>XmlDecoder</code> component for processing.</li>
<li>The <code>XmlDecoder</code> processes the XML using an underlying parser (such as Aalto XML) that has been instantiated with no security configuration, allowing it to handle DTDs and resolve external entities.</li>
<li>If the specific configuration and runtime behavior of the Aalto XML parser resolve external entities, the attacker-controlled external entity reference is processed.</li>
<li>This processing can lead to information disclosure (e.g., reading local files or internal network resources) or Server-Side Request Forgery (SSRF) if the entity points to remote URLs, impacting the confidentiality and integrity of the application.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-56817 can lead to XML External Entity (XXE) injection, which primarily results in information disclosure. Attackers may be able to read arbitrary files on the vulnerable server, potentially exposing sensitive data, configuration files, or credentials. Depending on the server's network configuration and the capabilities of the XML parser, attackers might also be able to perform Server-Side Request Forgery (SSRF) to access internal network resources or external services, or initiate port scans. While the exploitability is conditional, affected organizations face a significant risk of data exfiltration and unauthorized access to internal systems if the vulnerable Netty applications are internet-facing or process untrusted XML input.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-56817 by updating <code>netty-codec-xml</code> to a non-vulnerable version (e.g., 4.1.136.Final or 4.2.16.Final) immediately.</li>
<li>Deploy the Sigma rule &quot;Detects CVE-2026-56817 Exploitation - HTTP POST with DOCTYPE Declaration&quot; to your SIEM to identify attempts at XXE injection.</li>
<li>Enable comprehensive webserver logging to capture HTTP request bodies for analysis of XML payloads.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>netty</category><category>xml</category><category>xxe</category><category>vulnerability</category><category>java</category><category>server-side</category><category>web-application</category></item></channel></rss>