CVE-2021-34788: Cisco AnyConnect - Privilege Escalation
- Cve: CVE-2021-34788
- Name: Cisco AnyConnect - Privilege Escalation
- Description: A vulnerability in the shared library loading mechanism of Cisco AnyConnect Secure Mobility Client for Linux and Mac OS could allow an authenticated, local attacker to perform a shared library hijacking attack on an affected device if the VPN Posture (HostScan) Module is installed on the AnyConnect client. This vulnerability is due to a race condition in the signature verification process for shared library files that are loaded on an affected device. An attacker could exploit this vulnerability by sending a series of crafted interprocess communication (IPC) messages to the AnyConnect process. A successful exploit could allow the attacker to execute arbitrary code on the affected device with root privileges. To exploit this vulnerability, the attacker must have a valid account on the system.
- Impact: Authenticated local attackers can execute arbitrary code with root privileges, potentially leading to full system compromise.
- Remediation: Update to the latest version of Cisco AnyConnect that addresses this vulnerability or apply vendor-recommended patches.
- Vulnerability type: race_condition
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker must have a valid account and send crafted IPC messages
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00177
- Epss percentile: 0.0721
- Assignee: [email protected]
- Published at: 2021-10-06T20:15:19Z
- Age in days: 1875
- Modified at: 2026-06-17T03:56:34Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-34788
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
References
| Url | Source | Tags |
|---|---|---|
| https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-anyconnect-lib-hija-cAFB7x4q | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cisco:anyconnect_secure_mobility_client | < 4.10.03104 | yes | nvd | /v1/products/cisco/anyconnect_secure_mobility_client |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts