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
Relocatable is an innovative tool designed to simplify the creation of Position Independent Code (PIC)…
In cybersecurity, a vulnerability refers to a flaw or weakness in a system, application, or…
The BOF WinRM Client is a Beacon Object File (BOF) extension for Cobalt Strike that…
Dioxus is a cutting-edge framework for building cross-platform applications using the Rust programming language. It…
Modrinth is a cutting-edge platform designed to revolutionize the world of Minecraft modding. Focused primarily…
Deno is a modern runtime for JavaScript, TypeScript, and WebAssembly, designed to address some of…