CVE-2024-36401

unknown KEV
Published 2024-07-01 ยท Modified 2024-07-15
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
2.5

Description

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 unauthenticated attackers to conduct remote code execution via specially crafted input.

CISA KEV

Vendor
OSGeo
Product
GeoServer
Due date
2024-08-05

Predictions

Exploit likelihood
99%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27
{Vendor advisory: cisa-kev โ€” This vulnerability affects an open-source component, third-party library, or a protocol used by different products. For more information, please see: https://github.com/geoserver/geoserver/security/advisories/GHSA-6jj6-gm7p-fcvv, https://github.com/geotools/geotools/pull/4797 ; https://nvd.nist.gov/vuln/detail/CVE-2024-36401}

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Metasploit modules

Geoserver unauthenticated Remote Code Execution
Source code queued for fetch โ€” refresh in a moment.

Package impact

EcosystemPackageVulnerableFixed
java Mavenorg.geoserver.web:gs-web-app>=2.24.0,<2.24.42.24.4
java Mavenorg.geoserver:gs-wfs>=2.24.0,<2.24.42.24.4
java Mavenorg.geoserver:gs-wms>=2.24.0,<2.24.42.24.4
java Mavenorg.geoserver.web:gs-web-app>=2.25.0,<2.25.22.25.2
java Mavenorg.geoserver:gs-wfs>=2.25.0,<2.25.22.25.2
java Mavenorg.geoserver:gs-wms>=2.25.0,<2.25.22.25.2
java Mavenorg.geoserver.web:gs-web-app>=2.23.0,<2.23.62.23.6
java Mavenorg.geoserver:gs-wfs>=2.23.0,<2.23.62.23.6
java Mavenorg.geoserver:gs-wms>=2.23.0,<2.23.62.23.6
java Mavenorg.geoserver.web:gs-web-app<2.22.62.22.6
java Mavenorg.geoserver:gs-wfs<2.22.62.22.6
java Mavenorg.geoserver:gs-wms<2.22.62.22.6

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.