Skip to content

CVE-2026-0300: Unauthenticated Stack Buffer Overflow to Root RCE in Palo Alto Networks PAN-OS User-ID Captive Portal

HERMES

HERMES THREAT SCORE & ENTERPRISE PERIMETER FIREWALL BREACH

Target: Palo Alto Networks PAN-OS (Next-Gen Firewalls)
Confidence: 99%
99 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 20 / 20
Threat Activity 20 / 20
Weaponization 20 / 20
Exposure 20 / 20
Prevalence 20 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 20 / 20
βš–οΈ Divergence & Operational Rationale

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.

πŸ•ΈοΈ Connected Knowledge Graph & Provenance

CVE-2026-0300: Unauthenticated Stack Buffer Overflow to Root RCE in Palo Alto Networks PAN-OS User-ID Captive PortalVULNERABILITY

Connected Nodes: 2
Active Relationships (Outgoing)
→ affectsPRODUCTPalo Alto Networks PAN-OS
98% VERY_HIGH

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.”

Supporting Verified Evidence:
→ usesATTACK TECHNIQUET1552: Unsecured Credentials
90% 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.”

Supporting Verified Evidence:

Palo Alto Networks firewalls deploy Captive Portal to force browser-based authentication for untrusted clients or guests before granting broader network access.

ParameterTechnical SpecificationThreat Context
CVE IdentifierCVE-2026-0300CISA KEV Catalog Entry
Vulnerable Serviceuseridd (Captive Portal Web Worker)User-ID mapping and authentication service
ArchitecturePAN-OS Control Plane / Linux kernelMIPS / x86_64 Hardware (PA-Series) & VM-Series
Network VectorNetwork (AV:N), TCP Ports 6080, 6081, 6082, 443Captive Portal listening interfaces
Affected VersionsPAN-OS 11.2 < 11.2.4, 11.1 < 11.1.5, 11.0 < 11.0.6, 10.2 < 10.2.11Enterprise firewalls and data center perimeters
Fixed VersionsPAN-OS 11.2.4, 11.1.5, 11.0.6, 10.2.11Palo Alto Networks Security Advisory PAN-SA-2026-0003
Threat ActorsState-sponsored APT groups & perimeter access brokersLong-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”

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 useridd
int 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.log tampering).
    • 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.

TacticTechnique IDTechnique NameExploitation Manifestation
Initial AccessT1190Exploit Public-Facing ApplicationRemote network delivery of buffer overflow request to Captive Portal
ExecutionT1203Exploitation for Client/Server ExecutionOverwriting stack memory in useridd yielding root execution
Defense EvasionT1562.001Impair Defenses: Disable or Modify ToolsTampering with PAN-OS security inspection rules and log output
Credential AccessT1552Unsecured CredentialsStealing Active Directory service account passwords stored in User-ID agent configs
PersistenceT1543Create or Modify System ProcessInstalling persistent systemd services or startup scripts

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;
)
title: PAN-OS useridd Process Crash or Core Generation
id: 5a7b32e1-89dc-4c22-9214-0300c026e01
status: high
description: Detects crashes or segmentation faults of the PAN-OS useridd daemon indicating potential stack overflow exploitation.
author: Hermes Codex Detection Engineering
date: 2026-09-11
logsource:
product: panos
service: system
detection:
selection:
message|contains:
- 'useridd crashed'
- 'useridd: segfault'
- 'core.useridd'
- 'Process useridd died'
condition: selection
falsepositives:
- Rare software bugs or memory faults during upgrade procedures.
level: critical
tags:
- attack.initial_access
- attack.t1190
- attack.execution

  1. Check for Process Crashes:
    show system files
    # Look for core.useridd.* in the crash directory
    less mp-log useridd.log
  2. Review System Alarms:
    show log system direction equal backward severity equal critical
  3. Verify Integrity of File System:
    show system software integrity
{
"query": {
"bool": {
"must": [
{ "term": { "log.type": "panos_system" } },
{
"query_string": {
"query": "useridd AND (segfault OR crash OR \"signal 11\")"
}
}
]
}
}
}

  1. Apply Emergency PAN-OS Patches: Upgrade to 11.2.4, 11.1.5, 11.0.6, or 10.2.11 immediately.
  2. Disable Inbound Captive Portal on Untrusted Zones: Verify that Captive Portal policies are never bound to outside, untrusted, or public-facing network interfaces.
  3. Deploy App-ID and Threat Signatures: Ensure Palo Alto Networks Threat Prevention signatures 94892 and 94893 are actively blocking traffic with severity set to reset-both.
  4. Certificate Rotation: If a firewall is suspected to have been breached, immediately regenerate all Local CA certificates and SSL Decryption keypairs.