Analytics Story: PHP November 2026 SOAP Vulnerabilities

Description

This analytic story covers the two Medium-severity PHP SOAP issues fixed in the November 2026 releases: DTD entity-reference use-after-free (CVE-2026-129506) and information disclosure through malformed array dimensions (CVE-2026-15353).

Why it matters

PHP's SOAP extension processes XML before an application can use the decoded values.

CVE-2026-129506 is a use-after-free involving a document type definition and an entity reference in an attribute value. A crafted request to an exposed SOAP endpoint can crash the worker; the advisory does not confirm code execution.

CVE-2026-15353 concerns an encoded SOAP array with an empty or invalid arraySize. The parser can use uninitialized memory as an array key, and a small amount of data may be exposed if the application returns the decoded array. A SoapClient can also encounter the array issue in a response from an untrusted service.

The two network analytics look for the request structures that reach these parser paths: a DTD with an attribute entity reference and an invalid array dimension. They are anomalies because the request alone does not prove that a vulnerable SOAP extension processed it, that a worker crashed, or that data was returned.

Review the SOAP endpoint, PHP version, XML handling, response, and nearby worker errors. A DTD may also appear in WSDL or schema content, and response-side SoapClient exposure requires telemetry beyond inbound HTTP requests.

Prioritize externally reachable SOAP services and applications that consume untrusted SOAP responses or WSDL documents. Restrict unneeded endpoints, validate accepted XML where possible, and upgrade to a fixed PHP release for the deployed branch.

Web Anomaly Followed by Server Process Execution

 1| tstats `security_content_summariesonly`
 2    min(_time) as firstTime
 3    max(_time) as lastTime
 4from datamodel=Risk.All_Risk where
 5
 6All_Risk.risk_object_type="system"
 7
 8source IN (
 9    "*PHP Serialized Object in POST Body*",
10    "*PHP SOAP DTD Entity Reference in Attribute*",
11    "*PHP SOAP Malformed Array Dimensions*",
12    "*HTTP Large POST and Oversized Multipart Header Activity*",
13    "*Ruby Repeated Legacy Sharp S Bytes in POST Body*",
14    "*PostScript or EPS Upload with Image or PDF Extension*",
15    "*Large HTTP POST Request Resulting in Server Error*",
16    "*Zeek HTTP Malformed Base64 Padding*",
17    "*Windows Suspicious Child Process Spawned From WebServer*",
18    "*Web or Application Server Spawning a Shell*",
19    "*Linux Auditd Shell from Web or Application Directory*",
20    "*Inline PHP Code Execution*"
21)
22
23by All_Risk.normalized_risk_object source _time span=1s
24
25| `drop_dm_object_name(All_Risk)`
26
27| where isnotnull(normalized_risk_object)
28
29| lookup asset_lookup_by_str asset as normalized_risk_object OUTPUT ip as asset_ip
30
31| eval normalized_risk_object=coalesce(asset_ip,normalized_risk_object)
32
33| fields - asset_ip
34
35| eval web_request=if(in(source,
36      "ESCU - PHP Serialized Object in POST Body - Rule",
37      "ESCU - PHP SOAP DTD Entity Reference in Attribute - Rule",
38      "ESCU - PHP SOAP Malformed Array Dimensions - Rule",
39      "ESCU - HTTP Large POST and Oversized Multipart Header Activity - Rule",
40      "ESCU - Ruby Repeated Legacy Sharp S Bytes in POST Body - Rule",
41      "ESCU - Large HTTP POST Request Resulting in Server Error - Rule",
42      "ESCU - Zeek HTTP Malformed Base64 Padding - Rule",
43      "ESCU - PostScript or EPS Upload with Image or PDF Extension - Rule"),1,0),
44       web_time=if(web_request=1,firstTime,null()),
45       web_source=if(web_request=1,source,null())
46
47| sort 0 normalized_risk_object firstTime -web_request
48
49| streamstats max(web_time) as preceding_web_time
50              last(web_source) as web_analytic
51              by normalized_risk_object
52
53| where web_request=0
54    AND isnotnull(preceding_web_time)
55    AND firstTime>=preceding_web_time
56    AND firstTime-preceding_web_time<=900
57
58| eval endpoint_analytic=source,
59       time_delta_seconds=firstTime-preceding_web_time,
60       risk_object=normalized_risk_object,
61       lastTime=firstTime,
62       firstTime=preceding_web_time
63
64| fields risk_object web_analytic endpoint_analytic time_delta_seconds firstTime lastTime
65
66| `security_content_ctime(firstTime)`
67| `security_content_ctime(lastTime)`
68| `web_anomaly_followed_by_server_process_execution_filter`

Detections

Name ▲▼ Technique ▲▼ Type ▲▼
PHP SOAP Malformed Array Dimensions Exploit Public-Facing Application Anomaly
PHP SOAP DTD Entity Reference in Attribute Exploit Public-Facing Application Anomaly

Data Sources

Name ▲▼ Platform ▲▼ Sourcetype ▲▼ Source ▲▼
Zeek HTTP POST Body Web zeek:http_post_body:json http_post_body.log

References


Source: GitHub | Version: 1