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-2023-41339

CVE-2023-41339: GeoServer SSRF Vulnerability via WMS

CVE-2023-41339 is a Server-Side Request Forgery flaw in GeoServer's WMS operations that allows attackers to steal NetNTLMv2 hashes. This article covers technical details, affected versions, impact, and mitigation.

Published: January 28, 2026

CVE-2023-41339 Overview

CVE-2023-41339 is a Server-Side Request Forgery (SSRF) vulnerability in GeoServer, an open source software server written in Java that allows users to share and edit geospatial data. The vulnerability exists in the WMS (Web Map Service) specification implementation, which defines an sld=<url> parameter for GetMap, GetLegendGraphic, and GetFeatureInfo operations. When dynamic styling is enabled without proper URL validation checks, attackers can exploit this functionality to perform SSRF attacks.

Critical Impact

This vulnerability can be exploited to steal user NetNTLMv2 hashes, which could subsequently be relayed or cracked externally to gain unauthorized access to systems and networks.

Affected Products

  • OSGeo GeoServer versions prior to 2.22.5
  • OSGeo GeoServer versions prior to 2.23.2

Discovery Timeline

  • 2023-10-25 - CVE CVE-2023-41339 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-41339

Vulnerability Analysis

This Server-Side Request Forgery vulnerability stems from the GeoServer's implementation of the WMS specification's dynamic styling feature. The sld=<url> parameter allows users to supply custom Styled Layer Descriptor (SLD) files via URL for GetMap, GetLegendGraphic, and GetFeatureInfo operations. Without proper URL validation and checks in place, this feature can be abused to make the server initiate requests to arbitrary URLs controlled by an attacker.

The vulnerability is particularly dangerous in Windows environments where attackers can craft requests to SMB shares, causing the GeoServer to authenticate using the service account's NetNTLMv2 credentials. These captured hashes can then be used in relay attacks against other systems or subjected to offline cracking attempts.

Root Cause

The root cause of this vulnerability is the lack of URL validation checks when processing user-supplied SLD URLs. The GeoServer implementation accepts and fetches resources from arbitrary URLs without verifying whether the target is an internal or sensitive endpoint. This missing input validation (CWE-918) allows attackers to abuse the server as a proxy for making requests to internal resources or external malicious servers.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying a vulnerable GeoServer instance with dynamic styling enabled
  2. Crafting a malicious WMS request (GetMap, GetLegendGraphic, or GetFeatureInfo) with the sld parameter pointing to an attacker-controlled URL
  3. When targeting Windows systems, using a UNC path (e.g., \\attacker.com\share) to capture NetNTLMv2 hashes
  4. Relaying or cracking the captured credentials to gain further access to the network

The vulnerability can also be used to scan internal networks, access internal services, or exfiltrate data through DNS or HTTP channels.

Detection Methods for CVE-2023-41339

Indicators of Compromise

  • Unusual outbound HTTP/HTTPS requests from GeoServer to external or internal IP addresses
  • WMS requests containing sld= parameters with suspicious URLs, particularly those pointing to internal networks or UNC paths
  • SMB authentication attempts originating from the GeoServer host to external systems
  • Unexpected DNS queries from the GeoServer for unfamiliar domains

Detection Strategies

  • Monitor and log all WMS requests containing the sld parameter for anomalous URL patterns
  • Implement network-level monitoring for outbound connections from GeoServer to unexpected destinations
  • Review web server access logs for GetMap, GetLegendGraphic, and GetFeatureInfo requests with external URL references
  • Deploy intrusion detection rules to identify SSRF attack patterns in WMS requests

Monitoring Recommendations

  • Enable detailed logging for all GeoServer WMS operations
  • Configure alerts for outbound SMB traffic (port 445) from web application servers
  • Monitor for NetNTLMv2 authentication events that may indicate credential theft attempts
  • Implement egress filtering to restrict outbound connections from the GeoServer to known, approved destinations

How to Mitigate CVE-2023-41339

Immediate Actions Required

  • Upgrade GeoServer to version 2.22.5 or 2.23.2 or later immediately
  • If immediate patching is not possible, disable the dynamic styling feature until the update can be applied
  • Configure URL checks to restrict which external resources can be fetched by the SLD parameter
  • Review GeoServer logs for any evidence of exploitation attempts

Patch Information

This vulnerability has been patched in GeoServer versions 2.22.5 and 2.23.2. Organizations should upgrade to these versions or later to remediate the vulnerability. Patches are available through the official GeoServer GitHub releases:

  • GitHub Release 2.22.5
  • GitHub Release 2.23.2

For detailed information about this vulnerability and the fix, refer to the GitHub Security Advisory GHSA-cqpc-x2c6-2gmf.

Workarounds

  • Disable dynamic styling by removing or restricting the sld parameter functionality in GeoServer configuration
  • Implement network-level controls to block outbound connections from the GeoServer to untrusted destinations
  • Configure a web application firewall (WAF) to filter requests containing suspicious sld parameter values
  • Use egress filtering to prevent the GeoServer from initiating connections to internal networks or external SMB shares
bash
# Example: Block outbound SMB traffic from GeoServer using iptables
iptables -A OUTPUT -p tcp --dport 445 -m owner --uid-owner geoserver -j DROP
iptables -A OUTPUT -p udp --dport 445 -m owner --uid-owner geoserver -j DROP

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechOsgeo Geoserver

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.18%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Technical References
  • GitHub Release 2.22.5

  • GitHub Release 2.23.2
  • Vendor Resources
  • GitHub Security Advisory GHSA-cqpc-x2c6-2gmf
  • Related CVEs
  • CVE-2023-43795: Osgeo GeoServer SSRF Vulnerability

  • CVE-2021-40822: Osgeo GeoServer SSRF Vulnerability

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

  • CVE-2022-24847: GeoServer JNDI Injection RCE 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