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-2024-39884

CVE-2024-39884: Apache HTTP Server Info Disclosure Flaw

CVE-2024-39884 is an information disclosure vulnerability in Apache HTTP Server 2.4.60 that can expose source code of PHP scripts and other files. This article covers the technical details, affected versions, and mitigation.

Published: January 28, 2026

CVE-2024-39884 Overview

A regression vulnerability in Apache HTTP Server version 2.4.60 causes the server to improperly handle legacy content-type based configuration of handlers. This source code disclosure vulnerability occurs when AddType and similar configuration directives are used, resulting in server-side scripts being served as raw source code instead of being properly interpreted and executed.

Under certain circumstances where files are requested indirectly, the affected Apache HTTP Server ignores the configured handlers, leading to the exposure of sensitive source code. For example, PHP scripts may be served as plain text files instead of being processed by the PHP interpreter, potentially exposing database credentials, API keys, business logic, and other sensitive information embedded in the source code.

Critical Impact

Source code disclosure can expose sensitive credentials, API keys, database connection strings, and proprietary business logic to unauthorized parties, potentially leading to further system compromise.

Affected Products

  • Apache HTTP Server version 2.4.60
  • NetApp ONTAP Tools 10 for VMware vSphere

Discovery Timeline

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

Technical Details for CVE-2024-39884

Vulnerability Analysis

This vulnerability represents a regression introduced in Apache HTTP Server 2.4.60 that affects the core handler configuration mechanism. The issue stems from improper processing of legacy content-type based handler configurations, specifically affecting directives like AddType, AddHandler, and similar configuration options.

When files are requested through indirect methods (such as through URL rewrites, includes, or certain proxy configurations), the server fails to properly apply the configured handlers. This causes script files that should be processed by their respective interpreters to instead be served with their raw source code visible to the requesting client.

The vulnerability has a local attack vector, meaning an attacker would need some level of access to craft requests that trigger the indirect file access condition. The high confidentiality impact reflects the severity of source code exposure, which can reveal sensitive information including credentials, encryption keys, and proprietary algorithms.

Root Cause

The root cause is a regression bug in the Apache HTTP Server 2.4.60 core that fails to properly respect the AddType and similar content-type based handler configurations under specific request conditions. When files are requested indirectly through the server, the handler configuration is bypassed, causing the server to serve the raw file contents rather than processing them through the appropriate interpreter (such as PHP, Python, or Perl handlers).

Attack Vector

An attacker can exploit this vulnerability by crafting HTTP requests that cause the server to access script files indirectly. This could be achieved through various means depending on the server configuration:

The exploitation involves sending requests that bypass normal handler processing through indirect file access patterns. When successful, the server responds with the raw source code of server-side scripts instead of executing them. This allows the attacker to view sensitive information that would normally never be exposed to clients, including hardcoded credentials, configuration values, and application logic.

For detailed technical information, see the Apache HTTPD Vulnerability List and the Openwall OSS-Security Discussion.

Detection Methods for CVE-2024-39884

Indicators of Compromise

  • HTTP responses containing raw PHP, Perl, or Python source code instead of rendered HTML output
  • Server access logs showing requests for script files with unusual response content-types (e.g., text/plain instead of text/html)
  • Detection of sensitive strings in HTTP responses such as <?php, database connection strings, or API credentials
  • Anomalous client behavior with repeated requests to various script endpoints

Detection Strategies

  • Monitor web server access logs for requests that result in unexpected content-type headers for known script files
  • Implement web application firewall (WAF) rules to detect source code patterns in HTTP responses
  • Deploy SentinelOne Singularity to monitor for anomalous file access patterns and information disclosure attempts
  • Conduct regular vulnerability scans to identify Apache HTTP Server version 2.4.60 installations

Monitoring Recommendations

  • Enable detailed logging of HTTP response content-types and compare against expected values for script extensions
  • Configure intrusion detection systems to alert on responses containing script language markers (e.g., <?php, #!/usr/bin/perl)
  • Monitor for external reconnaissance activity targeting script file endpoints
  • Implement file integrity monitoring on web server configuration files to detect unauthorized changes

How to Mitigate CVE-2024-39884

Immediate Actions Required

  • Upgrade Apache HTTP Server from 2.4.60 to version 2.4.61 or later immediately
  • Audit server access logs for evidence of source code disclosure prior to patching
  • Rotate any credentials or API keys that may have been exposed through affected script files
  • Review web server configurations to identify reliance on AddType and similar handler directives

Patch Information

Apache has released version 2.4.61 which resolves this regression vulnerability. Users running Apache HTTP Server 2.4.60 should upgrade immediately. The official security advisory and patch information can be found on the Apache HTTPD Security Page.

NetApp has also published a security advisory (NTAP-20240712-0002) for users of ONTAP Tools for VMware vSphere.

Workarounds

  • If immediate upgrade is not possible, consider temporarily using SetHandler directives instead of AddType for critical script handling
  • Implement WAF rules to block responses containing obvious source code patterns
  • Restrict access to sensitive script directories using IP-based access controls
  • Consider disabling indirect file access mechanisms until the patch can be applied
bash
# Verify Apache HTTP Server version
httpd -v

# Check for affected version 2.4.60
apachectl -v | grep "2.4.60"

# After upgrade, verify new version is installed
httpd -v | grep "2.4.61"

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechApache

  • SeverityMEDIUM

  • CVSS Score6.2

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Openwall OSS-Security Update

  • NetApp Security Advisory NTAP-20240712-0002

  • Openwall OSS-Security Discussion
  • Vendor Resources
  • Apache HTTPD Vulnerability List
  • Related CVEs
  • CVE-2026-24735: Apache Answer Information Disclosure Issue

  • CVE-2024-47252: Apache HTTP Server Log Injection Flaw

  • CVE-2024-38476: Apache HTTP Server Info Disclosure Flaw

  • CVE-2022-30556: Apache HTTP Server Information Disclosure
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