Secunia Logo
Netsikker nu! 2008
 
Mozilla Fails to Restrict Access to "shell:"
Secunia Advisory: SA12027
Release Date: 2004-07-09
Last Update: 2005-01-21
Popularity: 42,322 views

Critical:
Moderately critical
Impact: Security Bypass
Where: From remote
Solution Status: Vendor Patch

Software:K-Meleon 0.x
Mozilla 0.x
Mozilla 1.0
Mozilla 1.1
Mozilla 1.2
Mozilla 1.3
Mozilla 1.4
Mozilla 1.5
Mozilla 1.6
Mozilla Firefox 0.x
Mozilla Thunderbird 0.x
Netscape 7.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-0648


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:

Mozilla 1.7.1:
http://ftp.mozilla.org/pub/mozilla.or...7.1/mozilla-win32-1.7.1-installer.exe

Mozilla Firefox 0.9.2:
http://ftp.mozilla.org/pub/mozilla.or...releases/0.9.2/FirefoxSetup-0.9.2.exe

Mozilla Thunderbird 0.7.2:
http://ftp.mozilla.org/pub/mozilla.or...ases/0.7.2/ThunderbirdSetup-0.7.2.exe

Netscape 7.2:
http://ftp.netscape.com/pub/netscape7/english/7.2/windows/win32/NSSetup.exe

K-Meleon 0.9:
https://sourceforge.net/project/showfiles.php?group_id=14285

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

Changelog:
2004-07-12: Added link to US-CERT vulnerability note.
2004-07-13: Added information about Netscape 7.
2004-07-14: Added information about K-Meleon and CVE reference.
2004-08-18: Added Netscape 7.2 in "Solution" section.
2005-01-21: Added K-Meleon in "Solution" section.

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

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


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

Today
New advisories: 7
New vulnerabilities: 15
Updated advisories: 11

Less // 136 views
Debian update for openldap
Moderately // 115 views
Debian update for ruby1.9
Moderately // 120 views
Debian update for ruby1.8

10th Oct, 2008
New advisories: 15
New vulnerabilities: 83
Updated advisories: 39


Solutions | More...  


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. Apache Tomcat "RemoteFilterValve" Security Bypass Security Issue // 129 views
2. Debian update for openldap // 105 views
3. Debian update for ruby1.8 // 93 views
4. GuildFTPd "LIST" Processing Buffer Overflow Vulnerability // 92 views
5. Debian update for ruby1.9 // 87 views
6. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 40 views
7. CUPS Multiple Vulnerabilities // 36 views
8. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 32 views
9. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 29 views
10. Red Hat update for cups // 28 views