Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-11724

CVE-2020-11724: OpenResty HTTP Request Smuggling Flaw

CVE-2020-11724 is an HTTP request smuggling vulnerability in OpenResty affecting versions before 1.15.8.4. The flaw exists in ngx_http_lua_subrequest.c via the ngx.location.capture API. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 11, 2026

CVE-2020-11724 Overview

An HTTP Request Smuggling vulnerability was discovered in OpenResty before version 1.15.8.4. The vulnerability exists in ngx_http_lua_subrequest.c and can be exploited through the ngx.location.capture API, allowing attackers to bypass security controls and potentially gain unauthorized access to backend systems.

Critical Impact

HTTP Request Smuggling allows attackers to interfere with web application request processing, potentially bypassing security controls, accessing restricted resources, or poisoning web caches.

Affected Products

  • OpenResty versions before 1.15.8.4
  • Debian Linux 9.0
  • Debian Linux 10.0

Discovery Timeline

  • 2020-04-12 - CVE-2020-11724 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-11724

Vulnerability Analysis

This vulnerability is classified as CWE-444 (Inconsistent Interpretation of HTTP Requests), commonly known as HTTP Request Smuggling. The flaw originates in OpenResty's Lua Nginx module, specifically within the ngx_http_lua_subrequest.c file. The vulnerability occurs when the ngx.location.capture API improperly handles HTTP request headers, particularly the interaction between Content-Length and Transfer-Encoding: chunked headers.

HTTP Request Smuggling vulnerabilities arise when front-end and back-end servers disagree on where one request ends and another begins. In this case, the inconsistent handling of request boundaries in subrequests allows attackers to craft malicious requests that are interpreted differently by various components in the request processing chain.

Root Cause

The root cause lies in the improper handling of Content-Length and chunked transfer encoding in subrequests made via the ngx.location.capture API. When processing subrequests, the Lua module failed to properly sanitize or validate the relationship between these headers, creating an ambiguity in request boundary determination. The security patch addresses this by properly fixing the content length and chunked encoding handling in location captures.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted HTTP requests to an OpenResty server that uses the ngx.location.capture API for subrequests. By manipulating the Content-Length and Transfer-Encoding headers, an attacker can cause the server to misinterpret request boundaries.

The exploitation technique involves sending a request with conflicting Content-Length and Transfer-Encoding: chunked headers. When the vulnerable OpenResty instance processes this request through the ngx.location.capture API, the ambiguity allows the attacker to smuggle a secondary request that may bypass security controls, access unauthorized resources, or poison cached responses.

For technical implementation details and the specific fix, refer to the GitHub Commit Update.

Detection Methods for CVE-2020-11724

Indicators of Compromise

  • Unusual HTTP requests containing both Content-Length and Transfer-Encoding: chunked headers
  • Unexpected access to restricted resources or backend endpoints
  • Web cache anomalies or poisoned cache entries
  • Log entries showing requests with malformed or conflicting header combinations

Detection Strategies

  • Implement deep packet inspection to identify HTTP requests with conflicting Content-Length and Transfer-Encoding headers
  • Monitor web server logs for requests targeting internal subrequest endpoints
  • Deploy Web Application Firewalls (WAF) with HTTP Request Smuggling detection rules
  • Use network intrusion detection systems (IDS) with signatures for HTTP desync attacks

Monitoring Recommendations

  • Enable detailed logging for OpenResty Nginx modules, particularly subrequest operations
  • Monitor for anomalous patterns in HTTP request sizes and timing
  • Implement alerting for requests that fail header validation checks
  • Review access logs for unauthorized access to internal endpoints typically reached via ngx.location.capture

How to Mitigate CVE-2020-11724

Immediate Actions Required

  • Upgrade OpenResty to version 1.15.8.4 or later immediately
  • Review and audit all Lua scripts using the ngx.location.capture API
  • Implement strict HTTP header validation at the edge/load balancer level
  • Consider deploying a WAF with HTTP Request Smuggling protection while planning the upgrade

Patch Information

OpenResty has released security patches to address this vulnerability. The fix is available in OpenResty version 1.15.8.4 and later. Organizations should apply the update as soon as possible.

  • GitHub Commit Update - Direct fix for the lua-nginx-module
  • GitHub Patch for Lua Module - Patch file for version 0.10.15

For Debian users:

  • Debian Security Advisory DSA-4750
  • Debian LTS Announcement

Workarounds

  • Implement strict header validation at reverse proxy or load balancer level to reject requests with conflicting Content-Length and Transfer-Encoding headers
  • Normalize incoming requests at the edge before they reach OpenResty instances
  • Temporarily disable or audit usage of ngx.location.capture API in critical applications until patches are applied
  • Deploy network-level protections to detect and block HTTP request smuggling attempts
bash
# Configuration example for Nginx to reject ambiguous requests
# Add to nginx.conf or server block

# Reject requests with both Content-Length and Transfer-Encoding
if ($http_transfer_encoding ~* "chunked" ) {
    set $reject_request "chunked";
}
if ($http_content_length) {
    set $reject_request "${reject_request}_contentlength";
}
if ($reject_request = "chunked_contentlength") {
    return 400;
}

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechOpenresty

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability2.47%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Technical References
  • Debian LTS Announcement

  • NetApp Security Advisory

  • Debian Security Advisory DSA-4750
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Patch for Lua Module
  • Related CVEs
  • CVE-2020-36309: Lua-nginx-module Input Validation Flaw
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