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
    • 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-2022-24847

CVE-2022-24847: GeoServer JNDI Injection RCE Vulnerability

CVE-2022-24847 is a remote code execution vulnerability in GeoServer caused by unchecked JNDI lookups that allow arbitrary code execution. This article covers the technical details, affected versions, and mitigation steps.

Published: February 11, 2026

CVE-2022-24847 Overview

CVE-2022-24847 is an insecure deserialization vulnerability in GeoServer, an open source software server written in Java that enables users to share and edit geospatial data. The GeoServer security mechanism can perform an unchecked JNDI (Java Naming and Directory Interface) lookup, which can be exploited to perform class deserialization and result in arbitrary code execution. This vulnerability can also be triggered while configuring data stores with data sources located in JNDI, or while setting up the disk quota mechanism.

Critical Impact

Authenticated attackers with administrative privileges can achieve arbitrary code execution on the GeoServer instance through JNDI injection, potentially leading to complete system compromise.

Affected Products

  • OSGeo GeoServer versions prior to 2.21.0
  • OSGeo GeoServer versions prior to 2.20.4
  • OSGeo GeoServer versions prior to 1.19.6

Discovery Timeline

  • 2022-04-13 - CVE-2022-24847 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-24847

Vulnerability Analysis

This vulnerability stems from improper input validation (CWE-20) and improper neutralization of special elements used in an expression language statement (CWE-917). The GeoServer application fails to properly restrict JNDI lookups within its security mechanism, creating a pathway for expression language injection attacks.

When processing certain administrative operations, GeoServer performs JNDI lookups without adequate validation of the lookup target. An attacker who has obtained administrative access to the GeoServer instance can craft malicious JNDI references that, when resolved, trigger arbitrary class deserialization. This deserialization process can be manipulated to instantiate attacker-controlled classes and execute arbitrary code on the server.

The vulnerability is exploitable through two primary interfaces: the GeoServer graphical user interface (geoserver/web) and the REST API (geoserver/rest). Both pathways accept administrative configuration changes that can include malicious JNDI references.

Root Cause

The root cause of this vulnerability is insufficient validation of JNDI lookup targets within GeoServer's security mechanism and data store configuration components. The application accepts arbitrary JNDI references without restricting the protocols or destinations that can be used, enabling attackers to leverage remote class loading capabilities inherent in JNDI to achieve code execution.

Attack Vector

The attack requires network access to the GeoServer instance and valid administrative credentials. Once authenticated as an administrator, the attacker can exploit this vulnerability by:

  1. Accessing the GeoServer GUI or REST API with admin credentials
  2. Navigating to data store configuration or disk quota settings
  3. Injecting a malicious JNDI reference pointing to an attacker-controlled server
  4. The vulnerable GeoServer instance resolves the JNDI reference, fetching and deserializing a malicious Java class
  5. Arbitrary code execution occurs in the context of the GeoServer process

The attack leverages JNDI injection patterns similar to those seen in Log4Shell (CVE-2021-44228), where JNDI lookups to attacker-controlled LDAP or RMI servers can trigger malicious class loading. Further technical details are available in the GeoServer Security Advisory.

Detection Methods for CVE-2022-24847

Indicators of Compromise

  • Unusual outbound LDAP, RMI, or DNS connections from the GeoServer server to unknown external hosts
  • Suspicious administrative activity in GeoServer access logs, particularly around data store or disk quota configuration endpoints
  • Unexpected Java processes or child processes spawned by the GeoServer application
  • Modified data store configurations containing JNDI URI references (e.g., ldap://, rmi://, dns://)

Detection Strategies

  • Monitor network traffic from GeoServer servers for outbound LDAP (port 389/636) or RMI (port 1099) connections to external addresses
  • Implement web application firewall rules to detect JNDI injection patterns in HTTP requests to /geoserver/web and /geoserver/rest endpoints
  • Enable and review GeoServer audit logging for administrative configuration changes
  • Deploy endpoint detection and response (EDR) solutions to identify anomalous process creation from Java applications

Monitoring Recommendations

  • Establish baseline network behavior for GeoServer instances and alert on deviations, particularly outbound connections to non-standard ports
  • Configure SIEM rules to correlate administrative authentication events with subsequent configuration changes
  • Monitor file system integrity on GeoServer servers for unexpected file creation or modification
  • Review GeoServer configuration files periodically for unauthorized JNDI data source references

How to Mitigate CVE-2022-24847

Immediate Actions Required

  • Upgrade GeoServer to version 2.21.0, 2.20.4, or 1.19.6 or later immediately
  • Audit administrative accounts and remove unnecessary admin access
  • Review existing data store and disk quota configurations for suspicious JNDI references
  • Implement network segmentation to limit GeoServer's ability to make outbound connections

Patch Information

The GeoServer development team has addressed this vulnerability by restricting JNDI lookups in the following versions:

  • GeoServer 2.21.0
  • GeoServer 2.20.4
  • GeoServer 1.19.6

Organizations should upgrade to these versions or later to receive the fix. The security advisory and patch details are available at the GeoServer GitHub Security Advisory.

Workarounds

  • Restrict access to geoserver/web and geoserver/rest endpoints via firewall rules to trusted administrative networks only
  • Ensure that GeoWebCache is not remotely accessible from untrusted networks
  • Implement a reverse proxy with authentication in front of GeoServer administrative interfaces
  • Use network-level controls to block outbound LDAP, RMI, and suspicious DNS traffic from GeoServer servers
bash
# Example iptables rules to restrict GeoServer admin access
# Allow admin access only from trusted network (e.g., 10.0.1.0/24)
iptables -A INPUT -p tcp --dport 8080 -s 10.0.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

# Block outbound LDAP/RMI connections from GeoServer
iptables -A OUTPUT -p tcp --dport 389 -j DROP
iptables -A OUTPUT -p tcp --dport 636 -j DROP
iptables -A OUTPUT -p tcp --dport 1099 -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/TechOsgeo Geoserver

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • CWE-917
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2023-43795: Osgeo GeoServer SSRF Vulnerability

  • CVE-2023-41339: GeoServer SSRF Vulnerability via WMS

  • CVE-2023-25157: OSGeo GeoServer SQL Injection Vulnerability

  • CVE-2021-40822: Osgeo GeoServer SSRF Vulnerability
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