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

CVE-2020-1927: Apache HTTP Server Redirect Vulnerability

CVE-2020-1927 is a redirect vulnerability in Apache HTTP Server affecting versions 2.4.0 to 2.4.41. Encoded newlines can bypass mod_rewrite protections. This article covers technical details, affected versions, and mitigation.

Updated: May 16, 2026

CVE-2020-1927 Overview

CVE-2020-1927 is an open redirect vulnerability [CWE-601] in Apache HTTP Server versions 2.4.0 through 2.4.41. The flaw affects mod_rewrite configurations that produce self-referential redirects. Attackers can craft URLs containing encoded newline characters to bypass the self-reference check and force redirection to an arbitrary URL within the request URL. The issue is reachable over the network and requires user interaction, typically through a malicious link.

Critical Impact

Attackers can leverage trusted Apache-hosted domains to redirect victims to attacker-controlled URLs, enabling phishing campaigns, credential theft, and malware delivery against users who trust the originating site.

Affected Products

  • Apache HTTP Server 2.4.0 through 2.4.41
  • Debian Linux 9.0, 10.0; Canonical Ubuntu 16.04 ESM, 18.04 LTS, 20.04 LTS; Fedora 31, 32; openSUSE Leap 15.1
  • Oracle Communications Element Manager, Session Report Manager, Session Route Manager (8.1.1, 8.2.0, 8.2.1); Oracle Enterprise Manager Ops Center 12.4; Oracle ZFS Storage Appliance Kit 8.8; NetApp OnCommand Unified Manager; Broadcom Brocade Fabric OS

Discovery Timeline

  • 2020-04-02 - CVE-2020-1927 published to NVD
  • 2020-04-03 - Coordinated disclosure via Openwall oss-security mailing list
  • 2020-04-13 - NetApp publishes security advisory NTAP-20200413-0002
  • 2020-07 - Oracle includes fix in July 2020 Critical Patch Update
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-1927

Vulnerability Analysis

The vulnerability is classified as a URL Redirection to Untrusted Site, commonly known as an Open Redirect [CWE-601]. The defect resides in how mod_rewrite validates redirect targets when administrators write rules intended to redirect requests back to the same host. The mod_rewrite module performs a self-reference check on the target URL, but the check does not account for encoded control characters embedded in the request path. As a result, a redirect that an operator configured to stay within their domain can be coerced into emitting a Location header pointing to a foreign URL.

Because the redirect is generated by the trusted server, browsers and security tooling treat the response as originating from the legitimate site. This allows social engineering attacks to abuse the host's reputation and TLS certificate.

Root Cause

The root cause is improper input validation of encoded newline characters (%0A and related sequences) within request URLs processed by mod_rewrite. When a rewrite rule constructs a redirect target using captured portions of the request URL, the encoded newline causes the parser to truncate or reinterpret the destination so that the self-reference test passes while the emitted Location value contains attacker-controlled content. The fix in Apache 2.4.42 hardens URL parsing in mod_rewrite so encoded newlines are rejected or normalized before the redirect target is evaluated.

Attack Vector

Exploitation requires an attacker to deliver a crafted URL to a victim, for example through a phishing email, malicious advertisement, or chat message. The URL targets a vulnerable Apache host that uses mod_rewrite rules constructing redirects from the request URL. The crafted path includes an encoded newline followed by an attacker-controlled URL fragment. When the victim's browser follows the link, the Apache server returns a 3xx response with a Location header pointing to the attacker's destination. The victim is redirected away from the trusted domain without warning. No authentication is required and the attack works against any user who clicks the link.

The vulnerability is described in prose only as no verified public proof-of-concept code is referenced in the advisory data. See the Apache HTTPD Vulnerabilities advisory for vendor details.

Detection Methods for CVE-2020-1927

Indicators of Compromise

  • Access log entries containing %0a, %0d, %0A, or %0D sequences within request URIs that match RewriteRule patterns
  • Outbound 302 or 301 responses where the Location header host differs from the server's canonical hostname
  • Spikes in redirect responses tied to specific RewriteRule patterns, especially those using $1 or %{REQUEST_URI} capture references
  • Referrer logs on downstream phishing infrastructure showing the vulnerable Apache host as the source

Detection Strategies

  • Query web server access logs for URI patterns matching the regular expression %0[aAdD] and correlate with non-2xx response codes
  • Inspect mod_rewriteRewriteLog or LogLevel rewrite:trace output for substitutions where the post-rewrite target host does not equal the server name
  • Run version inventory across the fleet using httpd -v or package manager queries to identify Apache builds at or below 2.4.41
  • Deploy web application firewall rules that reject requests containing raw or doubly encoded CR/LF in the path component

Monitoring Recommendations

  • Forward Apache access_log and error_log to a centralized SIEM or data lake and alert on suspicious redirect chains leaving the trusted domain
  • Monitor egress URL reputation for hosts referenced in Location headers emitted by internal Apache servers
  • Track mod_rewrite rule changes in configuration management to identify rules that derive redirect targets from user-supplied input

How to Mitigate CVE-2020-1927

Immediate Actions Required

  • Upgrade Apache HTTP Server to version 2.4.42 or later on all affected hosts
  • Apply distribution patches for Debian (DSA-4757), Ubuntu (USN-4458-1), Fedora, and openSUSE as listed in the vendor advisories
  • Apply Oracle Critical Patch Updates (July 2020 and April 2021) for affected Oracle Communications and Enterprise Manager products
  • Audit all RewriteRule directives that construct redirect URLs from %{REQUEST_URI}, %{QUERY_STRING}, or backreferences

Patch Information

The upstream fix is included in Apache HTTP Server 2.4.42, released April 2020. Refer to the Apache HTTPD 2.4 Vulnerabilities page for the official advisory, the NetApp Security Advisory for OnCommand products, the Debian Security Announcement DSA-4757, and the Ubuntu Security Notice USN-4458-1.

Workarounds

  • Rewrite affected rules to use absolute server-controlled targets rather than reflecting %{REQUEST_URI} or captured groups into the substitution
  • Add a RewriteCond that rejects requests containing %0A or %0D in the URI before redirect rules execute
  • Place a reverse proxy or WAF in front of Apache that normalizes URLs and strips control characters
bash
# Configuration example: block encoded newlines before rewrite-based redirects
RewriteEngine On
RewriteCond %{THE_REQUEST} (\\x0A|\\x0D|%0A|%0D) [NC]
RewriteRule .* - [F,L]

# Then existing self-referential rules
RewriteRule ^/old/(.*)$ /new/$1 [R=301,L]

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechApache Http Server

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability6.56%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-601
  • Technical References
  • openSUSE Security Announcement

  • Openwall OSS Security Update

  • Openwall OSS Security Update

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Apache Thread Discussion

  • Debian LTS Security Notice

  • Fedora Package Announcement

  • Fedora Package Announcement

  • NetApp Security Advisory

  • Ubuntu Security Notice

  • Debian Security Announcement

  • Oracle CPU July 2022
  • Vendor Resources
  • Apache HTTPD Vulnerabilities

  • Oracle CPU April 2021

  • Oracle CPU July 2020
  • Related CVEs
  • CVE-2026-33857: Apache HTTP Server OOB Read Vulnerability

  • CVE-2026-33523: Apache HTTP Server Response Splitting Flaw

  • CVE-2024-42516: Apache HTTP Server Response Splitting Flaw

  • CVE-2023-27522: Apache HTTP Server Smuggling 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