Skip to content
skopnix
← Cortex XDR detections

Cortex XDR · CVE exploitation

PHP2Shell (CVE-2026-109618 / CVE-2026-109619): web request reads a PHP session file

Correlation
set the rule's MITRE tactic to TA0001 and technique to T1190
severity
high
confidence
75/100
generated
14 Nov 2026
Requires
PAN-OS URL filtering logs in Cortex (panw_ngfw_url_raw); HTTPS needs decryption

A request URI that names a PHP session file (sess_...) together with a path traversal, an absolute session directory or a php:// wrapper. The leaked PHP2Shell chain writes attacker data into the session file through upload progress and then includes that file; this is the include step as it shows up in a URL.

False-positive notes

Needs "sess_" AND one of ../ (plain or URL-encoded), /tmp/, /var/lib/php, a Windows temp path or php:// in the same URI. A session id in a cookie or a normal ?PHPSESSID= parameter does not contain sess_ and does not match. Only covers the include when the file name travels in the URL; a POST body include needs WAF payload logging. Needs raw request-URI logging (some servers normalise ../ away). Correlate with the HTTP status before calling it a compromise.

References

dataset = panw_ngfw_url_raw| filter lowercase(uri) contains "sess_" and (lowercase(uri) contains "../" or lowercase(uri) contains "..%2f" or lowercase(uri) contains "%2e%2e" or lowercase(uri) contains "/tmp/" or lowercase(uri) contains "%2ftmp%2f" or lowercase(uri) contains "/var/lib/php" or lowercase(uri) contains "%2fvar%2flib%2fphp" or lowercase(uri) contains "php://" or lowercase(uri) contains "php%3a%2f%2f" or lowercase(uri) contains "windows%5ctemp")| fields _time, source_ip, dest_ip, url_domain, uri, category| sort desc _time

skopnix-cortex-cve-cve-2026-109618-session-file-read-56373460.xql

How to deploy on Cortex XDR

Step 1
Paste the XQL into Incident Response > Investigation > Query Builder > XQL Search.
Step 2
To alert, save it as a Correlation Rule and set the MITRE tactic and technique printed with the rule.
Step 3
Schedule it on the interval you hunt at; keep the fields stage for the alert's columns.
Check
CVE rules read PAN-OS URL logs (panw_ngfw_url_raw), which need the NGFW integration and, for HTTPS, decryption.