CVE-2026-0300: Unauthenticated Stack Buffer Overflow to Root RCE in Palo Alto Networks PAN-OS User-ID Captive Portal
HERMES THREAT SCORE & ENTERPRISE PERIMETER FIREWALL BREACH
Target:Palo Alto Networks PAN-OS (Next-Gen Firewalls) CVSS v3.1 rates CVE-2026-0300 at 9.8 (Critical) and CVSS v4.0 at 9.8. The Hermes Threat Score assigns 99 (CRITICAL). Alignment is comprehensive: Palo Alto Networks Next-Generation Firewalls form the perimeter security core for Fortune 500 enterprises. Exploiting the captive portal daemon delivers immediate root privileges on the control plane, allowing total suppression of security filtering, SSL/TLS decryption key interception, and stealthy persistence.
CVE-2026-0300: Unauthenticated Stack Buffer Overflow to Root RCE in Palo Alto Networks PAN-OS User-ID Captive PortalVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
π Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in Palo Alto Networks PAN-OS documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
Adversaries search compromise victims for unsecured credentials in files, environment variables, or memory.
π Why is this related? (Evidence & Provenance)
“Attack execution telemetry aligns with MITRE ATT&CK technique T1552.”
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Technical Context & Affected Software Matrix
Section titled β1. Technical Context & Affected Software MatrixβPalo Alto Networks firewalls deploy Captive Portal to force browser-based authentication for untrusted clients or guests before granting broader network access.
| Parameter | Technical Specification | Threat Context |
|---|---|---|
| CVE Identifier | CVE-2026-0300 | CISA KEV Catalog Entry |
| Vulnerable Service | useridd (Captive Portal Web Worker) | User-ID mapping and authentication service |
| Architecture | PAN-OS Control Plane / Linux kernel | MIPS / x86_64 Hardware (PA-Series) & VM-Series |
| Network Vector | Network (AV:N), TCP Ports 6080, 6081, 6082, 443 | Captive Portal listening interfaces |
| Affected Versions | PAN-OS 11.2 < 11.2.4, 11.1 < 11.1.5, 11.0 < 11.0.6, 10.2 < 10.2.11 | Enterprise firewalls and data center perimeters |
| Fixed Versions | PAN-OS 11.2.4, 11.1.5, 11.0.6, 10.2.11 | Palo Alto Networks Security Advisory PAN-SA-2026-0003 |
| Threat Actors | State-sponsored APT groups & perimeter access brokers | Long-term cyber espionage and rootkit installation |
2. In-Depth Technical Decomposition: Stack Buffer Overflow in useridd
Section titled β2. In-Depth Technical Decomposition: Stack Buffer Overflow in useriddβA. Vulnerable Request Parsing Routine
Section titled βA. Vulnerable Request Parsing RoutineβDuring User-ID Captive Portal challenge-response workflows, the HTTP parser parses incoming GET and POST parameters including url, preurl, and user_redirect. In the vulnerable useridd binary:
// Decompiled pseudocode from useriddint process_captive_portal_request(http_req_t *req) { char stack_redirect_buf[512]; // Fixed-size stack buffer const char *redirect_param = get_query_param(req, "preurl");
if (redirect_param) { // VULNERABILITY: strcpy without boundary checking strcpy(stack_redirect_buf, redirect_param); sanitize_and_redirect(stack_redirect_buf); } return 0;}+----------------------------------------------------------------------------------------------------+| CVE-2026-0300 EXPLOITATION MECHANICS |+----------------------------------------------------------------------------------------------------+
[Remote Adversary] β β [1] HTTP GET /php/utils/router.php/useridd?preurl=AAAA...[1024 bytes] β Targeting Captive Portal Interface (e.g. port 6082) βΌ [PAN-OS Firewall Network Interface] β βββββΊ 1. Captive Portal HTTP Handler: β - Forwards incoming request to useridd worker thread β βββββΊ 2. Stack Memory Corruption in useridd: β - strcpy() exceeds stack_redirect_buf allocation (512 bytes) β - Overwrites saved Frame Pointer ($RBP / $EBP) β - Overwrites Return Address with gadget / shellcode trampoline β βββββΊ 3. ROP Chain & Shellcode Execution: β - useridd runs as root (UID 0) on the PAN-OS management plane β - Bypasses ASLR via information leak or fixed binary mapping β βΌ [Root Shell on PAN-OS Management Plane] β βββββΊ Spawns interactive reverse shell: - Installs persistent cron jobs in /etc/cron.d/ - Intercepts GlobalProtect VPN sessions and user credentials - Modifies firewall rule tables in /opt/panos/+----------------------------------------------------------------------------------------------------+3. Threat Intelligence, CISA KEV & Exploitation in the Wild
Section titled β3. Threat Intelligence, CISA KEV & Exploitation in the Wildβ- CISA KEV Listing: Cataloged under emergency directives due to ongoing active exploitation by advanced threat actors targeting government and critical infrastructure perimeters.
- Weaponization Vector: Highly stable exploits leveraging Return-Oriented Programming (ROP) targeting x86_64 VM-Series instances and PA-Series physical hardware.
- Observed Post-Exploitation Actions:
- Disabling threat prevention logging (
mp-log useridd.logtampering). - Extracting private keys from
/opt/pancfg/mgmt/and decrypting TLS inspection streams. - Using compromised firewalls as stealthy relay points for lateral movement into Active Directory domain controllers.
- Disabling threat prevention logging (
4. MITRE ATT&CK Mapping
Section titled β4. MITRE ATT&CK Mappingβ| Tactic | Technique ID | Technique Name | Exploitation Manifestation |
|---|---|---|---|
| Initial Access | T1190 | Exploit Public-Facing Application | Remote network delivery of buffer overflow request to Captive Portal |
| Execution | T1203 | Exploitation for Client/Server Execution | Overwriting stack memory in useridd yielding root execution |
| Defense Evasion | T1562.001 | Impair Defenses: Disable or Modify Tools | Tampering with PAN-OS security inspection rules and log output |
| Credential Access | T1552 | Unsecured Credentials | Stealing Active Directory service account passwords stored in User-ID agent configs |
| Persistence | T1543 | Create or Modify System Process | Installing persistent systemd services or startup scripts |
5. Detection Engineering & Telemetry
Section titled β5. Detection Engineering & TelemetryβA. Suricata Detection Rule
Section titled βA. Suricata Detection Ruleβalert http any any -> $PANOS_FIREWALLS any ( msg:"HERMES DEFENSE - Palo Alto Networks PAN-OS Captive Portal Stack Overflow Attempt (CVE-2026-0300)"; flow:established,to_server; http.uri; pcre:"/(\/php\/utils\/router\.php|\/useridd).*(preurl|user_redirect)=[^&]{512,}/i"; classtype:attempted-admin; sid:20260300; rev:1; reference:cve,2026-0300;)B. Sigma Detection Rule
Section titled βB. Sigma Detection Ruleβtitle: PAN-OS useridd Process Crash or Core Generationid: 5a7b32e1-89dc-4c22-9214-0300c026e01status: highdescription: Detects crashes or segmentation faults of the PAN-OS useridd daemon indicating potential stack overflow exploitation.author: Hermes Codex Detection Engineeringdate: 2026-09-11logsource: product: panos service: systemdetection: selection: message|contains: - 'useridd crashed' - 'useridd: segfault' - 'core.useridd' - 'Process useridd died' condition: selectionfalsepositives: - Rare software bugs or memory faults during upgrade procedures.level: criticaltags: - attack.initial_access - attack.t1190 - attack.execution6. Digital Forensics & Incident Response (DFIR)
Section titled β6. Digital Forensics & Incident Response (DFIR)βForensics Triage Commands on PAN-OS CLI:
Section titled βForensics Triage Commands on PAN-OS CLI:β- Check for Process Crashes:
show system files# Look for core.useridd.* in the crash directoryless mp-log useridd.log
- Review System Alarms:
show log system direction equal backward severity equal critical
- Verify Integrity of File System:
show system software integrity
Hunting Query (Splunk / Elasticsearch):
Section titled βHunting Query (Splunk / Elasticsearch):β{ "query": { "bool": { "must": [ { "term": { "log.type": "panos_system" } }, { "query_string": { "query": "useridd AND (segfault OR crash OR \"signal 11\")" } } ] } }}7. Mitigation & Remediation
Section titled β7. Mitigation & Remediationβ- Apply Emergency PAN-OS Patches: Upgrade to 11.2.4, 11.1.5, 11.0.6, or 10.2.11 immediately.
- Disable Inbound Captive Portal on Untrusted Zones: Verify that Captive Portal policies are never bound to outside, untrusted, or public-facing network interfaces.
- Deploy App-ID and Threat Signatures: Ensure Palo Alto Networks Threat Prevention signatures
94892and94893are actively blocking traffic with severity set toreset-both. - Certificate Rotation: If a firewall is suspected to have been breached, immediately regenerate all Local CA certificates and SSL Decryption keypairs.