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
Shadow Dumper is a powerful tool used to dump LSASS (Local Security Authority Subsystem Service)…
shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…
Extract and execute a PE embedded within a PNG file using an LNK file. The…
Embark on the journey of becoming a certified Red Team professional with our definitive guide.…
This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…
This took me like 4 days (+2 days for an update), but I got it…