Microsoft Windows Shell MSHTA Script Execution Vulnerability
Secunia Advisory: SA14909
Release Date: 2005-04-12
Last Update: 2005-11-21
Popularity: 16,403 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

OS:Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Professional
Microsoft Windows 2000 Server
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2003 Web Edition
Microsoft Windows XP Embedded
Microsoft Windows XP Professional

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-0063


Description:
A vulnerability has been reported in Microsoft Windows, which can be exploited by malicious people to compromise a user's system.

The problem is caused due to a design error, as certain files including Word documents contain the CLSID of the program used for opening the file. This can be exploited to execute arbitrary script code contained in non-executable files by substituting the CLSID with the "MSHTA.EXE" program.

Successful exploitation requires that a user double-clicks the malicious file that contains an unhandled extension (e.g. ".d0c).

Solution:
Apply patches.

Microsoft Windows 2000 (requires Service Pack 3 or Service Pack 4):
http://www.microsoft.com/downloads/de...=A7511A19-ADD5-4793-92AC-25E953CE405C

Microsoft Windows XP (requires Service Pack 1 or Service Pack 2):
http://www.microsoft.com/downloads/de...51679BB1-A61B-47AC-A943-F9F306EF987B

Microsoft Windows XP 64-Bit Edition (requires Service Pack 1) (Itanium):
http://www.microsoft.com/downloads/de...=D513C252-FF70-46E3-BD79-077A336A974D

Microsoft Windows XP 64-Bit Edition Version 2003 (Itanium):
http://www.microsoft.com/downloads/de...=32ADAB00-6ED3-4418-8539-7FA468AD5DBD

Microsoft Windows XP Embedded (with SP2):
http://www.microsoft.com/downloads/de...=cdbbf6da-965f-4ca2-95d9-73dbfdbae0bc

Microsoft Windows XP Embedded (with SP1):
http://www.microsoft.com/downloads/de...=a01e8cfe-96fa-4443-870d-5c2ebeb4af2e

Microsoft Windows Server 2003:
http://www.microsoft.com/downloads/de...=F803F008-5EE8-4BBE-8136-BC21708D1025

Microsoft Windows Server 2003 for Itanium-based Systems:
http://www.microsoft.com/downloads/de...=32ADAB00-6ED3-4418-8539-7FA468AD5DBD

The following versions of Microsoft Windows are not affected:
* Microsoft Windows Server 2003 Service Pack 1
* Microsoft Windows Server 2003 with SP1 for Itanium-based Systems
* Microsoft Windows Server 2003 x64 Edition
* Microsoft Windows XP Professional x64 Edition

Provided and/or discovered by:
Discovered by anonymous person and reported via iDEFENSE.

Changelog:
2005-04-13: Added link to US-CERT vulnerability note and information provided by iDEFENSE.
2005-11-21: Added patch information for Windows XP Embedded.

Original Advisory:
MS05-016 (KB893086):
http://www.microsoft.com/technet/security/bulletin/MS05-016.mspx

iDEFENSE:
http://www.idefense.com/application/poi/display?id=231&type=vulnerabilities

Other References:
US-CERT VU#673051:
http://www.kb.cert.org/vuls/id/673051


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. Subdreamer Light Global Variables SQL Injection Vulnerability // 33 views
2. Apple QuickTime Multiple Vulnerabilities // 25 views
3. Microsoft Office Two Code Execution Vulnerabilities // 22 views
4. PluggedOut Blog "index.php" SQL Injection Vulnerabilities // 22 views
5. SAPID CMS "root_path" File Inclusion Vulnerability // 19 views
6. Microsoft Word Malformed Object Pointer Vulnerability // 19 views
7. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 18 views
8. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 15 views
9. Drupal Content Construction Kit Script Insertion Vulnerabilities // 15 views
10. Microsoft Office Excel Multiple Vulnerabilities // 13 views