Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA38916

Microsoft Windows HTML Help File Processing Vulnerability
Secunia Advisory SA38916
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2010-03-11
Last Update 2010-09-23
   
Popularity 5,399 views
Comments 2 comments

Criticality level Less criticalLess critical
Impact System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Unpatched
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia VIM
   
Operating System
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 Storage Server 2003
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional

Secunia CVSS Score Available in Customer Area
CVE Reference(s) No CVE references.

  

Description

Eduardo Prado has discovered a vulnerability in Microsoft Windows, which can be exploited by malicious people to potentially compromise a user's system.

The vulnerability is caused due to the "HtmlHelpA()" function in hhctrl.ocx opening CHM files placed in the current directory if a relative path is passed as argument. This can be exploited to execute arbitrary JavaScript code in a local security context by e.g. tricking a user into opening a text file (.txt) placed in the same directory as a specially crafted notepad.chm file, which is opened by notepad.exe when pressing the "F1" key inside the document.

Successful exploitation allows execution of arbitrary commands, but additionally requires that the user is tricked into clicking a topic in the malicious help file when the files are located on a network share.

The vulnerability is confirmed on fully patched versions of Windows XP SP3 and Windows Server 2003 SP2 and also reported in Windows 2000 SP4.


Solution
Avoid pressing F1 inside documents or images placed in untrusted directories.

Provided and/or discovered by
Eduardo Prado, Secumania Security Group.

Changelog
Further details available in Customer Area

Original Advisory
http://secumania.net/index.php?option=com_content&task=view&id=37

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Microsoft Windows HTML Help File Processing Vulnerability
 
User Message
[+]

dallasii

RE: Microsoft Windows HTML Help File Processing Vulnerability
This reply has been minimised due to a negative Relevancy Score.
edubr2010 RE: Microsoft Windows HTML Help File Processing Vulnerability
Member 13th Mar, 2010 05:59
Score: 1
Posts: 2
User Since: 13th Mar 2010
System Score: N/A
Location: BR
Last edited on 13th Mar, 2010 05:59
sorry, but this is a totally different vulnerability. If they addressed it in this other advisory then it is a mistake. This "html help file processing" vulnerability here lies in a different help system, the HTML Help, not the old Win help. The vulnerability causes the incorrect CHM Help file to be loaded if it resides in the same directory the application requesting help starts in and has the same name. in the demonstration, I use Microsoft Notepad, so putting a notepad.chm file in the same directory of a TXT file will trigger the vuln when the user presses F1 key. Also notices it bypasses that file open prompt Windows displays upon opening unsafe files in remote netbios shares. in a local scenario the user only needs to press F1 key to get arbitrary code executed in the system. on a remote netbios share, the user needs to further click on a topic which causes javascript to be parsed in IE local machine zone. Since the Help window does not display a status bar or address bar the user can be tricked into thinking the help file is the legitim one located in the local disk, when actually it is not.
Was this reply relevant?
+1
-0

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability