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

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

OSGeo / GeoServer · geoserver / geoserver

Inscription au KEV 14 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans 2 des 4 sources de PoC : metasploit et 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 et 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
étape actuelle
KEV
divulgation
délai avant KEV
T+14d KEV : date seule
CVSS
9.8 CRITICAL v3.1
date limite KEV
2024-08-05

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2024-07-01T15:25Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
metasploit, nuclei
ITWexploitée
≤ 2024-07-15, déduite du KEV
KEVKEV
2024-07-15, date seule

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par GitHub_M. CVSS 9.8, gravité critique. Évaluation SSVC de la CISA : exploitation au niveau « active ».

source cvelist · importé en masse par nday le · brut
{
  "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 seule, selon la source
+KEVinscription au KEV

La CISA a inscrit cette vulnérabilité à son catalogue des vulnérabilités exploitées connues (KEV), avec une date limite de remédiation fixée au 2024-08-05. Utilisation par des rançongiciels : inconnue.

source kev · importé en masse par nday le · brut
{
  "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-15déduite, sans source directe
~ITWexploitation active

Aucune source n’indique le début de l’exploitation. L’inscription au KEV prouve qu’elle avait déjà cours : on sait seulement qu’elle a commencé au plus tard à cette date. Évaluation SSVC de la CISA : exploitation au niveau « active ».

source de la déduction : kev et évaluation de la CISA dans cvelist

date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/multi/http/geoserver_unauth_rce_cve_2024_36401 (« Geoserver unauthenticated Remote Code Execution »). La source n’indique pas la date de publication du module.

source metasploit exploit/multi/http/geoserver_unauth_rce_cve_2024_36401 · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Nuclei propose le modèle de détection CVE-2024-36401 (« GeoServer RCE in Evaluating Property Name Expressions »). La source n’indique pas la date de publication du modèle.

source nuclei · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.