CriticalCVE-2024-3400

    PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtect (CVE-2024-3400)

    Published In CISA KEV since Sources: CVE.org, NCSC NZ, pwn.watch

    What is affected, what to do

    A command injection as a result of arbitrary file creation vulnerability in the GlobalProtect feature of Palo Alto Networks PAN-OS software for specific PAN-OS versions and distinct feature configurations may enable an unauthenticated attacker to execute arbitrary code with root privileges on the firewall. Cloud NGFW, Panorama appliances, and Prisma Access are not impacted by this vulnerability.

    The vulnerability is being actively exploited; treat it as a priority. CISA lists it as used in ransomware campaigns. Update Palo Alto Networks PAN-OS to version 10.2.9-h1, Palo Alto Networks PAN-OS to version 11.0.4-h1, Palo Alto Networks PAN-OS to version 11.1.2-h3. Immediate actions, mitigation and detection rules are in the runbook below.

    Affected
    • Palo Alto Networks PAN-OS lt 10.2.0..10.2.9-h1
    • Palo Alto Networks PAN-OS lt 11.0.0..11.0.4-h1
    • Palo Alto Networks PAN-OS lt 11.1.0..11.1.2-h3
    Fixed in
    • Palo Alto Networks PAN-OS 10.2.9-h1
    • Palo Alto Networks PAN-OS 11.0.4-h1
    • Palo Alto Networks PAN-OS 11.1.2-h3

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    10.0

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    10.0

    CVSS v3

    Severity Critical on the scale from 0 to 10.

    Source: CVE.org, NCSC NZ, pwn.watch

    —

    EPSS score

    No value is available for this vulnerability.

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    259.96 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    actively exploitedSource: CERT.at, ANSSI / CERT-FR, NCSC NZ How we classify
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    10.0 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    10.0
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    Actively exploited
    Published
    In CISA KEV since

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    CWE

    CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.

    Read in glossary
    CWE-77, CWE-20

    Response and mitigation

    Why act now?

    Prioritisation rationale

    This flaw is network-reachable without authentication or user interaction and yields root on a perimeter device. That compromises the very control meant to protect everything behind it. It ranks among the CVEs most likely to be exploited, and public exploit code and mass scanning followed disclosure almost immediately. CISA also flags known use in ransomware campaigns, typically as initial access followed by theft of configuration and credentials. Any organisation running internet-exposed GlobalProtect on an affected version should treat this as a top-tier emergency and assume compromise until log review proves otherwise.

    1. Runbook step 1

      Immediate response (0-24 h)

      • Scope exposure: Inventory every PAN-OS firewall on the 10.2, 11.0 and 11.1 trains that has a GlobalProtect gateway or portal configured (Network > GlobalProtect > Gateways/Portals). Cloud NGFW, Panorama and Prisma Access are out of scope per the advisory. Start with internet-facing GlobalProtect.
      • Apply the hotfix: Upgrade to at least PAN-OS 10.2.9-h1, 11.0.4-h1 or 11.1.2-h3. Older maintenance releases have their own hotfixes – look up the exact version in the vendor advisory. Upgrade HA pairs sequentially and confirm the running version after the reboot.
      • Check for compromise before patching: Pull a Tech Support File (TSF) before upgrade-driven log rotation destroys evidence. Then run grep pattern "failed to unmarshal session(.\+.\/" mp-log gpsvc.log*. A hit containing a path fragment (../) in the session value strongly indicates an exploitation attempt.
      • If compromise is suspected: Treat the appliance as untrusted, because a hotfix does not remove persistence. Factory-reset or reimage it following the vendor's remediation guidance, then restore configuration from a verified backup.
      • Rotate secrets (mandatory on suspicion, risk-based otherwise): local admin accounts, the firewall's LDAP/RADIUS service accounts, IPsec PSKs, API keys, GlobalProtect certificates and private keys, and the master key.
      • Regulatory clock: If a perimeter device compromise is confirmed, plan for the NIS2 24-hour early warning to your national CSIRT/competent authority.
    2. Runbook step 2

      Mitigation layers

      • IPS (Threat Prevention): If you hold a Threat Prevention licence, set the vendor signatures for CVE-2024-3400 (Threat IDs 95187, 95189, 95191 – confirm currency in the advisory) to "reset-both". Make sure the Vulnerability Protection profile is attached to the rule matching GlobalProtect traffic on the GlobalProtect interface, and keep content updates current.
      • Important caveat: Disabling device telemetry, which was the early workaround, is not considered effective mitigation. Never rely on it in place of the hotfix or the IPS signature.
      • Network segmentation: Restrict the management interface to a dedicated admin VLAN or jump host. Egress-filter the firewall's own management and dataplane IPs at an upstream device so they can only reach required destinations (updates, Panorama, log collectors).
      • Attack-surface reduction: If you can neither patch nor deploy the signature right away, temporarily disable GlobalProtect on exposed interfaces or restrict it with geo/IP allowlists. Weigh this against the remote-access business impact.
      • IAM / least privilege: Limit the firewall's LDAP bind accounts to read-only, restrict their AD logon to the firewall IPs, and enforce MFA on all VPN access.
    3. Runbook step 3

      Detection rules

      • PAN-OS threat log (SIEM): Alert on the CVE signatures. KQL: CommonSecurityLog | where DeviceVendor == "Palo Alto Networks" and Activity == "THREAT" and DeviceEventClassID in ("95187","95189","95191").
      • gpsvc.log / TSF review: Look for SESSID cookie values containing path traversal (../) or shell metacharacters (`, $(, ${IFS}). Also check for unexpected files under /var/appweb/sslvpndocs/global-protect/ and /opt/panlogs/tmp/device_telemetry/.
      • Network telemetry (Zeek/Suricata/NetFlow): Watch for outbound HTTP(S) connections originating from the firewall itself (management or dataplane IP) to destinations outside Palo Alto update infrastructure, especially with curl/wget-style user agents. Small script downloads shortly after inbound GlobalProtect traffic are a further red flag.
      • Config and data exfiltration: Flag unusual exports of running-config.xml or large outbound transfers from the firewall IP. Correlate them with config-log entries that have no matching admin login.
      • Downstream movement (Windows): Monitor Event IDs 4624 (logon type 3) and 4769 from the firewall's LDAP service account against atypical hosts. Also watch for new VPN sessions from unknown source IPs followed by RDP/SMB from the GlobalProtect address pool (Sysmon EID 3 on targets).

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    A command injection as a result of arbitrary file creation vulnerability in the GlobalProtect feature of Palo Alto Networks PAN-OS software for specific PAN-OS versions and distinct feature configurations may enable an unauthenticated attacker to execute arbitrary code with root privileges on the firewall. Cloud NGFW, Panorama appliances, and Prisma Access are not impacted by this vulnerability.

    Source: NVD (NIST), cvelistv5, CISA KEV Catalog, CVE.org (MITRE), NCSC NZ (CC BY 4.0), pwn.watch

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    Palo Alto NetworksPAN-OS
    • 10.2.0 – < 10.2.9-h1
    • 11.1.0 – < 11.1.2-h3
    • 11.0.0 – < 11.0.4-h1
    • 10.2.9-h1
    • 11.1.2-h3
    • 11.0.4-h1

    Vendors and products

    Affected operating systems

    Affected operating systems
    Otherpaloaltonetworkspan-os10.2.0
    Otherpaloaltonetworkspan-os10.2.1
    Otherpaloaltonetworkspan-os10.2.2
    Otherpaloaltonetworkspan-os10.2.3
    Otherpaloaltonetworkspan-os10.2.4
    Otherpaloaltonetworkspan-os10.2.5
    Otherpaloaltonetworkspan-os10.2.6
    Otherpaloaltonetworkspan-os10.2.7
    Otherpaloaltonetworkspan-os10.2.8
    Otherpaloaltonetworkspan-os10.2.9
    Otherpaloaltonetworkspan-os11.0.0
    Otherpaloaltonetworkspan-os11.0.1
    Otherpaloaltonetworkspan-os11.0.2
    Otherpaloaltonetworkspan-os11.0.3
    Otherpaloaltonetworkspan-os11.0.4
    Otherpaloaltonetworkspan-os11.1.0
    Otherpaloaltonetworkspan-os11.1.1
    Otherpaloaltonetworkspan-os11.1.2

    Weakness classes (CWE)

    • CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')

      Class

      The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

      Entry at MITRE CWE-77
    • CWE-20Improper Input Validation

      Class

      The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

      Entry at MITRE CWE-20

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    CISA KEV CatalogCISA Known Exploited Vulnerability (opens in a new tab)cisa.govactively exploited
    NCSC NZPalo Alto Command Injection Vulnerability in PAN-OS GlobalProtect (opens in a new tab)NCSC NZactively exploited
    ANSSI / CERT-FRLicence Ouverte 2.0, as of CERTFR-2024-ALE-006 – [MàJ] Vulnérabilité dans Palo Alto Networks GlobalProtect (clôturée 2024-07-01) (opens in a new tab)cert.cyber.gouv.fractively exploited
    Reference tagged as exploitunit42.paloaltonetworks.com (opens in a new tab)PoC (publicly reported)reported, not verified—
    PoC-in-GitHub (nomi-sec)cve-2024-3400-panos_rce_reproduction (opens in a new tab)github.comPoC (publicly reported)reported, not verified
    PoC-in-GitHub (nomi-sec)CVE-2024-3400_Testing (opens in a new tab)github.comPoC (publicly reported)reported, not verified

    References & sources

    • security.paloaltonetworks.comCVE-2024-3400 PAN-OS: arbitrary file creation leads to OS command injection in GlobalProtectVendor advisory, Vendor advisory, pwn-watch
    • unit42.paloaltonetworks.comThreat brief: Operation MidnightEclipse, post-exploitation activity related to CVE-2024-3400Technical description, Exploit, Vendor advisory, pwn-watch
    • volexity.comZero-day exploitation of unauthenticated RCE in GlobalProtect (CVE-2024-3400)Technical description, Exploit, Third-party advisory, pwn-watch
    • paloaltonetworks.comblog/2024/04/more-on-the-pan-os-cveTechnical description, Technical description, Vendor advisory
    • cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2024-3400government-resource, US government resource
    • cert.atCERT.at: Update#3: Kritische Sicherheitslücke in Palo Alto PAN-OS (Global Protect) aktiv ausgenützt - Patches verfügbarcert-at
    • cert.cyber.gouv.frANSSI / CERT-FR: CERTFR-2024-ALE-006 – [MàJ] Vulnérabilité dans Palo Alto Networks GlobalProtect (clôturée 2024-07-01)cert-fr
    • pwn.watchpwn.watch: Palo Alto PAN-OS GlobalProtect zero-day (CVE-2024-3400)pwn-watch
    • NVD (NIST)NVD: CVE-2024-3400pwn-watch
    • cisa.govCISA Known Exploited Vulnerabilities Catalogpwn-watch

    Linked advisories

    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2024-3400
    <a href="https://intel.neosec.eu/en/cve/CVE-2024-3400"><img src="https://intel.neosec.eu/badge/cve/CVE-2024-3400.svg?lang=en" alt="CVE-2024-3400 – NEOSEC Intel" height="20"></a>