CYBERSECURITY

Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains

Hackers Exploit Two GeoServer Flaws as Researchers Warn of Unauthenticated RCE Chains

Critical Flaws Enable Unauthenticated Attacks

Detailed analysis reveals distinct attack mechanisms for these vulnerabilities. CVE-2026-120705, with a CVSS score of 8.6, allows arbitrary file reads. This flaw lets attackers access local text files readable by the GeoServer process. Alternatively, they can request resources via attacker-selected HTTP or HTTPS addresses. This requires only a single unauthenticated request to the Web Feature Service. Similarly, CVE-2026-129243, rated 8.8, is an authorization mechanism defect. It allows users without credentials to trigger OWS operations normally protected by strict security rules.

Risk management firms have observed attackers probing for these vulnerabilities. They use error-based exploitation probes to validate server susceptibility. Eye Security, which reported CVE-2026-120705, highlighted a complex risk dimension. This single flaw can combine with two other vulnerabilities in the same product. Together, they generate a remote code execution chain without requiring authentication.

Active Exploitation and Complex Attack Chains

Analysis also identified other relevant vulnerabilities. CVE-2026-129245 (CVSS 9.2) involves a hardcoded signing key (geoserver) in the remember mefeature. This allows administrators' authentication to be forged. Additionally, CVE-2026-120704 (CVSS 7.2) describes a code generation control issue. It allows an administrator, or anyone with session access, to execute arbitrary code under the GeoServer user identity.

Additional Vulnerabilities and Attack Scenarios

Consider a hypothetical attack scenario. A malicious actor exploits CVE-2026-120705 to access the users.xmlfile. This file contains password hashes and GeoServer usernames. The attacker extracts the password representation and the static signing key from security/config.xml. Next, they exploit CVE-2026-129245. Using the predictable key and the obtained password hash, the attacker generates a valid administrator authentication cookie. Finally, via CVE-2026-120704, the attacker abuses the administrator-controlled JDBC configuration. This executes code from loaded native libraries on both Linux and Windows systems.

The project maintenance team emphasized that CVE-2026-129245 is part of a five-step unauthenticated remote command execution sequence. This sequence includes CVE-2026-129244 (CVSS 6.9), where a WFS stored query exception reveals the data directory path. It also includes CVE-2026-129243 (CVSS 8.8), which bypasses service security rules by prefixing with x/WFS. CVE-2026-120705 (CVSS 8.6) allows XML injection via WFS GetFeatureById without authentication. CVE-2026-129245 (CVSS 9.2) enables administrator session forgery via the predictable remember mekey. Finally, CVE-2026-129242 (CVSS 8.6) allows administrator code execution through deserialization in user and role JDBC services.

Five-Step Unauthenticated RCE Chain

GeoServer administrators clarified that if an attacker obtains the administrator password hash, they can authenticate as admin. They warned that simply changing the key in security/config.xmloffers no protection if that file is also disclosed.

Researcher Insights and Immediate Updates

Jonah Burgess, a Senior Security Researcher at Rapid7 known online as CryptoCat, independently discovered and reported the five-step chain on August 2, 2026. He explained that prefixing the Web Feature Service name, for example x/WFS, bypasses the administrator-only rule for stored queries. GeoServer transforms escaped text from a saved query into live xi:include elements. This leaks files containing the remember-mekey and the administrator password hash. These two values allow forging an administrator cookie without decrypting the password. As an administrator, the attacker directs a JDBC user service to a loaded HSQLDB database. The embedded driver then deserializes a stored value to execute commands.

Given the active exploitation of the two main vulnerabilities, users are strongly advised to update their systems. They should upgrade to GeoServer versions 2.27.7, 2.28.6, and 3.0.2. These versions were released in recent months. This security evolution comes just over three months after another critical GeoServer issue (CVE-2026-76904, CVSS 9.8) was visible in exploitation efforts as a zero-day vulnerability.

Comments

Leave a comment