GeoServer unsafe XPath evaluation in property names
CVE-2024-36401Known exploitedCritical
GeoServer evaluates property and attribute names as XPath expressions without proper validation, allowing unauthenticated attackers to execute arbitrary code. An attacker can craft malicious input in OGC request parameters such as WFS GetFeature, WMS GetMap, or WPS Execute requests to trigger code execution. This affects all GeoServer instances by default because the vulnerable XPath evaluation is incorrectly applied to simple feature types as well as complex ones.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 15 Jul 2024
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
OSGeo GeoServer. CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Weakness: CWE-94 (opens in a new tab), CWE-95 (opens in a new tab)
Affected versions
- geoserver geoserver: before 2.22.6
- geoserver geoserver: from 2.23.0, before 2.23.6
- geoserver geoserver: from 2.24.0, before 2.24.4
- geoserver geoserver: from 2.25.0, before 2.25.2
- geotools geotools: before 29.6
- geotools geotools: from 30.1, before 30.4
- geotools geotools: from 31.1, before 31.2
- geotools geotools: 30.0
- geotools geotools: 31.0