CVE-2021-3060 is an OS command injection vulnerability in the Simple Certificate Enrollment Protocol (SCEP) feature of Palo Alto Networks PAN-OS. The vulnerability arises from insecure handling of user-supplied input in the SCEP profile functionality, combined with weak cryptographic key derivation and predictable token generation. An unauthenticated, network-based attacker with knowledge of the firewall configuration can exploit this flaw via the GlobalProtect interfaces to execute arbitrary code with root privileges. The exploit leverages a hardcoded master key for cryptographic operations, allowing the attacker to generate valid authentication tokens and upload arbitrary files, such as webshells or malicious shared objects, to the device.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Python exploit script (cve-2021-3060.py) targeting Palo Alto Networks GlobalProtect devices vulnerable to CVE-2021-3060. The script abuses the SCEP endpoint to inject a PHP webshell into /var/appweb/sslvpndocs/a.php, enabling arbitrary command execution as the 'nobody' user via HTTP GET requests. It also uploads a base64-encoded ELF shared object to /tmp/lib.so and a bash script to /tmp/hax, then attempts to load the shared object as an OpenSSL engine, which may allow privilege escalation. The script uses custom AES encryption to generate tokens for the SCEP request. The main attack vector is network-based, requiring access to the target's SCEP endpoint. The exploit is operational, providing a working webshell and demonstrating post-exploitation steps. All endpoints and file paths are hardcoded or derived from user input, making them fingerprintable for detection or investigation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.