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-2023-34981

CVE-2023-34981: Apache Tomcat Information Disclosure Flaw

CVE-2023-34981 is an information disclosure vulnerability in Apache Tomcat caused by a regression in AJP response handling. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-34981 Overview

CVE-2023-34981 is an information disclosure vulnerability affecting Apache Tomcat caused by a regression in the fix for bug 66512. When a response does not include any HTTP headers, no AJP SEND_HEADERS message is sent, which causes at least one AJP proxy (mod_proxy_ajp) to use the response headers from the previous request. This leads to an information leak where sensitive header data from one user's request could be exposed to another user.

Critical Impact

This vulnerability can expose sensitive response headers from previous requests to unauthorized users, potentially leaking authentication tokens, session identifiers, or other confidential information through AJP proxy configurations.

Affected Products

  • Apache Tomcat 11.0.0-M5
  • Apache Tomcat 10.1.8
  • Apache Tomcat 9.0.74
  • Apache Tomcat 8.5.88

Discovery Timeline

  • 2023-06-21 - CVE-2023-34981 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-34981

Vulnerability Analysis

The vulnerability stems from a regression introduced while fixing bug 66512 in Apache Tomcat. The AJP (Apache JServ Protocol) is a binary protocol used for communication between web servers and application servers. When properly functioning, Tomcat sends an AJP SEND_HEADERS message as part of every response to inform the proxy about the response headers.

The regression causes Tomcat to skip sending the SEND_HEADERS message when a response contains no HTTP headers. This creates a protocol violation where the AJP proxy (mod_proxy_ajp) has no header information for the current response. As a result, the proxy falls back to using cached headers from the previous request, causing header information leakage between different user sessions.

This vulnerability is classified under CWE-732 (Incorrect Permission Assignment for Critical Resource), as the improper protocol handling results in unauthorized access to response header information.

Root Cause

The root cause is a conditional logic error introduced in the fix for bug 66512. The code path that generates and sends AJP SEND_HEADERS messages incorrectly skips execution when the response header collection is empty. This violates the AJP protocol specification, which requires a SEND_HEADERS message for every response regardless of whether headers are present.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability by:

  1. Setting up or having access to a deployment where Apache Tomcat communicates with an Apache HTTP Server using mod_proxy_ajp
  2. Sending requests designed to trigger responses with no headers
  3. Monitoring subsequent requests to capture response headers from other users' sessions

The vulnerability is particularly dangerous in multi-tenant environments or high-traffic applications where the probability of capturing sensitive headers from other users increases significantly.

The exploitation relies on the timing and ordering of requests through the AJP proxy. When a response without headers is processed, the next user's request through the same proxy connection may receive response headers intended for a different user.

Detection Methods for CVE-2023-34981

Indicators of Compromise

  • Unexpected response headers appearing in HTTP responses that don't match the expected application behavior
  • User sessions receiving authentication or authorization headers from other users' requests
  • Inconsistent Set-Cookie, Authorization, or custom application headers in responses
  • Log entries showing header mismatches between Tomcat and the AJP proxy

Detection Strategies

  • Monitor AJP traffic between Apache HTTP Server and Tomcat for missing SEND_HEADERS messages
  • Implement application-level logging to track response header consistency
  • Review access logs for anomalies where users appear to receive responses intended for other sessions
  • Deploy network monitoring tools to analyze AJP protocol compliance

Monitoring Recommendations

  • Enable detailed AJP protocol logging on both the proxy and Tomcat servers
  • Set up alerts for session-related header inconsistencies
  • Monitor for authentication bypass attempts that could result from header leakage
  • Regularly audit Tomcat version deployments across the infrastructure

How to Mitigate CVE-2023-34981

Immediate Actions Required

  • Upgrade Apache Tomcat to a patched version immediately: 8.5.89+, 9.0.75+, 10.1.9+, or 11.0.0-M6+
  • If immediate upgrade is not possible, consider temporarily disabling AJP connector or switching to HTTP-based proxying
  • Review application code to ensure responses always include at least one HTTP header
  • Audit logs for any evidence of information leakage that may have occurred

Patch Information

Apache has released patched versions addressing this regression. Users should upgrade to the following versions or later:

  • Apache Tomcat 8.5.89 or later
  • Apache Tomcat 9.0.75 or later
  • Apache Tomcat 10.1.9 or later
  • Apache Tomcat 11.0.0-M6 or later

For detailed information, refer to the Apache Mailing List Thread and the NetApp Security Advisory NTAP-20230714-0003.

Workarounds

  • Disable the AJP connector if not required by commenting out or removing the AJP connector configuration in server.xml
  • Switch to HTTP/HTTPS-based proxying using mod_proxy_http instead of mod_proxy_ajp
  • Implement a reverse proxy rule to inject a minimal header into all responses before they reach the AJP proxy
  • Restrict AJP connector access to localhost only using the address attribute
bash
# Configuration example - Disable AJP connector in server.xml
# Comment out or remove the following line:
# <Connector protocol="AJP/1.3" port="8009" redirectPort="8443" />

# Alternative: Restrict AJP to localhost only
# <Connector protocol="AJP/1.3" port="8009" address="127.0.0.1" secretRequired="true" secret="your-secret-here" />

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 Tomcat

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.26%

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

  • CWE-732
  • Technical References
  • NetApp Security Advisory NTAP-20230714-0003
  • Vendor Resources
  • Apache Mailing List Thread
  • Related CVEs
  • CVE-2023-28708: Apache Tomcat Info Disclosure Vulnerability

  • CVE-2024-21733: Apache Tomcat Information Disclosure Flaw

  • CVE-2023-42795: Apache Tomcat Information Disclosure Flaw

  • CVE-2021-25122: Apache Tomcat Information Disclosure Flaw
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