On Windows system, it was found that GlobalProtect (App version 6.1.1-5 and 6.2.0-89) was vulnerable to arbitrary file delete with elevated privileges by symbolic link attack lead to local privilege escalation on local machine.
It was observed that when a Windows unprivileged user attempt to connect VPN with GlobalProtect, the process “PanGpHip.exe” will do the following with SYSTEM privilege:
Since the directory “C:\Users\<user>\AppData\Local\Temp\waapi-<random>” could be created by current user and assigned with “Modify” privilege for current user, current user could modify the entire directory.
With this setup, an unprivileged user is able to achieve arbitrary file delete by creating a symbolic link to a privileged location (e.g., C:\Windows\System32). Furthermore, a malicious user could achieve local privilege escalation from arbitrary file delete.
To perform arbitrary file delete from a unprivileged user, the user could perform follow steps:
.\PoC.exe del C:\windows\System32\secrets.txt 1
.\PoC.exe del C:\windows\System32\secrets.txt 2
To perform local privilege escalation from arbitrary file delete, we could leverage Windows Installer as described in this article.
.\PoC.exe pe RollbackScript.rbs 1
.\PoC.exe pe RollbackScript.rbs 2
cmd.rbs will spawn command prompt
public_run_bat.rbs will execute C:\Users\Public\run.bat
Playwright-MCP (Model Context Protocol) is a cutting-edge tool designed to bridge the gap between AI…
JBDev is a specialized development tool designed to streamline the creation and debugging of jailbreak…
The Kereva LLM Code Scanner is an innovative static analysis tool tailored for Python applications…
Nuclei-Templates-Labs is a dynamic and comprehensive repository designed for security researchers, learners, and organizations to…
SSH-Stealer and RunAs-Stealer are malicious tools designed to stealthily harvest SSH credentials, enabling attackers to…
Control flow flattening is a common obfuscation technique used by OLLVM (Obfuscator-LLVM) to transform executable…