SSD Advisory – Cisco AnyConnect Privilege Elevation through Path Traversal
A path traversal flaw in Cisco AnyConnect's auto-update allows a local low-privileged user to write files outside the temporary installer folder, which can then be executed with SYSTEM privileges. This enables local privilege escalation to SYSTEM.
ssd-disclosure.com
Published on ssd-disclosure.com
A path traversal vulnerability exists in the vpndownloader application for Windows that allows a local user to create and run files outside of the temporary installer folder. Successful exploitation of this vulnerability allows a local attacker to gain SYSTEM privileges.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the updater extracts the target filename by splitting only on backslashes, ignoring that Windows also treats forward slashes as path separators, so a crafted source path can escape the intended temporary folder.
Impact
A local attacker could gain SYSTEM privileges, though the GUI runs in Session 0 and may require an extra step to interact with it.
What the attacker needed
Local access to the Windows machine; AnyConnect client installed
The fix
Cisco released a patch to address the vulnerability.
How it was found
- Import the provided PowerShell module.
- Run the exploit function, which creates a malicious DLL and a Cisco-signed executable in the installer temp folder.
- Lock or sign out of Windows.
- From the login screen, open accessibility tools and launch the on-screen keyboard.
- A SYSTEM-level PowerShell prompt opens.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a local privilege escalation bug in Cisco's VPN client for Windows. A normal user can trick the updater into placing a file in a sensitive location, and because the updater runs with high privileges, that file can later run as the system administrator account.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.