Bug 230733

Summary: CVE-2007-0994 Thunderbird arbitrary javascript command execution
Product: Red Hat Enterprise Linux 4 Reporter: Josh Bressers <bressers>
Component: thunderbirdAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: medium    
Version: 4.0CC: security-response-team, stransky
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=critical,source=mozilla,reported=20070222,public=20070302
Fixed In Version: RHSA-2007-0078 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-02 18:28:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Josh Bressers 2007-03-02 15:45:50 UTC
A bug was found in the way Thunderbird handles <img> tags.  To quote the
upstream bug:

When javascript: url is set by script, the access checks work properly.

  <img id="i">
  i.src = "javascript:...";

But, when javascript: url is set by <img> (or <link>, <style>) tag, the access
checks don't work properly.

  <img src="javascript:...">

Thus, sandboxed script can access xbl.method's clone parent and xbl compilation
scope to run arbitrary code with chrome privileges.

Comment 1 Josh Bressers 2007-03-02 18:08:13 UTC
Lifting embargo

Comment 2 Red Hat Bugzilla 2007-03-02 18:28:46 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0078.html


Comment 3 Josh Bressers 2007-03-06 19:48:14 UTC
This flaw does not affect Thunderbird as previously thought.  This is noted in
the upstream advisory:
http://www.mozilla.org/security/announce/2007/mfsa2007-09.html