<?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>Print-Servlet (3.0.0-3.28.29, 3.29.0-3.30.31, 3.31.0-3.31.23, 3.32.0-3.33.15, 3.34.0-4.0.4) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/print-servlet-3.0.0-3.28.29-3.29.0-3.30.31-3.31.0-3.31.23-3.32.0-3.33.15-3.34.0-4.0.4/</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>Sat, 29 Aug 2026 03:13:43 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/print-servlet-3.0.0-3.28.29-3.29.0-3.30.31-3.31.0-3.31.23-3.32.0-3.33.15-3.34.0-4.0.4/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>XXE Vulnerability in MapFish Print</title><link>https://feed.craftedsignal.io/briefs/2026-08-mapfish-xxe/</link><pubDate>Sat, 29 Aug 2026 03:13:43 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-mapfish-xxe/</guid><description>MapFish Print is susceptible to an XML External Entity (XXE) injection vulnerability via the GML layer processing feature, allowing attackers to perform arbitrary file reads or Server-Side Request Forgery (SSRF).</description><content:encoded><![CDATA[<p>MapFish Print, a Java-based web application for generating printable reports, contains an XML External Entity (XXE) vulnerability identified as CVE-2026-55848. The issue originates from the way the print service processes GML layers. By submitting a JSON payload to the <code>/api/print3/print/mapviewer/buildreport.pdf</code> endpoint with a manipulated GML layer URL, an attacker can point the application to a remote, malicious DTD file.</p>
<p>When processed, this configuration triggers the XXE, which can be leveraged to exfiltrate local files from the server, perform directory listing, or initiate SSRF attacks against internal network resources. The vulnerability affects multiple versions of the <code>print-lib</code> and <code>print-servlet</code> components within the 3.x and 4.x branches. This impact is significant for organizations deploying MapFish Print in cloud environments, as it may lead to the exposure of Kubernetes service account tokens or other sensitive system credentials.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker stands up a remote server hosting a malicious PHP script (xxe.php) and an associated DTD file (evil.dtd).</li>
<li>The attacker constructs a JSON request for the MapFish Print <code>buildreport.pdf</code> endpoint.</li>
<li>The JSON request includes a <code>layers</code> object with the <code>type</code> set to <code>gml</code> and a <code>url</code> pointing to the attacker-controlled <code>xxe.php</code> script with a file path parameter (e.g., <code>/etc/passwd</code>).</li>
<li>The MapFish Print server initiates an HTTP request to the attacker-controlled <code>xxe.php</code> server to retrieve the XML configuration.</li>
<li>The attacker's server responds with an XML document containing the malicious DTD and the defined entity, which triggers the file read on the MapFish server.</li>
<li>The MapFish server attempts to load the file referenced by the entity, and the error processing mechanism (specifically 404 handler) returns the content of the target file in the response body.</li>
<li>The attacker receives the sensitive file contents directly in the HTTP response from the MapFish Print service.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for the unauthorized disclosure of local server files, including sensitive configuration files and credentials. Furthermore, the vulnerability supports SSRF, enabling attackers to interact with internal infrastructure, potentially bypassing network segmentation or accessing metadata services in cloud environments.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade MapFish Print to the latest version (v4.0.5 or higher) to remediate CVE-2026-55848.</li>
<li>Implement an egress filtering policy on all MapFish Print servers to restrict outbound HTTP/HTTPS connections, preventing the application from fetching untrusted remote DTDs.</li>
<li>Deploy WAF rules to inspect JSON payloads sent to the print API for anomalous GML layer URLs, specifically looking for external domains or unusual URI parameters.</li>
<li>Review server logs for anomalous outbound HTTP requests originating from the MapFish Print application process.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xxe</category><category>cve-2026-55848</category><category>vulnerability</category><category>webserver</category></item></channel></rss>