ID CVE-2021-34477
Summary Visual Studio Code .NET Runtime Elevation of Privilege Vulnerability
References
Vulnerable Configurations
  • cpe:2.3:a:microsoft:.net_install_tool_for_extension_authors:1.1.0:*:*:*:*:visual_studio_code:*:*
    cpe:2.3:a:microsoft:.net_install_tool_for_extension_authors:1.1.0:*:*:*:*:visual_studio_code:*:*
  • cpe:2.3:a:microsoft:.net_education_bundle_sdk_install_tool:0.6.0:*:*:*:*:visual_studio_code:*:*
    cpe:2.3:a:microsoft:.net_education_bundle_sdk_install_tool:0.6.0:*:*:*:*:visual_studio_code:*:*
CVSS
Base: 4.6 (as of 28-12-2023 - 23:15)
Impact:
Exploitability:
CWE CWE-269
CAPEC
  • Privilege Escalation
    An adversary exploits a weakness enabling them to elevate their privilege and perform an action that they are not supposed to be authorized to perform.
  • Privilege Abuse
    An adversary is able to exploit features of the target that should be reserved for privileged users or administrators but are exposed to use by lower or non-privileged accounts. Access to sensitive information and functionality must be controlled to ensure that only authorized users are able to access these resources. If access control mechanisms are absent or misconfigured, a user may be able to access resources that are intended only for higher level users. An adversary may be able to exploit this to utilize a less trusted account to gain information and perform activities reserved for more trusted accounts. This attack differs from privilege escalation and other privilege stealing attacks in that the adversary never actually escalates their privileges but instead is able to use a lesser degree of privilege to access resources that should be (but are not) reserved for higher privilege accounts. Likewise, the adversary does not exploit trust or subvert systems - all control functionality is working as configured but the configuration does not adequately protect sensitive resources at an appropriate level.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:L/Au:N/C:P/I:P/A:P
Last major update 28-12-2023 - 23:15
Published 14-07-2021 - 18:15
Last modified 28-12-2023 - 23:15
Back to Top