Exploit database

Vulnerability

CVE-2020-3153

Cisco AnyConnect Secure Mobility Client for Windows Uncontrolled Search Path Vulnerability

Vulnerability details

Score
6.5
Severity
medium

CVSS 3.0 · cisco

Vector string

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Description

A vulnerability in the installer component of Cisco AnyConnect Secure Mobility Client for Windows could allow an authenticated local attacker to copy user-supplied files to system level directories with system level privileges. The vulnerability is due to the incorrect handling of directory paths. An attacker could exploit this vulnerability by creating a malicious file and copying the file to a system directory. An exploit could allow the attacker to copy malicious files to arbitrary locations with system level privileges. This could include DLL pre-loading, DLL hijacking, and other related attacks. To exploit this vulnerability, the attacker needs valid credentials on the Windows system.

CVE Program

Exploit source choices

4 sources
Cisco AnyConnect Privilege Escalations (CVE-2020-3153 and CVE-2020-3433)
MSF-windows--local--anyconnect_lpeMetasploitWindows / remotePreferred

The installer component of Cisco AnyConnect Secure Mobility Client for Windows prior to 4.8.02042 is vulnerable to path traversal and allows local attackers to create/overwrite files in arbitrary locations with system level privileges. The installer component of Cisco AnyConnect Secure Mobility Client for Windows prior to 4.9.00086 is vulnerable to a DLL hijacking and allows local attackers to execute code on the affected machine with with system level privileges. Both attacks consist in sending a specially crafted IPC request to the TCP port 62522 on the loopback device, which is exposed by the Cisco AnyConnect Secure Mobility Agent service. This service will then launch the vulnerable installer component (`vpndownloader`), which copies itself to an arbitrary location (CVE-2020-3153) or with a supplied DLL (CVE-2020-3433) before being executed with system privileges. Since `vpndownloader` is also vulnerable to DLL hijacking, a specially crafted DLL (`dbghelp.dll`) is created at the same location `vpndownloader` will be copied to get code execution with system privileges. The CVE-2020-3153 exploit has been successfully tested against Cisco AnyConnect Secure Mobility Client versions 4.5.04029, 4.5.05030 and 4.7.04056 on Windows 10 version 1909 (x64) and Windows 7 SP1 (x86); the CVE-2020-3434 exploit has been successfully tested against Cisco AnyConnect Secure Mobility Client versions 4.5.02036, 4.6.03049, 4.7.04056, 4.8.01090 and 4.8.03052 on Windows 10 version 1909 (x64) and 4.7.4056 on Windows 7 SP1 (x64).

2020-08-05anyconnect_lpe.rb
goichot/cve-2020-3153
GH-bc4aa43df66207c302a524c4044de402GitHubUnofficial GitHub source

Cisco AnyConnect < 4.8.02042 privilege escalation through path traversal

2020-05-1920 files · 103 stars
goichot/cve-2020-3433
GH-9463ec329cdca6924cf9b192aa6e306fGitHubUnofficial GitHub source

PoCs and technical analysis of three vulnerabilities found on Cisco AnyConnect for Windows: CVE-2020-3433, CVE-2020-3434 and CVE-2020-3435

2020-09-2526 files · 41 stars
shubham0d/cve-2020-3153
GH-edeccfe5ec6f5fe645d088d1ca388c3dGitHubUnofficial GitHub source

POC code for CVE-2020-3153 - Cisco anyconnect path traversal vulnerability

2020-05-0413 files · 5 stars