<?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>Gs-Web-App - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/gs-web-app/</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, 19 Aug 2026 22:33:48 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/gs-web-app/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>GeoServer Server-Side Template Injection Vulnerability</title><link>https://feed.craftedsignal.io/briefs/2026-08-geoserver-ssti/</link><pubDate>Wed, 19 Aug 2026 22:33:48 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-geoserver-ssti/</guid><description>An authenticated administrator can exploit a server-side template injection (SSTI) vulnerability in GeoServer's FreeMarker engine to execute arbitrary OS commands and perform unauthorized file operations.</description><content:encoded><![CDATA[<p>GeoServer contains a server-side template injection (SSTI) vulnerability, tracked as CVE-2024-45747, affecting versions prior to 2.27.0. The vulnerability resides in the processing engine for FreeMarker templates used in WMS output formats, specifically GetFeatureInfo (HTML and JSON) and GetMap (KML and GeoRSS). While the internal method org.geoserver.template.TemplateUtils.getSafeConfiguration() is designed to restrict access to the freemarker.template.utility.Execute class, attackers can bypass these protections by chaining specific method calls. This flaw allows an authenticated administrator to upload malicious templates, ultimately resulting in remote code execution (RCE) and arbitrary file read/write operations on the hosting server. Defenders should note that this vulnerability requires administrative authentication, making the protection of administrative credentials and session management critical for risk mitigation.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker obtains or creates an authenticated administrative session to the target GeoServer instance.</li>
<li>Attacker navigates to the WMS output settings or administrative template management interface.</li>
<li>Attacker crafts a malicious FreeMarker template designed to chain method calls that bypass the TemplateUtils restriction.</li>
<li>Attacker uploads the crafted template through the administrative web interface.</li>
<li>Attacker triggers the WMS GetFeatureInfo or GetMap functionality to invoke the injected template processing.</li>
<li>The server-side FreeMarker engine processes the template, failing to restrict access to sensitive utility classes.</li>
<li>Malicious code executes with the privileges of the GeoServer application process.</li>
<li>Attacker achieves remote code execution or unauthorized access to the filesystem.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an authenticated attacker to gain full control over the GeoServer instance through remote code execution. Furthermore, the ability to read and write arbitrary files on the server enables the extraction of sensitive configuration data, credentials, or the modification of application logic to establish persistence. This vulnerability affects multiple core components of the GeoServer ecosystem, including gs-main, gs-wms, and gs-web-app.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade all GeoServer deployments to version 2.27.0 or later to patch CVE-2024-45747.</li>
<li>Configure the new application properties GEOSERVER_FREEMARKER_BLOCK_LIST and GEOSERVER_FREEMARKER_ALLOW_LIST to enforce strict access controls on FreeMarker template object access.</li>
<li>Monitor administrative logs for unauthorized or unexpected template uploads and modifications.</li>
<li>Restrict access to administrative interfaces to trusted management subnets to mitigate the prerequisite authentication requirement.</li>
</ol>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>rce</category><category>geoserver</category></item></channel></rss>