heroui logo

PHP SOAP DTD Entity Reference in Attribute

Splunk Security Content

View Source
Summary
Anomaly detection rule that identifies SOAP HTTP POST requests containing a DOCTYPE declaration and an XML attribute value containing an entity reference (potential XXE-like abuse in PHP SOAP). It processes Zeek http_post_body events, normalizes the payload to remove certain null-byte patterns, and enforces two patterns: (1) a DOCTYPE declaration within the first 2048 characters, and (2) an attribute value containing a non-standard entity reference (not a standard &, <, >, ", or '). On a match, it aggregates by uid, src, dest, and dest_port, recording the URL and body size, and timestamps (firstTime/lastTime). The rule is labeled as php_soap_dtd_entity_reference_in_attribute_filter and is associated with CVE-2026-129506 (MITRE T1190). It targets web-facing SOAP services, and includes notes on implementation, known false positives (legitimate SOAP integrations that permit DTDs or entity references in attributes), and references for context.
Categories
  • Web
Data Sources
  • Kernel
ATT&CK Techniques
  • T1190
Created: 2026-11-23