A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-28168

CVE-2024-28168: Apache FOP XXE Vulnerability Exploit

CVE-2024-28168 is an XML External Entity vulnerability in Apache Formatting Objects Processor that enables attackers to access sensitive data. This article covers technical details, affected versions, impact, and mitigation.

Published: May 26, 2026

CVE-2024-28168 Overview

CVE-2024-28168 is an XML External Entity (XXE) vulnerability in Apache XML Graphics Formatting Objects Processor (FOP) version 2.9. The flaw allows remote attackers to abuse XML parsing to read sensitive files, perform Server-Side Request Forgery (SSRF), or exfiltrate data from systems that process attacker-controlled XSL-FO or XML documents. The vulnerability is classified under [CWE-611] (Improper Restriction of XML External Entity Reference).

Apache addressed the issue in FOP version 2.10. Administrators using version 2.9 should upgrade immediately to remove the external entity processing risk.

Critical Impact

Remote, unauthenticated attackers can exploit XXE to disclose file contents and internal network resources from systems running Apache FOP 2.9.

Affected Products

  • Apache XML Graphics FOP 2.9
  • Applications embedding apache:formatting_objects_processor 2.9 for PDF or print rendering
  • Document pipelines that pass untrusted XML or XSL-FO into Apache FOP 2.9

Discovery Timeline

  • 2024-10-09 - CVE-2024-28168 published to NVD
  • 2025-07-16 - Last updated in NVD database

Technical Details for CVE-2024-28168

Vulnerability Analysis

Apache FOP converts XSL-FO documents into output formats such as PDF, PostScript, and PNG. Version 2.9 fails to adequately restrict external entity resolution during XML parsing. When FOP processes an attacker-supplied document, the underlying XML parser resolves external entities referenced in the document type declaration.

An attacker can declare an entity that points to a local file path or a remote URL. The parser fetches the resource and embeds its contents in the parsed document. Depending on how the calling application surfaces FOP output or errors, the attacker can read sensitive files such as /etc/passwd, retrieve internal HTTP endpoints, or trigger out-of-band data exfiltration.

The vulnerability does not require authentication or user interaction when reachable through a network-facing document conversion service. Confidentiality is directly impacted, while integrity and availability remain unaffected.

Root Cause

The root cause is the absence of secure XML parser configuration in Apache FOP 2.9. The parser permits DOCTYPE declarations and resolves both SYSTEM and parameter entities by default. No explicit disabling of external entities or external DTDs is enforced before document processing.

Attack Vector

Exploitation requires only the ability to submit XML or XSL-FO content to an application that hands it to FOP for rendering. The attacker crafts a document containing an external entity declaration that references a local file or remote endpoint. When FOP parses the document, the parser dereferences the entity and the content becomes available to the attacker through the rendered output, error messages, or out-of-band channels such as DNS or HTTP requests to attacker-controlled infrastructure.

No verified public proof-of-concept code is available. Refer to the Apache XMLGraphics Security Overview and the OpenWall OSS Security Discussion for technical details.

Detection Methods for CVE-2024-28168

Indicators of Compromise

  • Inbound XML or XSL-FO documents containing <!DOCTYPE> declarations with SYSTEM or PUBLIC external references
  • Outbound network connections from FOP processing hosts to unexpected internal IP ranges or external domains during document conversion
  • File access attempts from the FOP process to sensitive paths such as /etc/passwd, /proc/self/environ, or Windows configuration files
  • Unusual DNS lookups originating from servers running Apache FOP 2.9

Detection Strategies

  • Inspect XML payloads at the application layer for DOCTYPE, ENTITY, and SYSTEM keywords before they reach the parser
  • Monitor process telemetry from Java application servers hosting FOP for unexpected file reads or network connections
  • Correlate document submission events with subsequent outbound HTTP or DNS activity that completes within the conversion window

Monitoring Recommendations

  • Enable verbose logging on the FOP wrapper application to capture parsed document metadata and entity resolution errors
  • Forward Java process audit logs to a central data lake and build identifications for entity resolution failures and SSRF-style outbound traffic
  • Alert on any FOP host establishing connections to cloud metadata endpoints such as 169.254.169.254

How to Mitigate CVE-2024-28168

Immediate Actions Required

  • Upgrade Apache XML Graphics FOP to version 2.10 or later on all hosts and embedded deployments
  • Audit application dependencies and build artifacts for transitive inclusion of FOP 2.9
  • Restrict network egress from servers running document conversion services to block opportunistic SSRF and data exfiltration

Patch Information

Apache released FOP 2.10 to address CVE-2024-28168. The fix disables external entity resolution in the XML parsers used by FOP. Review the Apache XMLGraphics Security Overview for upgrade guidance and verify the runtime version reported by your application after deployment.

Workarounds

  • Configure the calling application to pre-process XML input and strip DOCTYPE declarations before invoking FOP
  • Run FOP in an isolated environment without access to sensitive files or internal network resources
  • Apply egress filtering to block the FOP host from contacting arbitrary external systems during document rendering
bash
# Configuration example: harden the XML parser used by the host application
# Java system properties to disable external DTDs and entities at JVM startup
java \
  -Djavax.xml.accessExternalDTD="" \
  -Djavax.xml.accessExternalSchema="" \
  -Djavax.xml.accessExternalStylesheet="" \
  -jar your-fop-application.jar

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechApache

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.28%

  • 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
  • CWE-611
  • Technical References
  • OpenWall OSS Security Discussion
  • Vendor Resources
  • Apache XMLGraphics Security Overview
  • Related CVEs
  • CVE-2026-46745: Apache Airflow FAB Auth Bypass Vulnerability

  • CVE-2026-45361: Apache Airflow Providers-Google Disclosure

  • CVE-2026-8503: Apache Session SHA256 Auth Bypass Flaw

  • CVE-2026-41018: Airflow Elasticsearch Info Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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