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
    • 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-2020-11985

CVE-2020-11985: Apache HTTP Server IP Spoofing Vulnerability

CVE-2020-11985 is an IP address spoofing flaw in Apache HTTP Server affecting mod_remoteip and mod_rewrite configurations. Attackers can spoof IP addresses for logging and PHP scripts. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 4, 2026

CVE-2020-11985 Overview

CVE-2020-11985 is an IP address spoofing vulnerability affecting Apache HTTP Server when configured with proxying using mod_remoteip and certain mod_rewrite rules. This vulnerability allows attackers to manipulate the IP address used for logging and PHP scripts, potentially bypassing IP-based access controls, evading forensic analysis, and enabling abuse attribution to innocent parties.

This is notably a retrospectively assigned CVE—the issue was actually fixed in Apache HTTP Server version 2.4.24, but was only formally allocated this CVE identifier in 2020 with a low severity classification.

Critical Impact

Attackers can spoof their IP address to bypass IP-based security controls, manipulate audit logs, and evade attribution in environments using mod_remoteip with mod_rewrite proxy configurations.

Affected Products

  • Apache HTTP Server versions prior to 2.4.24
  • Configurations using mod_remoteip with proxying enabled
  • Systems utilizing specific mod_rewrite rules for request handling

Discovery Timeline

  • 2020-08-07 - CVE CVE-2020-11985 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-11985

Vulnerability Analysis

This vulnerability stems from improper verification of client-supplied data in Apache HTTP Server's mod_remoteip module when used in conjunction with mod_rewrite for proxying configurations. The mod_remoteip module is designed to replace the client IP address for logging purposes with the IP address provided by a trusted proxy through headers like X-Forwarded-For.

The flaw occurs when specific mod_rewrite rules are configured that process requests before mod_remoteip can properly validate the source of IP address information. This creates a timing gap where an attacker can inject malicious IP address data that gets accepted by the server as legitimate client identification.

The vulnerability is classified under CWE-345 (Insufficient Verification of Data Authenticity), indicating that the server fails to adequately verify that IP address information received is from a trusted source before using it for security-relevant decisions.

Root Cause

The root cause lies in the interaction between mod_remoteip and mod_rewrite during request processing. When proxying is configured with certain rewrite rules, the order of module execution allows untrusted client-supplied headers to be processed before proper validation occurs. This enables attackers to inject arbitrary IP addresses through HTTP headers that the server incorrectly treats as originating from a trusted proxy.

The insufficient verification means that:

  • The server does not properly validate the source of X-Forwarded-For or similar headers
  • Rewrite rules may process requests before IP validation is complete
  • PHP scripts and logging mechanisms receive the spoofed IP address as if it were legitimate

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by crafting HTTP requests with manipulated headers targeting servers with the vulnerable configuration.

The attack flow typically involves:

  1. Identifying a target Apache server using mod_remoteip with mod_rewrite proxy rules
  2. Crafting HTTP requests with spoofed IP addresses in forwarding headers
  3. Sending requests that bypass the normal IP validation due to module execution order
  4. Achieving IP address spoofing in logs and PHP script contexts

Due to the nature of this vulnerability, exploitation is straightforward for attackers with network access to the affected server. The primary impacts include log manipulation, bypassing IP-based access controls, and evading attribution in abuse scenarios.

Detection Methods for CVE-2020-11985

Indicators of Compromise

  • Unusual or inconsistent IP addresses appearing in access logs that don't match expected client patterns
  • Discrepancies between load balancer logs and Apache access logs for the same requests
  • IP addresses from internal/reserved ranges appearing in external request logs
  • Multiple requests from different apparent source IPs sharing the same session or authentication tokens

Detection Strategies

  • Review Apache configuration files for simultaneous use of mod_remoteip and mod_rewrite with proxy rules
  • Audit server version to determine if running Apache HTTP Server versions prior to 2.4.24
  • Implement log correlation between front-end proxies and Apache to detect IP address mismatches
  • Deploy network monitoring to identify requests with suspicious X-Forwarded-For header patterns

Monitoring Recommendations

  • Enable verbose logging for mod_remoteip to capture header processing details
  • Implement SIEM rules to detect anomalous IP address patterns in web server logs
  • Monitor for requests containing multiple IP addresses in forwarding headers from untrusted sources
  • Establish baseline metrics for geographic distribution of client IPs to identify statistical anomalies

How to Mitigate CVE-2020-11985

Immediate Actions Required

  • Upgrade Apache HTTP Server to version 2.4.24 or later immediately
  • Review and audit all mod_remoteip configurations to ensure proper RemoteIPTrustedProxy directives are set
  • Validate that only trusted proxy IP addresses are configured to provide client IP information
  • Consider temporarily disabling mod_remoteip if immediate patching is not possible

Patch Information

The vulnerability was fixed in Apache HTTP Server version 2.4.24. Organizations should update to this version or later to remediate the vulnerability. Detailed patch information and security advisories are available from the Apache HTTPD Security Vulnerabilities page.

Additional vendor advisories have been released by:

  • Gentoo Linux (GLSA 202008-04)
  • NetApp Security Advisory
  • Oracle January 2021 Security Alert

Workarounds

  • Restrict mod_remoteip to only accept IP information from explicitly trusted proxy IP addresses using RemoteIPTrustedProxy directive
  • Place mod_remoteip configuration to execute before mod_rewrite rules when possible
  • Implement additional validation at the application layer for IP-based security decisions
  • Use firewall rules to ensure only legitimate proxy servers can reach the Apache server
bash
# Configuration example - Restricting mod_remoteip to trusted proxies only
# Add to Apache configuration file (httpd.conf or appropriate .conf file)

# Enable mod_remoteip
LoadModule remoteip_module modules/mod_remoteip.so

# Specify the header containing the client IP
RemoteIPHeader X-Forwarded-For

# Define ONLY trusted proxy IP addresses
RemoteIPTrustedProxy 10.0.0.1
RemoteIPTrustedProxy 10.0.0.2
RemoteIPTrustedProxy 192.168.1.0/24

# Internal proxy detection (optional)
RemoteIPInternalProxy 127.0.0.1

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 Http Server

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability13.38%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-345
  • Technical References
  • Apache CVS Thread Discussion

  • Apache CVS Thread Update

  • Apache CVS Thread Notification

  • Apache CVS Thread Alert

  • Apache CVS Thread Message

  • Apache CVS Thread Notice

  • Apache CVS Thread Announcement

  • Apache CVS Thread Update

  • Apache CVS Thread Alert

  • Apache CVS Thread Discussion

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Gentoo GLSA 202008-04

  • NetApp Security Advisory NTAP-20200827-0002

  • Oracle Security Alert January 2021
  • Vendor Resources
  • Apache HTTPD Vulnerability List
  • Related CVEs
  • CVE-2023-38709: Apache HTTP Server XSS Vulnerability

  • CVE-2024-38475: Apache HTTP Server Path Traversal Flaw

  • CVE-2024-38472: Apache HTTP Server SSRF Vulnerability

  • CVE-2021-36160: Apache HTTP Server DoS 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