Microsoft Visual Studio User Control Load Event Vulnerability
Secunia Advisory: SA18409
Release Date: 2006-01-11
Last Update: 2006-08-04
Popularity: 14,262 views

Critical:
Less critical
Impact: System access
Where: From remote
Solution Status: Unpatched

Software:Microsoft Visual C++ 6.x
Microsoft Visual Studio .NET 2002
Microsoft Visual Studio .NET 2003
Microsoft Visual Studio 2005
Microsoft Visual Studio 6 Enterprise
Microsoft Visual Studio 6 Professional

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-0187


Description:
priestmaster has discovered a vulnerability in Microsoft Visual Studio, which can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to a design error that allows program code within the "Load" event of a user-defined control to be automatically executed when a project containing a form that uses the malicious control is opened. This can be exploited to execute arbitrary program code.

Successful exploitation requires that the user is e.g. tricked into opening a Solution file in a malicious Visual Studio project.

The vulnerability has been confirmed in Microsoft Visual C# 2005 Express Edition. Other versions may also be affected.

Note: It has also possible to modify Visual Studio's ".dsp" project files to include arbitrary post-build commands that are executed when the project is built.

Solution:
Do not open or build Visual Studio project files from untrusted sources.

Provided and/or discovered by:
priestmaster

Additional information by:
Donnie Werner, Exploitlabs

Changelog:
2006-01-17: Added link in "Original Advisory" section.
2006-01-18: Added link in "Original Advisory" section. Updated "Software", "Description" and credit sections.
2006-08-04: Added CVE reference.

Original Advisory:
Microsoft KB841189:
http://support.microsoft.com/kb/841189

Team Priestmasters Research Facility:
http://www.priestmaster.org/projects/advisories/vsadvisorie.txt

Exploitlabs:
http://exploitlabs.com/files/advisories/EXPL-A-2006-002-msvc-featurebug.txt


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Microsoft Office Two Code Execution Vulnerabilities // 19 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 15 views
3. Drupal Content Construction Kit Script Insertion Vulnerabilities // 14 views
4. phpBB "gen_rand_string()" Predictable RNG Weakness // 14 views
5. phpBB Multiple Vulnerabilities // 13 views
6. phpBB reveals user IPs // 10 views
7. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 10 views
8. Apple QuickTime Multiple Vulnerabilities // 10 views
9. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 10 views
10. phpBB "url" bbcode Script Insertion Vulnerability // 9 views