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-1745

CVE-2020-1745: Redhat Undertow AJP RCE Vulnerability

CVE-2020-1745 is a file inclusion vulnerability in Redhat Undertow's AJP connector that enables remote code execution. Attackers can exploit the default port 8009 to read files and execute malicious code. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 4, 2026

CVE-2020-1745 Overview

A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Red Hat Undertow version 2.0.29.Final and earlier. This vulnerability was fixed in version 2.0.30.Final. A remote, unauthenticated attacker could exploit this vulnerability to read web application files from a vulnerable server. In instances where the vulnerable server allows file uploads, an attacker could upload malicious JavaServer Pages (JSP) code within a variety of file types and trigger this vulnerability to gain remote code execution.

This vulnerability is related to the widely-publicized "Ghostcat" vulnerability (CVE-2020-1938) that affected Apache Tomcat's AJP connector, as both share similar attack vectors through the AJP protocol implementation.

Critical Impact

Remote unauthenticated attackers can read arbitrary web application files and potentially achieve remote code execution through file upload functionality combined with file inclusion.

Affected Products

  • Red Hat Undertow versions prior to 2.0.30.Final
  • Red Hat Undertow 2.0.29.Final and earlier
  • Systems with AJP connector enabled on default port 8009

Discovery Timeline

  • April 28, 2020 - CVE-2020-1745 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2020-1745

Vulnerability Analysis

This file inclusion vulnerability exists in the Apache JServ Protocol (AJP) connector implementation within Red Hat Undertow. The AJP protocol is designed to enable communication between web servers (like Apache HTTP Server) and application servers, typically operating on port 8009 by default.

The vulnerability stems from improper access controls in the AJP connector that allows attackers to manipulate AJP requests to read files outside the intended web application context. When combined with file upload functionality, this flaw can be escalated from a file read/inclusion vulnerability to full remote code execution by uploading malicious JSP content disguised as allowed file types (such as images) and then including them for execution.

The vulnerability is classified under CWE-285 (Improper Authorization), indicating that the core issue relates to insufficient access control validation within the AJP protocol handling.

Root Cause

The root cause of this vulnerability lies in the default configuration of the AJP connector and improper authorization checks when processing AJP requests. The AJP protocol implementation in affected Undertow versions does not adequately validate or restrict file access requests, allowing attackers to traverse directories and access sensitive files. The connector trusts incoming AJP requests without proper authentication, which is particularly dangerous when the AJP port is exposed to untrusted networks.

Attack Vector

The attack can be executed remotely over the network without requiring any authentication or user interaction. An attacker needs network access to port 8009 (or whichever port the AJP connector is configured to use) to exploit this vulnerability.

The exploitation typically follows this pattern:

  1. The attacker identifies a target server with an exposed AJP connector (default port 8009)
  2. Crafted AJP requests are sent to the connector to read sensitive files such as configuration files, source code, or credentials
  3. If file upload functionality exists, the attacker uploads a malicious JSP payload disguised as an allowed file type
  4. The attacker then uses the file inclusion capability to execute the uploaded JSP code, achieving remote code execution

For detailed technical analysis of the exploitation methodology, refer to the Tenable Blog CVE-2020-1938 Analysis which covers the related Ghostcat vulnerability with similar attack patterns.

Detection Methods for CVE-2020-1745

Indicators of Compromise

  • Unusual network connections to port 8009 from external or untrusted IP addresses
  • Unexpected file read attempts or access patterns in web application logs
  • Presence of suspicious files with unexpected extensions containing JSP code
  • Anomalous AJP protocol traffic patterns indicating malformed or crafted requests

Detection Strategies

  • Monitor network traffic for connections to AJP port 8009, especially from external sources
  • Implement intrusion detection rules to identify malicious AJP request patterns
  • Review web server access logs for path traversal attempts or unusual file access patterns
  • Deploy file integrity monitoring on web application directories to detect unauthorized modifications

Monitoring Recommendations

  • Configure network monitoring to alert on any external connections to the AJP connector port
  • Enable detailed logging for the Undertow server and AJP connector
  • Implement application-level monitoring to detect unusual file inclusion or execution patterns
  • Regularly audit uploaded files for suspicious content that may contain embedded JSP code

How to Mitigate CVE-2020-1745

Immediate Actions Required

  • Upgrade Red Hat Undertow to version 2.0.30.Final or later immediately
  • If immediate upgrade is not possible, disable the AJP connector entirely if not required
  • Restrict network access to the AJP port (8009) using firewall rules to allow only trusted hosts
  • Review and audit any file upload functionality for proper validation and restrictions

Patch Information

Red Hat has addressed this vulnerability in Undertow version 2.0.30.Final. Organizations should upgrade to this version or later to remediate the vulnerability. Additional information and patch details can be found in the Red Hat Bugzilla CVE-2020-1745 tracking entry. NetApp has also released guidance in their NetApp Security Advisory NTAP-20240216-0011.

Workarounds

  • Disable the AJP connector if it is not required for your deployment
  • Configure firewall rules to block external access to port 8009 and allow only trusted internal hosts
  • Implement a secret attribute for the AJP connector to require authentication between the web server and application server
  • Review and restrict file upload functionality to prevent uploading files that could be interpreted as executable code
bash
# Example firewall configuration to restrict AJP port access
# Allow only trusted web server (Apache/nginx) to connect to AJP port
iptables -A INPUT -p tcp --dport 8009 -s 192.168.1.100 -j ACCEPT
iptables -A INPUT -p tcp --dport 8009 -j DROP

# Alternatively, bind AJP connector to localhost only in Undertow configuration
# to prevent external network access

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechRedhat Undertow

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.70%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-285

  • NVD-CWE-noinfo
  • Technical References
  • Red Hat Bugzilla CVE-2020-1745

  • Meterpreter Alert CVE-2020-1938

  • NetApp Security Advisory NTAP-20240216-0011

  • CNVD Advisory #5415

  • Tenable Blog CVE-2020-1938 Analysis
  • Related CVEs
  • CVE-2023-3223: Red Hat Undertow DoS Vulnerability

  • CVE-2020-10705: Redhat Undertow DOS Vulnerability

  • CVE-2020-10687: Red Hat Undertow XSS 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