CVE-2024-36401
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2, multiple OGC request parameters allow Remote Code Execution (RCE) by unauthenticated users through specially crafted input against a default GeoServer installation due to unsafely evaluating property names as XPath expressions. The GeoTools library API that GeoServer calls evaluates property/attribute names for feature types in a way that unsafely passes them to the commons-jxpath library which can execute arbitrary code when evaluating XPath expressions. This XPath evaluation is intended to be used only by complex feature types (i.e., Application Schema data stores) but is incorrectly being applied to simple feature types as well which makes this vulnerability apply to **ALL** GeoServer instances. No public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS GetFeature, WFS GetPropertyValue, WMS GetMap, WMS GetFeatureInfo, WMS GetLegendGraphic and WPS Execute requests. This vulnerability can lead to executing arbitrary code. Versions 2.22.6, 2.23.6, 2.24.4, and 2.25.2 contain a patch for the issue. A workaround exists by removing the `gt-complex-x.y.jar` file from the GeoServer where `x.y` is the GeoTools version (e.g., `gt-complex-31.1.jar` if running GeoServer 2.25.1). This will remove the vulnerable code from GeoServer but may break some GeoServer functionality or prevent GeoServer from deploying if the gt-complex module is needed.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
CISA deadline for US federal civilian agencies ·
CISA’s required action (complete text): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Ask about this evidenceTimeline
- Published by NVD
- Added to CISA known exploited list
- First covered by RedTeamDaily
- Last updated by NVD
Affected products
| Product | Versions |
|---|---|
Osgeo GeoserverComponent identitycpe:2.3:a:osgeo:geoserver | before 2.22.6; from 2.23.0 before 2.23.6; from 2.24.0 before 2.24.4; from 2.25.0 before 2.25.2 |
Osgeo GeotoolsComponent identitycpe:2.3:a:osgeo:geotools | before 29.6; exactly 30.0; exactly 30.0-rc; from 30.1 before 30.4; exactly 31.0; exactly 31.0-rc and 1 more |
Source evidence and freshness
Lifecycle: Analyzed. Technical severity: CVSS 3.1 · Provider: nvd@nist.gov. Exploitation evidence and inventory applicability are separate assessments.
Source configuration conditions
Source expressions may include required platforms and alternatives. Unsupported expressions remain unresolved in the version checker.
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
"vulnerable": true,
"versionEndExcluding": "2.22.6"
},
{
"criteria": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
"vulnerable": true,
"versionEndExcluding": "2.23.6",
"versionStartIncluding": "2.23.0"
},
{
"criteria": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
"vulnerable": true,
"versionEndExcluding": "2.24.4",
"versionStartIncluding": "2.24.0"
},
{
"criteria": "cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*",
"vulnerable": true,
"versionEndExcluding": "2.25.2",
"versionStartIncluding": "2.25.0"
},
{
"criteria": "cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*",
"vulnerable": true,
"versionEndExcluding": "29.6"
},
{
"criteria": "cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*",
"vulnerable": true,
"versionEndExcluding": "30.4",
"versionStartIncluding": "30.1"
},
{
"criteria": "cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*",
"vulnerable": true,
"versionEndExcluding": "31.2",
"versionStartIncluding": "31.1"
},
{
"criteria": "cpe:2.3:a:osgeo:geotools:30.0:-:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:osgeo:geotools:30.0:rc:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:osgeo:geotools:31.0:-:*:*:*:*:*:*",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:osgeo:geotools:31.0:rc:*:*:*:*:*:*",
"vulnerable": true
}
],
"operator": "OR"
}
]
}
]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Provider-specific scores
- security-advisories@github.com · CVSS 3.1 · 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - nvd@nist.gov · CVSS 3.1 · 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Remediation by product and branch
Osgeo Geoserver
before 2.22.6
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
from 2.23.0 before 2.23.6
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
from 2.24.0 before 2.24.4
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
from 2.25.0 before 2.25.2
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
Osgeo Geotools
before 29.6
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
exactly 30.0
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
exactly 30.0-rc
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
from 30.1 before 30.4
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
exactly 31.0
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
exactly 31.0-rc
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
from 31.1 before 31.2
verification required
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD advisory · Verified: not recorded
FIRST EPSS forecast
No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.
A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits
Change history
Changes to the source evidence for this vulnerability. Retrievals that changed nothing are not listed. Email already sent is not edited afterwards.
Affected rule added ·
Osgeo Geotools exactly 31.0-rc (NVD)
Recorded entry #37142
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "31.0-rc", "from": "31.0-rc", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": true, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geotools exactly 31.0 (NVD)
Recorded entry #37141
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "31.0", "from": "31.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": true, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geotools exactly 30.0-rc (NVD)
Recorded entry #37140
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "30.0-rc", "from": "30.0-rc", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": true, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geotools exactly 30.0 (NVD)
Recorded entry #37139
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "30.0", "from": "30.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": true, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geotools from 31.1 before 31.2 (NVD)
Recorded entry #37138
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "31.2", "from": "31.1", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": false, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geotools from 30.1 before 30.4 (NVD)
Recorded entry #37137
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "30.4", "from": "30.1", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": false, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geotools before 29.6 (NVD)
Recorded entry #37136
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "29.6", "from": null, "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": false, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geoserver from 2.25.0 before 2.25.2 (NVD)
Recorded entry #37135
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "2.25.2", "from": "2.25.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": false, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geoserver from 2.24.0 before 2.24.4 (NVD)
Recorded entry #37134
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "2.24.4", "from": "2.24.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": false, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geoserver from 2.23.0 before 2.23.6 (NVD)
Recorded entry #37133
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "2.23.6", "from": "2.23.0", "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": false, "fixedVerified": false, "fromInclusive": true } }Affected rule added ·
Osgeo Geoserver before 2.22.6 (NVD)
Recorded entry #37132
Reason recorded: affected rule changed
{ "fields": [], "rule": { "to": "2.22.6", "from": null, "branch": null, "source": "NVD", "fixedIn": null, "toInclusive": false, "fixedVerified": false, "fromInclusive": true } }Provider-specific CVSS assessments, NVD affected-configuration data ·
- Provider-specific CVSS assessments: updated
- NVD affected-configuration data: updated NVD revised which product configurations it lists. Current data is in the affected products and source evidence above.
Recorded entry #37131
Reason recorded: source material change
{ "fields": [ { "kind": "summary", "field": "assessments", "label": "Provider-specific CVSS assessments", "revised": null, "previous": null }, { "kind": "summary", "field": "configuration_tree", "label": "NVD affected-configuration data", "revised": null, "previous": null } ] }CVSS base score, CVSS version, CVSS vector, NVD record status ·
- CVSS base score: not recorded → 9.8
- CVSS version: not recorded → 3.1
- CVSS vector: not recorded → CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD record status: not recorded → Analyzed
Recorded entry #37129
Reason recorded: source material change
{ "fields": [ { "kind": "value", "field": "cvss", "label": "CVSS base score", "revised": 9.8, "previous": null }, { "kind": "value", "field": "cvss_version", "label": "CVSS version", "revised": "3.1", "previous": null }, { "kind": "value", "field": "cvss_vector", "label": "CVSS vector", "revised": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "previous": null }, { "kind": "value", "field": "nvd_status", "label": "NVD record status", "revised": "Analyzed", "previous": null } ] }
Coverage
RedOps espionage campaign breaches Thai and Philippine government and military networks
The RedOps campaign involved five confirmed intrusions into military, government and legislative organisations in Thailand and the Philippines, with reconnaissance against more than 30 Indonesian bodies but no confirmed breaches there. The attackers exploited CVE-2024-36401 in GeoServer, default JasperReports credentials, a Keycloak server, a vulnerable osTicket deployment and a Laravel app in debug mode. SOCRadar tracks the group as WeaveLotus, with moderate confidence in Vietnamese state sponsorship.
Sources: NVD and CISA known exploited vulnerabilities catalogue.