nday
CVE-2024-36401 GHSA-6jj6-gm7p-fcvv

Remote Code Execution (RCE) vulnerability in evaluating property name expressions in Geoserver

OSGeo / GeoServer · geoserver / geoserver

Added to KEV 14 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: metasploit and nuclei.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-94, stated by NVD's analystsCWE-95, stated by the CNA GitHub_M and NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA GitHub_M
Metasploit
Metasploit modules exploit/multi/http/geoserver_unauth_rce_cve_2024_36401
nuclei
nuclei templates CVE-2024-36401
stage
KEV
disclosed
disclosure → KEV
T+14d KEV is date-only
cvss
9.8 CRITICAL v3.1
KEV due date
2024-08-05

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2024-07-01T15:25Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit, nuclei
ITWexploited
≤ 2024-07-15, inferred from KEV
KEVKEV
2024-07-15, date only

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA GitHub_M.

Event log

+DISdisclosed

CVE record published by GitHub_M. CVSS 9.8, critical. CISA's SSVC assessment rates exploitation as active.

src cvelist · nday , bulk import · raw
{
  "id": 17447,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-36401",
  "occurred_at": "2024-07-01T15:25:41.873Z",
  "observed_at": "2026-11-12T15:01:53.938848Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-36401",
      "date_added": "2024-07-15"
    },
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.8,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2024-07-13T03:55:17.574252Z",
      "automatable": "yes",
      "exploitation": "active",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-07-01T15:25:41.873Z",
    "assigner_short_name": "GitHub_M"
  }
}
2024-07-15date only, from source
+KEVadded to KEV

CISA added it to the Known Exploited Vulnerabilities catalog, with a remediation deadline of 2024-08-05. Ransomware use: unknown.

src kev · nday , bulk import · raw
{
  "id": 649,
  "type": "kev_added",
  "source": "kev",
  "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
  "occurred_at": "2024-07-15T00:00:00Z",
  "observed_at": "2026-11-12T13:53:00.018191Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cwes": [
      "CWE-95"
    ],
    "notes": "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",
    "product": "GeoServer",
    "due_date": "2024-08-05",
    "precision": "day",
    "date_added": "2024-07-15",
    "vendor_project": "OSGeo",
    "forensic_triage": "No",
    "required_action": "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.",
    "vulnerability_name": "OSGeo GeoServer GeoTools Eval Injection Vulnerability",
    "known_ransomware_campaign_use": "Unknown"
  }
}
≤ 2024-07-15inferred, no direct source
~ITWexploited in the wild

No source says when exploitation began. A KEV listing means it was already happening, so only an upper bound is known. CISA's SSVC assessment rates exploitation as active.

based on kev and CISA's assessment in cvelist

time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/multi/http/geoserver_unauth_rce_cve_2024_36401 (Geoserver unauthenticated Remote Code Execution). The source gives no release time for the module.

src metasploit exploit/multi/http/geoserver_unauth_rce_cve_2024_36401 · nday , bulk import · raw
{
  "id": 51176,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/geoserver_unauth_rce_cve_2024_36401.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/geoserver_unauth_rce_cve_2024_36401",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/geoserver_unauth_rce_cve_2024_36401.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/geoserver_unauth_rce_cve_2024_36401.rb",
    "rank": 600,
    "check": true,
    "title": "Geoserver unauthenticated Remote Code Execution",
    "cve_ids": [
      "CVE-2024-36401"
    ],
    "fullname": "exploit/multi/http/geoserver_unauth_rce_cve_2024_36401",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-02-09 15:17:23 +0000",
    "vuln_disclosure_date": "2024-07-01"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2024-36401 (GeoServer RCE in Evaluating Property Name Expressions). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 56288,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-36401.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2024-36401",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-36401.yaml",
    "kind": "detection_template",
    "title": "GeoServer RCE in Evaluating Property Name Expressions",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "N/A",
    "template_id": "CVE-2024-36401",
    "template_path": "http/cves/2024/CVE-2024-36401.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.