The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-35042

CVE-2023-35042: Geoserver RCE Vulnerability

CVE-2023-35042 is a remote code execution vulnerability in Geoserver that allows attackers to execute arbitrary code through WPS requests. This article covers the technical details, affected versions, and mitigation.

Published: February 4, 2026

CVE-2023-35042 Overview

CVE-2023-35042 is a critical remote code execution (RCE) vulnerability affecting GeoServer 2 in certain configurations. The vulnerability allows remote attackers to execute arbitrary code by exploiting the Web Processing Service (WPS) Execute functionality. Attackers can achieve code execution through malicious java.lang.Runtime.getRuntime().exec calls embedded within wps:LiteralData elements of a wps:Execute request. This vulnerability was reportedly exploited in the wild in June 2023, highlighting the active threat it poses to unpatched GeoServer deployments.

Critical Impact

This vulnerability enables unauthenticated remote code execution on vulnerable GeoServer instances, potentially allowing attackers to gain complete control over the underlying server and access sensitive geospatial data.

Affected Products

  • GeoServer 2 (in certain configurations)
  • GeoServer deployments with WPS service enabled
  • GeoServer instances exposing WPS Execute endpoints

Discovery Timeline

  • June 2023 - Vulnerability exploited in the wild
  • 2023-06-12 - CVE-2023-35042 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-35042

Vulnerability Analysis

This remote code execution vulnerability exists in the GeoServer Web Processing Service (WPS) component. The WPS service provides standardized interfaces for geospatial processing operations, and the Execute operation allows clients to run specific processes on the server. In vulnerable configurations, the service fails to properly sanitize or restrict the execution of Java runtime commands within WPS request payloads.

The attack exploits the processing of wps:LiteralData elements within wps:Execute requests. When the WPS service processes these requests, it can be manipulated to invoke java.lang.Runtime.getRuntime().exec(), allowing attackers to execute arbitrary system commands on the server. This type of code injection attack bypasses normal security controls because the malicious payload is delivered through what appears to be a legitimate WPS processing request.

It is worth noting that the vendor has stated they are unable to reproduce this vulnerability in any version, which may indicate the exploitation requires specific non-default configurations or third-party extensions to be present.

Root Cause

The root cause stems from insufficient input validation and sanitization in the WPS Execute request handler. When processing wps:LiteralData content, the application fails to properly restrict or sanitize Java method invocations, allowing attackers to inject malicious code that gets executed in the context of the GeoServer application. The vulnerability likely requires specific process configurations or extensions that enable the evaluation of Java expressions within literal data fields.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft a malicious HTTP POST request to the GeoServer WPS endpoint containing a specially crafted wps:Execute XML payload. The payload includes a wps:LiteralData element with embedded Java runtime execution commands. When the server processes this request, it executes the attacker's commands with the privileges of the GeoServer application process.

The exploitation typically targets the /geoserver/wps or /geoserver/ows?service=WPS endpoints. The malicious payload leverages Java's Runtime.getRuntime().exec() method to spawn system processes, enabling activities such as reverse shell establishment, data exfiltration, or deployment of additional malware.

For technical details on the WPS Execute operation, refer to the GeoServer WPS Operations Documentation. Additional analysis of exploitation activity is available in the SANS ISC Security Diary Entry.

Detection Methods for CVE-2023-35042

Indicators of Compromise

  • HTTP POST requests to /geoserver/wps or /geoserver/ows?service=WPS endpoints containing suspicious XML payloads
  • Presence of java.lang.Runtime or getRuntime().exec strings in WPS request logs
  • Unusual child processes spawned by the Java/Tomcat process running GeoServer
  • Unexpected outbound network connections from the GeoServer host

Detection Strategies

  • Monitor web server access logs for POST requests to WPS endpoints with abnormally large payloads or suspicious content patterns
  • Implement Web Application Firewall (WAF) rules to detect and block requests containing Runtime.getRuntime().exec patterns
  • Deploy endpoint detection solutions to monitor for suspicious process creation events originating from Java application processes
  • Analyze network traffic for signs of command-and-control communication or data exfiltration from GeoServer hosts

Monitoring Recommendations

  • Enable detailed logging for all WPS service requests and review logs regularly for anomalous activity
  • Configure alerts for any process execution originating from the GeoServer application context that doesn't match expected behavior
  • Monitor system resource usage on GeoServer hosts for signs of cryptomining or other unauthorized activities
  • Implement network segmentation and monitor for lateral movement attempts from compromised GeoServer instances

How to Mitigate CVE-2023-35042

Immediate Actions Required

  • Disable the WPS service if not required for business operations by removing or disabling the WPS extension
  • Implement network-level access controls to restrict access to WPS endpoints to trusted IP addresses only
  • Deploy WAF rules to filter malicious WPS Execute requests containing Java runtime execution patterns
  • Review GeoServer logs for signs of past exploitation attempts

Patch Information

The vendor has stated they are unable to reproduce this vulnerability in any version. Organizations should monitor GeoServer security advisories for updates. In the absence of a specific patch, implementing the defensive measures outlined in this article is critical. Review the GeoServer WPS Operations Documentation for configuration guidance and security best practices.

Workarounds

  • Disable WPS service entirely if geospatial processing capabilities are not required
  • Configure GeoServer security settings to require authentication for WPS service access
  • Implement network segmentation to isolate GeoServer instances from critical infrastructure
  • Use a reverse proxy or WAF to inspect and filter all incoming WPS requests before they reach GeoServer
bash
# Configuration example - Disable WPS in GeoServer
# Navigate to GeoServer data directory and modify the WPS configuration
# Option 1: Remove the WPS extension JAR files from webapps/geoserver/WEB-INF/lib/
# Option 2: Disable WPS through the web admin interface
# GeoServer Admin > Services > WPS > Disable

# Network-level mitigation using iptables to restrict WPS access
iptables -A INPUT -p tcp --dport 8080 -m string --string "service=WPS" --algo bm -j DROP
iptables -A INPUT -p tcp --dport 8080 -m string --string "/wps" --algo bm -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGeoserver

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability31.14%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • GeoServer WPS Operations Documentation

  • SANS ISC Security Diary Entry
  • Related CVEs
  • CVE-2024-36401: GeoServer XPath RCE Vulnerability

  • CVE-2025-58360: GeoServer XXE Vulnerability via WMS GetMap

  • CVE-2025-27505: GeoServer REST API Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English