Visual StudioApplication · Microsoft

CVE-2012-0008

MEDIUM · 6.9 CVSS v2.0 Published 2012-03-13
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
74/100
Remediation priority · Elevated
No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Untrusted search path vulnerability in Microsoft Visual Studio 2008 SP1, 2010, and 2010 SP1 allows local users to gain privileges via a Trojan horse add-in in an unspecified directory, aka "Visual Studio Add-In Vulnerability."

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Untrusted search path vulnerability in Visual Studio allows local users to gain privileges by placing a malicious add-in in an unspecified directory that Visual Studio searches for add-ins. The application loads the Trojan horse add-in without proper validation, enabling local privilege escalation.

MitigationApply Microsoft security updates for Visual Studio 2008 SP1, 2010, and 2010 SP1. Restrict write access to directories in Visual Studio's add-in search path and ensure only trusted, signed add-ins from secure locations are loaded.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Visual StudioApplication
Affected:= 2008= 2010

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Local
Complexity
M
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed Visual Studio version
    Check the Visual Studio installation through Programs and Features in Control Panel, or inspect the product version in the registry under HKLM\SOFTWARE\Microsoft\VisualStudio\ for version 10.0 or 9.0, or check the Help > About dialog within the application.
    Affected if The installed version is Visual Studio 2008 (version 9.0) or Visual Studio 2010 (version 10.0).
  2. Locate Visual Studio add-in search paths
    For Visual Studio 2010, check the registry key HKCU\Software\Microsoft\VisualStudio\10.0\AutomationOptions\LookInFolders or the Environment Add-in options. For Visual Studio 2008, check HKCU\Software\Microsoft\VisualStudio\9.0\AutomationOptions\LookInFolders. Default paths typically include the %USERPROFILE%\Documents\Visual Studio X\Addins\ folder and the Common7\IDE\Addins\ folder in the Visual Studio installation directory.
    Affected if One or more add-in directories exist on the system.
  3. Enumerate add-in files in search paths
    List all files with .addin or .dll extensions in the identified add-in directories. Review each add-in file's origin and verify it was intentionally installed.
    Affected if Any add-in files are present in the Visual Studio add-in search paths.
  4. Check write permissions on add-in directories
    Use icacls or right-click Properties > Security to verify which users have Write or Create Files permissions on each add-in directory. Focus on whether standard users or low-privilege accounts can write to these locations.
    Affected if Non-admin users or low-privilege accounts have Write permissions to any directory in Visual Studio's add-in search path.

You are affected if Visual Studio 2008 or 2010 is installed AND either untrusted add-ins exist in the search paths OR low-privilege users have write access to add-in directories where a malicious DLL could be placed.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply Microsoft security updates for Visual Studio 2008 SP1, 2010, and 2010 SP1. Restrict write access to directories in Visual Studio's add-in search path and ensure only trusted, signed add-ins from secure locations are loaded.

Fix this in Visual Studio Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2012-0008 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2012-0008 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data