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-2021-27635

CVE-2021-27635: SAP NetWeaver Java XXE Vulnerability

CVE-2021-27635 is an XML External Entity (XXE) flaw in SAP NetWeaver Application Server for Java that allows authenticated administrators to read files or crash systems. This article covers technical details, affected versions, impact, and mitigation.

Published: February 25, 2026

CVE-2021-27635 Overview

CVE-2021-27635 is an XML External Entity (XXE) vulnerability affecting SAP NetWeaver Application Server for JAVA. The vulnerability arises from missing XML validation in the application, allowing an authenticated administrator to submit specially crafted XML files over the network. Successful exploitation enables attackers to read arbitrary files from the filesystem or cause a complete denial of service by crashing the system.

Critical Impact

Authenticated administrators can leverage this XXE vulnerability to fully compromise system confidentiality through arbitrary file read access or completely disrupt availability by causing system crashes.

Affected Products

  • SAP NetWeaver Application Server for JAVA version 7.20
  • SAP NetWeaver Application Server for JAVA version 7.30
  • SAP NetWeaver Application Server for JAVA version 7.31
  • SAP NetWeaver Application Server for JAVA version 7.40
  • SAP NetWeaver Application Server for JAVA version 7.50

Discovery Timeline

  • June 9, 2021 - CVE-2021-27635 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-27635

Vulnerability Analysis

This vulnerability is classified under CWE-611 (Improper Restriction of XML External Entity Reference). The application fails to properly validate XML input submitted through network connections, allowing malicious external entity references to be processed. When an authenticated administrator submits a specially crafted XML file, the parser processes external entity declarations without restriction, leading to server-side request forgery-like behavior within the XML parsing context.

The attack requires network access and high privileges (administrator authentication), which limits the potential attacker pool. However, once exploited, the impact on confidentiality and availability is severe. The vulnerability does not allow modification of data, so integrity remains unaffected. This XXE flaw enables attackers to reference external entities pointing to local file system resources or trigger resource exhaustion attacks leading to denial of service conditions.

Root Cause

The root cause of CVE-2021-27635 is the absence of proper XML validation and secure parser configuration in SAP NetWeaver AS for JAVA's system connections handling. The XML parser is configured to allow external entity resolution without restrictions, enabling attackers to include malicious entity references. Secure XML parsing requires disabling DTD processing, external entity resolution, and external parameter entities, none of which appear to be properly configured in the affected versions.

Attack Vector

The attack is network-based and requires the attacker to first obtain valid administrator credentials to the SAP NetWeaver AS for JAVA instance. Once authenticated, the attacker can interact with the system connections functionality and submit malicious XML payloads containing external entity declarations. These declarations can reference local files using file:// protocol handlers to exfiltrate sensitive configuration files, credentials, or other system data. Alternatively, the attacker can craft payloads designed to cause XML parser exhaustion or infinite recursion, resulting in denial of service.

The exploitation mechanism involves crafting XML documents with DOCTYPE declarations containing ENTITY definitions that reference external resources. When the server parses these documents without proper validation, it attempts to resolve the external references, exposing file contents or consuming excessive resources.

Detection Methods for CVE-2021-27635

Indicators of Compromise

  • Unusual XML parsing errors in SAP NetWeaver AS for JAVA logs, particularly involving external entity resolution failures
  • Unexpected file access attempts originating from the Java process running SAP NetWeaver, especially to sensitive files like /etc/passwd or SAP configuration files
  • System connection configuration changes made by administrator accounts during unusual hours
  • Application crashes or service restarts preceded by XML processing activities

Detection Strategies

  • Monitor SAP NetWeaver AS for JAVA application logs for XML parsing exceptions and external entity resolution attempts
  • Implement network traffic analysis to detect XML payloads containing DOCTYPE declarations with ENTITY references
  • Configure SIEM rules to alert on file read operations by the SAP NetWeaver process to sensitive system paths
  • Deploy web application firewall (WAF) rules to inspect and block XML payloads containing suspicious external entity patterns

Monitoring Recommendations

  • Enable verbose logging for XML processing components in SAP NetWeaver AS for JAVA
  • Establish baseline behavior for administrator actions in system connections and alert on deviations
  • Monitor for signs of denial of service conditions such as memory exhaustion or excessive CPU usage during XML parsing operations
  • Review administrator account access patterns and implement anomaly detection for privileged user activities

How to Mitigate CVE-2021-27635

Immediate Actions Required

  • Apply the security patch referenced in SAP Support Note #3053066 immediately
  • Review administrator account access and ensure principle of least privilege is enforced
  • Audit recent system connection configuration changes for signs of exploitation
  • Consider temporarily restricting network access to the affected functionality until patching is complete

Patch Information

SAP has released a security patch addressing this vulnerability. Administrators should obtain the fix from SAP Support Note #3053066. Additional information about this and related security updates can be found on the SAP Wiki Security Advisory page. Technical details about the exploitation technique are documented in the Packet Storm Security advisory and the Full Disclosure mailing list.

Workarounds

  • Restrict network access to SAP NetWeaver AS for JAVA administrative interfaces using firewall rules or network segmentation
  • Implement strict access controls limiting which accounts have administrator privileges
  • Deploy a web application firewall (WAF) configured to block XML payloads containing external entity declarations
  • If feasible, disable or restrict the system connections functionality until the patch can be applied
  • Consider implementing additional authentication requirements for administrative functions
bash
# Example: Network restriction for SAP administrative interfaces
# Restrict access to SAP NetWeaver management ports to trusted networks only
iptables -A INPUT -p tcp --dport 50000 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 50000 -j DROP

# Review active administrator sessions
# Check SAP NetWeaver user management for unusual admin accounts

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechSap Netweaver

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability2.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-611
  • Vendor Resources
  • Packet Storm XML Injection Exploit

  • Full Disclosure Security Mailing List

  • SAP Support Note #3053066

  • SAP Wiki Page Overview
  • Related CVEs
  • CVE-2026-34257: SAP NetWeaver ABAP Open Redirect Flaw

  • CVE-2026-27674: SAP NetWeaver Web Dynpro XSS Vulnerability

  • CVE-2026-24316: SAP NetWeaver ABAP SSRF Vulnerability

  • CVE-2026-27685: SAP NetWeaver Privilege Escalation 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