{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-40124 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-40124 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-40124 is a medium-severity vulnerability in Cisco Anyconnect Secure Mobility Client, published on 4 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-40124 and fix it if it is affected.\n\nWhat it is: CVE-2021-40124 is a medium-severity vulnerability in Cisco Anyconnect Secure Mobility Client, published on 4 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-40124 in the wild and no public exploit code.\n\nAffected product: Cisco Anyconnect Secure Mobility Client. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-40124/ (Markdown: https://insights.sbomify.com/CVE-2021-40124/index.md)","id":"CVE-2021-40124","markdown":"https://insights.sbomify.com/CVE-2021-40124/index.md","name":"CVE-2021-40124","record":{"aliases":["GHSA-x848-mf45-8cv4"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cisco AnyConnect Client","requires_auth":"high_privilege","summary":"Local authenticated attackers can escalate privileges to SYSTEM by configuring pre-logon scripts in the Network Access Manager module.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"anyconnect_secure_mobility_client","vendor":"cisco"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"},{"id":"CWE-266","name":"Incorrect Privilege Assignment"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Privilege escalation in Cisco AnyConnect Secure Mobility Client","id":"CVE-2021-40124","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"cisco:anyconnect_secure_mobility_client","products":["cisco:anyconnect_secure_mobility_client"],"type":"privilege_escalation","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Denial of service in Cisco Adaptive Security Appliance (ASA) Software","id":"CVE-2021-40125"},"packages":[],"prev":{"headline":"Cisco Identity Services Engine File Download Vulnerability","id":"CVE-2021-40123"},"products":["Cisco AnyConnect Secure Mobility Client"],"published":"2021-11-04","related":[{"cvss_score":7.8,"headline":"Cisco AnyConnect Secure Mobility Client for Windows DLL Hijacking","id":"CVE-2020-3433","kev_date_added":"2022-10-24","published":"2020-08-17"},{"cvss_score":6.5,"headline":"Cisco AnyConnect Secure Mobility Client for Windows Uncontrolled Search Path","id":"CVE-2020-3153","kev_date_added":"2022-10-24","published":"2020-02-19"},{"cvss_score":9.3,"headline":"Security feature bypass in n/a","id":"CVE-2012-3088","kev_date_added":null,"published":"2012-09-16"},{"cvss_score":9.3,"headline":"Code injection in n/a","id":"CVE-2012-2493","kev_date_added":null,"published":"2012-06-20"},{"cvss_score":9.3,"headline":"Code injection in n/a","id":"CVE-2011-2040","kev_date_added":null,"published":"2011-06-02"},{"cvss_score":7.8,"headline":"Privilege escalation in Cisco Secure Client","id":"CVE-2023-20178","kev_date_added":null,"published":"2023-06-28"},{"cvss_score":7.8,"headline":"Cisco AnyConnect Secure Mobility Client for Windows with VPN Posture (HostScan) Module DLL Hijacking Vulnerability","id":"CVE-2021-1366","kev_date_added":null,"published":"2021-02-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-07","vendors":["Cisco"]},"summary":"Local authenticated attackers can escalate privileges to SYSTEM by configuring pre-logon scripts in the Network Access Manager module.","url":"https://insights.sbomify.com/CVE-2021-40124/"}