A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-24749

CVE-2024-24749: GeoServer Information Disclosure Flaw

CVE-2024-24749 is an information disclosure vulnerability in GeoServer on Windows with Apache Tomcat that allows attackers to read arbitrary classpath resources. This article covers technical details, affected versions, and mitigation.

Published: June 9, 2026

CVE-2024-24749 Overview

GeoServer is an open source server for sharing and editing geospatial data. CVE-2024-24749 is a path traversal vulnerability [CWE-22] in the GeoWebCache ByteStreamController class that affects GeoServer deployments on Windows running under Apache Tomcat. Attackers can bypass existing input validation to read arbitrary classpath resources with specific file name extensions. When GeoServer is deployed as a web archive using the embedded data directory in geoserver.war, the flaw can be leveraged to read resources sufficient to gain administrator privileges. The issue is fixed in versions 2.23.5 and 2.24.3.

Critical Impact

Unauthenticated remote attackers can read sensitive classpath resources and, in embedded data directory deployments, escalate to GeoServer administrator access.

Affected Products

  • GeoServer versions prior to 2.23.5
  • GeoServer 2.24.x versions prior to 2.24.3
  • Deployments on Microsoft Windows using Apache Tomcat as the application server

Discovery Timeline

  • 2024-07-01 - CVE-2024-24749 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2024-24749

Vulnerability Analysis

The vulnerability resides in the GeoWebCache ByteStreamController class, which serves static resources over HTTP. Input validation logic intended to constrain requested paths fails to account for Windows-specific path semantics when GeoServer runs on Apache Tomcat. As a result, attackers can craft request paths that escape the intended resource directory and reach arbitrary classpath resources whose file name extensions match the controller's allow list.

Because the bypass operates over the network and requires no authentication or user interaction, any reachable GeoServer instance matching the affected configuration is exposed. The impact is limited to confidentiality, but the disclosed data can be highly sensitive.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22]. The ByteStreamController validation routines did not normalize Windows path separators and traversal sequences before resolving the resource location. Attackers leveraged this gap to traverse outside the intended cache directory and read files served from the application classpath.

Attack Vector

An unauthenticated attacker sends a crafted HTTP request to the GeoWebCache endpoint exposed by GeoServer. Using Windows-style path traversal sequences, the request resolves to a classpath resource outside the controller's intended scope. In deployments using the data directory embedded in geoserver.war, the attacker can read resources containing default administrator credentials and authenticate to the GeoServer administration interface. Production deployments using an external data directory are not vulnerable to the privilege escalation outcome, since standalone installers and binaries always use an external directory.

No verified public proof-of-concept code is available. Technical details are documented in GitHub Security Advisory GHSA-jhqx-5v5g-mpf3 and GitHub Pull Request #1211.

Detection Methods for CVE-2024-24749

Indicators of Compromise

  • HTTP requests to GeoWebCache ByteStreamController paths containing backslash sequences, encoded backslashes (%5c), or ..\ traversal patterns
  • Successful HTTP 200 responses to GeoWebCache resource requests referencing file names outside expected cache directories
  • Unexpected administrator logins to GeoServer originating from external IP addresses shortly after suspicious GeoWebCache requests

Detection Strategies

  • Inspect web server and reverse proxy logs for request URIs targeting the GeoWebCache controller with path traversal characters or unusual file extensions
  • Alert on anonymous access to GeoWebCache administration and status pages, which should normally require authentication
  • Correlate GeoWebCache resource access events with subsequent authentication events against the GeoServer administration console

Monitoring Recommendations

  • Enable verbose access logging on Apache Tomcat for the GeoServer context and forward logs to a centralized analytics platform
  • Monitor outbound configuration changes and user account modifications in GeoServer following any anomalous GeoWebCache traffic
  • Track GeoServer version inventory to confirm upgraded instances remain at 2.23.5, 2.24.3, or later

How to Mitigate CVE-2024-24749

Immediate Actions Required

  • Upgrade GeoServer to version 2.23.5, 2.24.3, or later as documented in the vendor advisory
  • Identify and inventory all GeoServer deployments running on Windows with Apache Tomcat to prioritize patching
  • Verify that production deployments use an external data directory rather than the directory embedded in geoserver.war
  • Rotate GeoServer administrator credentials if the embedded data directory was in use on a vulnerable instance

Patch Information

The upstream fix is committed in the GeoWebCache repository at commit c7f76bd8a1d67c3b986146e7a5e0b14dd64a8fef. The fix is included in GeoServer 2.23.5 and 2.24.3. Full details are published in GitHub Security Advisory GHSA-jhqx-5v5g-mpf3.

Workarounds

  • Migrate the GeoServer host from Windows to Linux, which is not affected by the path normalization gap
  • Replace Apache Tomcat with the Jetty application server for GeoServer deployments that must remain on Windows
  • Disable anonymous access to the embedded GeoWebCache administration and status pages
bash
# Example: restrict GeoWebCache admin endpoints in Tomcat web.xml
# Require authentication for /gwc/* paths
<security-constraint>
  <web-resource-collection>
    <web-resource-name>GeoWebCache Admin</web-resource-name>
    <url-pattern>/gwc/*</url-pattern>
  </web-resource-collection>
  <auth-constraint>
    <role-name>ROLE_ADMINISTRATOR</role-name>
  </auth-constraint>
</security-constraint>

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGeoserver

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • GitHub Pull Request #1211

  • Full Disclosure Mailing List Post
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-jhqx-5v5g-mpf3
  • Related CVEs
  • CVE-2025-58360: GeoServer XXE Vulnerability via WMS GetMap

  • CVE-2024-36401: GeoServer XPath RCE Vulnerability

  • CVE-2025-27505: GeoServer REST API Auth Bypass Vulnerability

  • CVE-2023-35042: Geoserver RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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