CVE-2026-129245: 
GeoServer Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-129245 is an authentication bypass vulnerability in GeoServer titled "Predictable remember-me key allows administrator session forgery." The remember-me cookie is signed using a hardcoded default key (geoserver) stored in security/config.xml, which most installations never change. An attacker who obtains an administrator password digest (e.g., via a file disclosure vulnerability) can forge a valid remember-me cookie and gain full administrative access without knowing the actual password. Affected versions include GeoServer ≤ 2.27.6, 2.28.0–2.28.5, and 3.0.0–3.0.1. It carries a CVSS v4 base score of 9.2 (Critical) (GitHub Advisory). The advisory was published on November 23, 2026 (GitHub Advisory).

Détails techniques

The root cause is classified as CWE-321 (Use of Hard-coded Cryptographic Key) and CWE-798 (Use of Hard-coded Credentials). GeoServer's GeoServerTokenBasedRememberMeServices validates the remember-me cookie signature using a key read from the rememberMeService section of security/config.xml; the default release data directory ships with the static key geoserver. Critically, the signature uses the stored password digest rather than the plaintext password, meaning an attacker only needs the digest and the key — both potentially obtainable from the same file disclosure — to forge a valid administrator session cookie. This vulnerability is step 4 of a five-step unauthenticated remote code execution chain, with the other steps involving path disclosure (CVE-2026-129244), service security bypass (CVE-2026-129243), XML injection (CVE-2026-120705), and deserialization (CVE-2026-129242) (GitHub Advisory, Ostorlab Blog).

Impact

Successful exploitation grants an unauthenticated attacker full administrative access to the GeoServer instance, enabling complete compromise of confidentiality, integrity, and availability of the vulnerable system. As part of a five-step RCE chain, this vulnerability serves as the authentication step that enables subsequent deserialization-based code execution (CVE-2026-129242), ultimately allowing arbitrary command execution on the underlying server. This can lead to data exfiltration, service disruption, lateral movement within the network, and full server takeover (GitHub Advisory, Eye Security).

Exploitabilité

Exploitation has been reported in the wild, with multiple threat intelligence sources confirming active probing and exploitation of this vulnerability shortly after disclosure (watchTowr, SecurityWeek). Public proof-of-concept details and technical write-ups describing the full exploitation chain have been published by researchers (sh3llc0d3, Ostorlab Blog). The attack requires no privileges and no user interaction, though it does require a prerequisite condition — obtaining the administrator password digest, typically via a chained file disclosure vulnerability. CISA KEV catalog status is not confirmed in available sources.

Étapes d’exploitation

  1. Reconnaissance: Identify internet-facing GeoServer instances (versions ≤ 2.27.6, 2.28.0–2.28.5, or 3.0.0–3.0.1) using tools like Shodan or Censys, searching for GeoServer web interfaces.
  2. Obtain data directory path: Exploit CVE-2026-129244 (WFS stored query exception) to disclose the GeoServer data directory path from error messages.
  3. Bypass service security: Use CVE-2026-129243 (prefixed service name bypass, e.g., x/WFS) to access WFS endpoints that would otherwise require authentication.
  4. Extract administrator password digest: Exploit CVE-2026-120705 (unauthenticated WFS GetFeatureById XML injection) to read security/config.xml or the user store file from the data directory, obtaining both the hardcoded remember-me key (geoserver) and the administrator's stored password digest.
  5. Forge remember-me cookie: Using the known key (geoserver), the administrator username, the password digest, and a chosen expiry timestamp, construct a valid remember-me cookie signature using the same HMAC algorithm as GeoServerTokenBasedRememberMeServices.
  6. Authenticate as administrator: Submit the forged remember-me cookie in an HTTP request to GeoServer, gaining a fully authenticated administrator session without knowing the actual password.
  7. Achieve RCE: Use the administrator session to exploit CVE-2026-129242 (deserialization in JDBC user/role services) to execute arbitrary code on the server (GitHub Advisory, Ostorlab Blog, sh3llc0d3).

Indicateurs de compromis

  • Network: Unexpected HTTP requests to GeoServer endpoints with a remember-me cookie value not matching any legitimate user session; requests to WFS endpoints using prefixed service names (e.g., /x/WFS, /ows?service=x/WFS); unusual outbound connections from the GeoServer host following administrative actions.
  • Logs: GeoServer access logs showing successful administrator logins via remember-me cookie from unfamiliar IP addresses or at unusual times; WFS requests containing XML injection payloads (e.g., referencing file:// URIs or internal paths) in GetFeatureById parameters; error log entries disclosing data directory paths from WFS stored query exceptions.
  • File System: Unexpected modifications to security/config.xml; new or modified files in the GeoServer data directory; web shells or scripts placed in the GeoServer web root or data directory by a post-exploitation payload.
  • Process: Unusual child processes spawned by the GeoServer Java process (e.g., bash, sh, curl, wget, python) indicating successful RCE via the deserialization step of the chain (GitHub Advisory, Eye Security).

Atténuation et solutions de contournement

The primary remediation is to upgrade to GeoServer 3.0.2, 2.28.6, or 2.27.7, where the remember-me key is no longer stored in the data directory — each node now uses a random key, and clusters can set a shared key via the GEOSERVER_REMEMBERME_KEY application property; existing remember-me cookies are invalidated on upgrade (GitHub Advisory). As a workaround for those unable to upgrade immediately, remove rememberme from the web filter chain via Security > Authentication > filter chain web in the GeoServer admin UI. Additionally, change the key in security/config.xml to a long random value and restrict access to the data directory to prevent file disclosure. If exposure is suspected, administrator passwords should be changed immediately (GitHub Advisory, GeoServer Blog).

Réactions de la communauté

The vulnerability received significant attention from the security community due to its role in a five-step unauthenticated RCE chain. watchTowr published an FAQ and confirmed active exploitation in the wild shortly after disclosure (watchTowr). SecurityWeek and The Hacker News covered the active exploitation of the GeoServer flaws (SecurityWeek, The Hacker News). Eye Security and Ostorlab published detailed technical analyses of the full RCE chain (Eye Security, Ostorlab Blog). Social media discussion on Mastodon and Infosec.exchange highlighted the severity and active exploitation, with the Swiss NCSC also issuing a security notice (NCSC Switzerland).

Ressources supplémentaires


Source: Ce rapport a été généré à l’aide de l’IA

Connexe GeoServer Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-129245CRITICAL9.2
  • GeoServer logoGeoServer
  • cpe:2.3:a:geoserver:geoserver
NonOuiNov 24, 2026
CVE-2026-129243HIGH8.8
  • GeoServer logoGeoServer
  • cpe:2.3:a:geoserver:geoserver
NonOuiNov 24, 2026
CVE-2026-120705HIGH8.6
  • GeoServer logoGeoServer
  • cpe:2.3:a:geoserver:geoserver
NonOuiNov 24, 2026
CVE-2026-120704HIGH7.2
  • GeoServer logoGeoServer
  • cpe:2.3:a:geoserver:geoserver
NonOuiNov 24, 2026
CVE-2026-129244MEDIUM6.9
  • GeoServer logoGeoServer
  • cpe:2.3:a:geoserver:geoserver
NonOuiNov 24, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités