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

Secunia Advisory SA26201

Microsoft Windows URI Handling Command Execution Vulnerability
Secunia Advisory SA26201
Secunia VIM 4.0 - Free Trial
Release Date 2007-07-26
Last Update 2007-11-13
   
Popularity 78,580 views
Comments 0 comments

Criticality level Highly criticalHighly critical
Impact System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
Remediation status Secunia CSI, Secunia PSI
Automated scanning Secunia CSI, Secunia PSI
   
Operating System
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 Home Edition
Microsoft Windows XP Professional

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2007-3896 CVSS score available to Secunia VIM customers
CVE-2007-4041 CVSS score available to Secunia VIM customers
CVE-2007-5020 CVSS score available to Secunia VIM customers
  

Description

A vulnerability has been discovered in Microsoft Windows, which can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to an input validation error within the Windows shell (shell32.dll) when handling specially crafted URIs with registered URI handlers (e.g. "mailto", "news", "nntp", "snews", "telnet", and "http"). This can be exploited to execute arbitrary commands when a user of certain applications (e.g. Firefox) visits a malicious website or clicks on a link with a specially crafted URI containing a "%" character and ending with a certain extension (e.g. ".bat" or ".cmd").

Examples:
mailto:test%../../../../windows/system32/calc.exe".cmd
nntp:../../../../../Windows/system32/telnet.exe" "secunia.com 80%.bat

Successful exploitation using currently known vectors requires that Internet Explorer 7 is installed on the system, though the core problem exists on Windows system with other versions of Internet Explorer as well.

The following applications have been identified as attack vectors on a fully patched Windows XP SP2 and Windows Server 2003 SP2 system:
* Firefox version 2.0.0.5
* Netscape Navigator version 9.0b2
* mIRC version 6.3
* Adobe Reader/Acrobat version 8.1 and prior (when opening PDF files)
* Outlook Express 6 (e.g. when following specially crafted links in VCards)
* Outlook 2000 (e.g. when following specially crafted links in VCards)

Other versions and applications may also be affected.


Solution
Apply patches.
Further details available to Secunia VIM customers

Provided and/or discovered by
Reported as a Firefox browser vulnerability by:
* Billy (BK) Rios
* Nathan McFeters, Ernst & Young's Advanced Security Center

Firefox not escaping quotes originally discussed by:
* Jesper Johansson

Identification of core Windows problem and additional research by Secunia Research.

Changelog
Further details available to Secunia VIM customers

Original Advisory
Microsoft (KB943521):
http://www.microsoft.com/technet/security/advisory/943521.mspx
http://blogs.technet.com/msrc/archive/2007/10/10/msrc-blog-additional-details-and-background-on-security-advisory-943521.aspx

Billy (BK) Rios:
http://xs-sniper.com/blog/2007/07/24/remote-command-execution-in-firefox-2005/

Other references
Further details available to Secunia VIM customers

Alternate/detailed remediation
Further details available in Customer Area

Deep Links
Links available to Secunia VIM customers


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 URI Handling Command Execution Vulnerability
 
No posts yet

-

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
Webinars
Events
 About us
Careers
Memberships
Newsroom


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