Microsoft Visual Studio Privilege Elevation Vulnerability (2651019)
🗓️ 14 Mar 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType
openvas🔗 plugins.openvas.org👁 34 Views
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| Microsoft Visual Studio Add-In Insecure Library Loading (MS12-021; CVE-2012-0008) | 12 Mar 201200:00 | – | checkpoint_advisories | |
| CVE-2012-0008 | 13 Mar 201221:00 | – | cve | |
| CVE-2012-0008 | 13 Mar 201221:00 | – | cvelist | |
| EUVD-2012-0049 | 7 Oct 202500:30 | – | euvd | |
| MS12-021: Vulnerability in Visual Studio could allow elevation of privilege: March 13, 2012 | 13 Mar 201200:00 | – | mskb | |
| CVE-2012-0008 | 13 Mar 201221:55 | – | nvd | |
| Microsoft Visual Studio Privilege Elevation Vulnerability (2651019) | 14 Mar 201200:00 | – | openvas | |
| Design/Logic Flaw | 13 Mar 201221:55 | – | prion | |
| Microsoft Visual Studio code execution | 14 Mar 201200:00 | – | securityvulns | |
| MS12-021: Vulnerability in Visual Studio Could Allow Elevation of Privilege (2651019) | 13 Mar 201200:00 | – | nessus |
10
| Source | Link |
|---|---|
| support | www.support.microsoft.com/kb/2645410 |
| docs | www.docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-021 |
| securitytracker | www.securitytracker.com/id/1026792 |
| securityfocus | www.securityfocus.com/bid/52329 |
| support | www.support.microsoft.com/kb/2669970 |
# SPDX-FileCopyrightText: 2012 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.902817");
script_version("2026-04-28T06:28:06+0000");
script_cve_id("CVE-2012-0008");
script_tag(name:"cvss_base", value:"6.9");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:C/I:C/A:C");
script_tag(name:"last_modification", value:"2026-04-28 06:28:06 +0000 (Tue, 28 Apr 2026)");
script_tag(name:"creation_date", value:"2012-03-14 10:10:10 +0530 (Wed, 14 Mar 2012)");
script_name("Microsoft Visual Studio Privilege Elevation Vulnerability (2651019)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Windows : Microsoft Bulletins");
script_dependencies("secpod_ms_visual_prdts_detect.nasl");
script_mandatory_keys("Microsoft/VisualStudio/Ver");
script_require_ports(139, 445);
script_tag(name:"impact", value:"Successful exploitation could allow attacker to execute arbitrary code with
elevated privileges.");
script_tag(name:"affected", value:"- Microsoft Visual Studio 2008 SP 1 and prior
- Microsoft Visual Studio 2010 SP 1 and prior");
script_tag(name:"insight", value:"The flaw is due to the application loading add-ins from insecure paths.
This can be exploited to gain additional privileges by placing malicious add-
ins in certain directories and tricking a user into starting Visual Studio.");
script_tag(name:"solution", value:"The vendor has released updates. Please see the references for more information.");
script_tag(name:"summary", value:"This host is missing an important security update according to
Microsoft Bulletin MS12-021.");
script_tag(name:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2669970");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/52329");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2645410");
script_xref(name:"URL", value:"http://support.microsoft.com/kb/2645410");
script_xref(name:"URL", value:"http://www.securitytracker.com/id/1026792");
script_xref(name:"URL", value:"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-021");
exit(0);
}
include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");
## MS12-021 Hotfix check
if((hotfix_missing(name:"2669970") == 0) && (hotfix_missing(name:"2644980") == 0) &&
(hotfix_missing(name:"2645410") == 0)){
exit(0);
}
vsVer = get_kb_item("Microsoft/VisualStudio/Ver");
if(!vsVer){
exit(0);
}
if(vsVer =~ "^9\..*")
{
vsPath = registry_get_sz(key:"SOFTWARE\Microsoft\VSA\9.0", item:"InstallDir");
if(!vsPath){
exit(0);
}
exeVer = fetch_file_version(sysPath:vsPath, file_name:"Vsaenv.exe");
if(exeVer && version_is_less(version:exeVer, test_version:"9.0.30729.5797"))
{
security_message( port: 0, data: "The target host was found to be vulnerable" );
exit(0);
}
}
if(vsVer =~ "^10\..*")
{
vsPath = registry_get_sz(key:"SOFTWARE\Microsoft\VisualStudio\10.0", item:"InstallDir");
if(!vsPath){
exit(0);
}
dllVer = fetch_file_version(sysPath:vsPath, file_name:"ShellExtensions\Platform\AppenvStub.dll");
## Visual Studio 2010 SP1 version 10 < 10.0.40219.377
if(dllVer && (version_is_less(version:dllVer, test_version:"10.0.30319.552") ||
version_in_range(version:dllVer, test_version:"10.0.40000.000", test_version2:"10.0.40219.376"))){
security_message( port: 0, data: "The target host was found to be vulnerable" );
}
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Apr 2026 00:00Current
5Medium risk
Vulners AI Score5
CVSS 26.9
EPSS0.01686