SecurityContext

CVE-2021-40124: Cisco AnyConnect - Privilege Escalation

  • Cve: CVE-2021-40124
  • Name: Cisco AnyConnect - Privilege Escalation
  • Description: A vulnerability in the Network Access Manager (NAM) module of Cisco AnyConnect Secure Mobility Client for Windows could allow an authenticated, local attacker to escalate privileges on an affected device. This vulnerability is due to incorrect privilege assignment to scripts executed before user logon. An attacker could exploit this vulnerability by configuring a script to be executed before logon. A successful exploit could allow the attacker to execute arbitrary code with SYSTEM privileges.
  • Impact: Authenticated local attackers can execute arbitrary code with SYSTEM privileges, potentially leading to complete system compromise.
  • Remediation: Apply the latest security updates from Cisco for the affected version.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated and configure a pre-logon script
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00242
  • Epss percentile: 0.15358
  • Assignee: [email protected]
  • Published at: 2021-11-04T16:15:09Z
  • Age in days: 1846
  • Modified at: 2026-06-17T04:06:34Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40124
  • 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

IdName
CWE-266Incorrect Privilege Assignment
CWE-269Improper Privilege Management

References

UrlSourceTags
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-anyconnect-nam-priv-yCsRNUGTnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
cisco:anyconnect_secure_mobility_client< 4.10.03104nonvd/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