CVE-2024-0012 lets an unauthenticated client reach management PHP endpoints on the GlobalProtect interface. On its own it's a read-only problem — you can browse config and see the admin surface.
CVE-2024-9474 is the half that matters. The management interface runs as
, and the session-handling code passes a user-supplied value into a command string without escaping it. Because the first bug already put you inside the authenticated code path, the second bug is reachable pre-auth.Chained, the pair gives you root on the management plane. The chain was published as "PANda" and picked up by several botnets within days of disclosure — mostly for the address books, which are worth a lot to people doing reconnaissance.
The nasty part is that GlobalProtect is on by default on a lot of deployments, so "we only expose the VPN" is the exact configuration that gets you.
Attack Flow:
CVE-2024-9474 is the half that matters. The management interface runs as
Code:
nobodyThe nasty part is that GlobalProtect is on by default on a lot of deployments, so "we only expose the VPN" is the exact configuration that gets you.
Attack Flow:
[ Hidden Content! ]
- Enumerate GlobalProtect portals —responds on exposed instancesCode:
/global-protect/login.esp
- Hit the unauthenticated management endpoint to confirm CVE-2024-0012 and grab the version
- Create an admin account throughusing the bypassed sessionCode:
/php/device/administrator.php
- Authenticate as that admin to obtain a valid PHPSESSID
- Send a request to the user-id endpoint with your payload in theparameter (CVE-2024-9474)Code:
user
- The command runs as root — drop a key intoCode:
/home/pan/.ssh/authorized_keys










![[Image: kwi6yAD.gif]](https://i.imgur.com/kwi6yAD.gif)