SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (E-mail Client)  >  Mozilla Thunderbird Vendors:  Mozilla.org
Mozilla Thunderbird Discloses Some Attachments to Local Users
SecurityTracker Alert ID:  1011915
SecurityTracker URL:  http://securitytracker.com/id?1011915
CVE Reference:  GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Oct 25 2004
Impact:  Disclosure of user information
Exploit Included:  Yes  
Version(s): 0.8
Description:  A vulnerability was reported in Mozilla Thunderbird. A local user may be able to obtain file attachments in certain cases.

Martin from ptraced.net reported that Thunderbird uses temporary files in an unsafe manner. When the target user opens an attachment using the "Open with" option, the software saves the file in the '/tmp' directory with world-readable permissions. A local user can view the file.

The original advisory is available at:

http://broadcast.ptraced.net/advisories/008-firefox.thunderbird.txt

Impact:  A local user may be able to view a target user's e-mail attachments when the target user is viewing the attachments via the "Open with" dialog.
Solution:  No solution was available at the time of this entry.
Vendor URL:  www.mozilla.org/products/thunderbird/ (Links to External Site)
Cause:  Access control error
Underlying OS:  Linux (Any), UNIX (Any)
Reported By:  Martin <broadcast@ptraced.net>
Message History:   None.


 Source Message Contents

Date:  Sun, 24 Oct 2004 19:09:05 -0200
From:  Martin <broadcast@ptraced.net>
Subject:  [Full-Disclosure] Mozilla Thunderbird 0.8 / Firefox 0.9.3 temporary files (local)

 

This is a multi-part message in MIME format.
--------------070407070302030708030308
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Advisory attached.

--------------070407070302030708030308
Content-Type: text/plain;
 name="008-firefox.thunderbird.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="008-firefox.thunderbird.txt"


Mozilla Thunderbird 0.8 / Firefox 0.9.3 temporary files (local)

Martin (broadcast@ptraced.net)

-------------------
Program Description
-------------------

"Thunderbird, our latest email program, includes intelligent spam 
filters, spell-checking, security, customization, and newsgroups 
support."

www.mozilla.org

-------------------
Problem Description
-------------------

When opening an attachment, or a link included in an email, Thunderbird 
prompts the user with a dialog box, giving the choice to "Save to Disk" 
or to "Open with" <default program>.

For example, we receive a PDF document attached, and on the Attachments 
section, we choose "Open". 

broadcast:/tmp$ ls -l *.pdf
-rw-------  1 broadcast broadcast 2002560 2004-10-24 18:38 wskbq43m.pdf

While the dialog box is still open, the file permissions are OK, and the 
filename is random (except for the extension). 
If we choose to save it to disk, and check /tmp again:

broadcast:/tmp$ ls -l *.pdf
ls: *.pdf: No such file or directory

Great, it's gone. Now let's choose to open it with the default viewer 
(in my case, xpdf).
Again, while the dialog box is open, there are no apparent problems.

broadcast:/tmp$ ls -l *.pdf
-rw-------  1 broadcast broadcast 2002560 2004-10-24 18:42 hp1h30si.pd

But after choosing to open it with xpdf:

broadcast:/tmp$ ls -l *.pdf
-rw-r--r--  1 broadcast broadcast 2002560 2004-10-24 18:42 programming.pdf

The file becomes world readable, until the user closes xpdf, or whatever 
application he chose to read the attachment.
Also, the filename becomes predictable, but if the filename already 
exists on /tmp, Thunderbird will choose a similar filename, and won't 
work on the existing one.

This exact issue affects Mozilla Firefox 0.9.3. I haven't tested 
older/newer versions, and all of this was tested under Debian Unstable.

A copy of this advisory and future updates on this issue may be found on:
http://broadcast.ptraced.net/advisories/008-firefox.thunderbird.txt

--------------070407070302030708030308--

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us   |    Help

Copyright 2004, SecurityGlobal.net LLC