LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2024-36401: OSGeo GeoServer GeoTools Eval Injection Vulnerability

RBRecent Breaches Vulnerability Intelligence·Jul 15, 2024
High⚠ Actively exploited (CISA KEV)
High
Severity
Active
CISA KEV
No
Ransomware use
Aug 5, 2024
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2024-36401 to its Known Exploited Vulnerabilities catalog on Jul 15, 2024, with a federal patch deadline of Aug 5, 2024 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

OSGeo GeoServer GeoTools contains an improper neutralization of directives in dynamically evaluated code vulnerability due to unsafely evaluating property names as XPath expressions. This allows…

CVE-2024-36401 is an eval injection vulnerability in OSGeo GeoServer (via GeoTools) that lets unauthenticated attackers achieve remote code execution by supplying specially crafted input. It matters because GeoServer often sits on networks that publish or process geospatial data; successful exploitation can give an attacker full control of the host without any credentials.

CISA classifies the issue under CWE-95 and notes that the product unsafely evaluates property names as XPath expressions. Confirm every version, configuration, and fix detail against the vendor advisory before acting.

How it works

The root weakness is CWE-95: improper neutralization of directives in dynamically evaluated code. In this case GeoTools treats certain property names as XPath expressions and evaluates them without adequate sanitization. An attacker who can reach the vulnerable endpoint can therefore inject expressions that the evaluation engine executes as code on the server.

Because the attack requires no authentication, any network-accessible GeoServer instance that processes the affected input path is a potential target. Exact request formats and payload construction are not described here; treat any unexpected XPath-like or property-name traffic as suspicious and verify against the vendor advisory.

Am I affected? How to find it in your systems

GeoServer is commonly deployed as a Java web application that serves maps, features, and geospatial web services (WMS, WFS, etc.). It may run on-premises, in containers, or in cloud environments, often behind reverse proxies or load balancers.

If you cannot determine the version or exposure status, assume the instance is vulnerable until proven otherwise by the vendor’s guidance.

How to remediate

The primary remediation is to apply the vendor-supplied update that addresses CVE-2024-36401. Follow the installation and verification steps given in the official advisory; after patching, restart the service and confirm the new version is running.

Hardening steps that reduce the general risk of eval-injection flaws include restricting the set of properties that can be evaluated, running the service under a least-privilege account, and keeping the Java runtime and all dependent libraries current.

If you can't patch immediately

Until the vendor update can be applied, reduce exposure with compensating controls:

These measures lower risk but do not eliminate it; schedule the official patch as soon as operationally feasible.

If your data may have been exposed

Actively exploited remote-code-execution vulnerabilities frequently lead to data theft or further compromise. Known ransomware use of this specific CVE is not documented, yet any successful exploitation should be treated as a potential breach. Review system and network logs for indicators of compromise, isolate affected hosts, and follow your incident-response plan. As an additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether credentials or personal information have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedOSGeo · GeoServer
WeaknessCWE-95
Added to CISA KEVJul 15, 2024
Federal patch deadlineAug 5, 2024
Known ransomware useNot documented
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities