Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

Mozilla Fails to Restrict Access to "shell:"

-

Release Date:  2004-07-09    Last Update:  2005-01-21    Views:  51,714

Secunia Advisory SA12027

Where:

From remote

Impact:

Security Bypass

Solution Status:

Vendor Patch

CVE Reference(s):

Description


Joshua Perrymon has reported a vulnerability in Mozilla, Mozilla Firefox, and Mozilla Thunderbird, allowing malicious websites to use Windows "shell:" functionality.

The problem is that Mozilla fails to restrict access to the "shell:" URI handler. This allows websites to invoke various programs associated with specific extensions. It is not possible to pass parameters to these programs, only filenames, thus limiting the impact of launching applications.

However, if this issue is combined with an error or a vulnerability in an associated program, it may be possible to execute arbitrary code. Reportedly, this may be possible via a buffer overflow in "WINDOWS\System32\grpconv.exe", which by default is associated with the ".grp" extension. However, only unicode characters can be used, causing exploitation to be more difficult.

The error in the associated program does not necessarily need to be classified as a vulnerability, as certain programs aren't designed or meant to be launched in a hostile environment - such as through a website and a browser.

The vulnerability affects Mozilla, Mozilla Firefox, Mozilla Thunderbird, and Netscape 7 on the Microsoft Windows XP platform due to the way the "shell:" URI handler is used and implemented on Windows XP.
Reportedly all Gecko based browsers are affected by this issue.

The shell: URI handler is inherently insecure and should only be accessed from a few trusted sites - or not from a browser at all. Multiple exploits in Internet Explorer also utilise "shell:" functionality.


Solution:
This has been fixed in the following versions:

Further details available to Secunia VIM customers

Provided and/or discovered by:
Discovered by:
Joshua Perrymon

Additional research by:
Andreas Sandblad

Netscape reported vulnerable by:
Nick FitzGerald

K-Meleon reported vulnerable by:
Juha-Matti Laurio

Original Advisory:
http://www.mozilla.org/security/shell.html

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: Mozilla Fails to Restrict Access to "shell:"

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-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability