__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Mozilla Security Updates [Security Vulnerabilities Fixed in Mozilla 1.7.9] July 13, 2005 18:00 GMT Number P-251 [REVISED 22 Jul 2005] [REVISED 15 Aug 2005] [REVISED 17 Aug 2005] [REVISED 22 Aug 2005] [REVISED 24 Aug 2005] [REVISED 13 Sep 2005] [REVISED 21 Sep 2005] [REVISED 04 Oct 2005] ______________________________________________________________________________ PROBLEM: Mozilla Suite has released version 1.7.9 that addresses several security vulnerabilities. PLATFORM: Mozilla Suite versions prior to 1.7.9 Red Hat Desktop (v. 3 & 4) Red Hat Enterprise Linux AS, ES, WS (v. 2.1, 3, & 4) Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor Debian GNU/Linux 3.1 (sarge) HP-UX B.11.00, B.11.11, B.11.22, B.11.23 running Mozilla versions prior to 1.7.11.00 DAMAGE: The vulnerabilities may allow an attacker to elevate privileges, conduct cross-site scripting attacks, or execute arbitrary code on a victim’s machine. SOLUTION: Apply the security updates. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. If exploited, an attacker may execute ASSESSMENT: arbitary code on a victim’s machine with the privileges of the logged-in user. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/p-251.shtml ORIGINAL BULLETINS: http://www.mozilla.org/security/announce/mfsa2005-45.html http://www.mozilla.org/security/announce/mfsa2005-46.html http://www.mozilla.org/security/announce/mfsa2005-48.html http://www.mozilla.org/security/announce/mfsa2005-50.html http://www.mozilla.org/security/announce/mfsa2005-51.html http://www.mozilla.org/security/announce/mfsa2005-52.html http://www.mozilla.org/security/announce/mfsa2005-54.html http://www.mozilla.org/security/announce/mfsa2005-55.html http://www.mozilla.org/security/announce/mfsa2005-56.html ADDITIONAL LINKS: Secunia Advisory 16059 http://secunia.com/advisories/16059/ Red Hat RHSA-2005:587-11 http://rhn.redhat.com/errata/RHSA-2005-587.html SGI Advanced Linux Environment 3 Security Update #45 ftp://patches.sgi.com/support/free/security/advisories/20050802-01-U.asc Debian Security Advisory http://www.debian.org/security/2005/dsa-775 Debian Security Advisory http://www.debian.org/security/2005/dsa-777 Debian Security Advisory http://www.debian.org/security/2005/dsa-779 Debian Security Advisory http://www.debian.org/security/2005/dsa-781 Debian Security Advisory http://www.debian.org/security/2005/dsa-810 Visit Hewlett-Packard Subscription Service for: HPSBOV01229 Rev.0 and HPSBUX01230 / SSRT051040 Rev. 0 CVE/CAN: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CAN-2005-1937 CAN-2005-2260 CAN-2005-2261 CAN-2005-2263 CAN-2005-2265 CAN-2005-2266 CAN-2005-2267 CAN-2005-2268 CAN-2005-2269 CAN-2005-2270 ______________________________________________________________________________ REVISION HISTORY: 07/22/2005 - revised to add a link to Red Hat RHSA-2005:587-11 for Red Hat Desktop (v. 3), Red Hat Enterprise Linux AS, ES, WS (v. 2.1 & 3), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor. 08/15/2005 - revised to add a link to Red Hat RHSA-2005:587-11 for Red Hat Desktop (v. 3), Red Hat Enterprise Linux AS, ES, WS (v. 2.1 & 3), and Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor. Also a link is added to Debian Security Advisory DSA-771, providing updated packages for Debian GNU/Linux 3.1 (sarge). 8/17/2005 - added a link to Debian Security Advisory DSA-777, providing updated packages for Debian GNU/Linux 3.1 (sarge). 8/22/2005 - added a link to Debian Security Advisory DSA-779, providing updated packages for Debian GNU/Linux 3.1 (sarge). 8/24/2005 - added a link to Debian Security Advisory DSA-781, providing updated packages for Debian GNU/Linux 3.1 (sarge). 09/13/2005 - added link to Debian Security Advisory DSA-810, providing updated packages for Debian GNU/Linux 3.1 (sarge). 09/21/2005 - added a link to HP Bulletin HPSBOV01229 and added links to Mozilla Announcements MFSA 2005-51, MFSA 2005-52 and MFSA 2005-54. 10/04/2005 - added a reference to HP's newly released bulletin HPSBUX01230 / SSRT051040 that provides updates for HP-UX B.11.00, B.11.11, B.11.22, B.11.23 running Mozilla versions prior to 1.7.11.00. [***** Start Security Vulnerabilities Fixed in Mozilla 1.7.9 *****] Mozilla Foundation Security Advisory 2005-56 Code execution through shared function objects Critical moz_bug_r_a4, shutdown Firefox, Mozilla Suite Firefox 1.0.5 Mozilla Suite 1.7.9 Description Improper cloning of base objects allowed web content scripts to walk up the prototype chain to get to a privileged object. This could be used to execute code with enhanced privileges. Workaround Upgrade to a version containing the fix. References Bug details embargoed until July 20, 2005 https://bugzilla.mozilla.org/show_bug.cgi?id=294795 https://bugzilla.mozilla.org/show_bug.cgi?id=294799 https://bugzilla.mozilla.org/show_bug.cgi?id=295011 https://bugzilla.mozilla.org/show_bug.cgi?id=296397 Mozilla Foundation Security Advisory 2005-55 XHTML node spoofing High moz_bug_r_a4 Firefox, Mozilla Suite Firefox 1.0.5 Mozilla Suite 1.7.9 Description Parts of the browser UI relied too much on DOM node names without taking different namespaces into account and verifying that nodes really were of the expected type. An XHTML document could be used to create fake <IMG> elements, for example, with content-defined properties that the browser would access as if they were the trusted built-in properties of the expected HTML elements. The severity of the vulnerability would depend on what the attacker could convince the victim to do, but could result in executing user-supplied script with elevated "chrome" privileges. This could be used to install malicious software on the victim's machine. Workaround References https://bugzilla.mozilla.org/show_bug.cgi?id=298892 Mozilla Foundation Security Advisory 2005-54 Javascript prompt origin spoofing Low Secunia.com Firefox, Mozilla Suite Firefox 1.0.5 Mozilla Suite 1.7.9 Description Alerts and prompts created by scripts in web pages are presented with the generic title [JavaScript Application] which sometimes makes it difficult to know which site created them. A malicious page could attempt to cause a prompt to appear in front of a trusted site in an attempt to extract information such as passwords from the user. In the fixed version these prompts will contain the hostname from the page which created it. Workaround Do not enter sensitive information into a "JavaScript Application" prompt, they are almost never used for this purpose. If you must, first drag the prompt on the desktop and make sure there is not a tiny window hiding behind it. References https://secunia.com/advisories/15489/ https://bugzilla.mozilla.org/show_bug.cgi?id=298934 Mozilla Foundation Security Advisory 2005-52 Same origin violation: frame calling top.focus() Moderate Andreas Sandblad (Secunia) Firefox, Mozilla Suite Firefox 1.0.5 Mozilla Suite 1.7.9 Description A child frame can call top.focus() even if the framing page comes from a different origin and has overridden the focus() routine. The call is made in the context of the child frame. The attacker would look for a target site with a framed page that makes this call but doesn't verify that its parent comes from the same site. The attacker could steal cookies and passwords from the framed page, or take actions on behalf of a signed-in user. This attack would work only against sites that use frames in this manner. Workaround Upgrade to a version containing the fix. As a website author verify that a parent frame is from the expected site before calling methods on it. References http://secunia.com/advisories/15549/ https://bugzilla.mozilla.org/show_bug.cgi?id=296830 Mozilla Foundation Security Advisory 2005-51 The return of frame-injection spoofing Moderate Secunia.com Firefox 1.0.3, Mozilla Suite 1.7.7 Firefox 1.0.5 Mozilla Suite 1.7.9 Description The original frame-injection spoofing bug was fixed in the Mozilla Suite 1.7 and Firefox 0.9 releases. This protection was accidentally bypassed by one of the fixes in the Firefox 1.0.3 and Mozilla Suite 1.7.7 releases. Workaround References http://secunia.com/advisories/15601/ https://bugzilla.mozilla.org/show_bug.cgi?id=296850 Mozilla Foundation Security Advisory 2005-50 Possibly exploitable crash in InstallVersion.compareTo Moderate shutdown Firefox, Mozilla Suite Firefox 1.0.5 Mozilla Suite 1.7.9 Description When InstallVersion.compareTo() is passed an object rather than a string it assumed the object was another InstallVersion without verifying it. When passed a different kind of object the browser would generally crash with an access violation. shutdown has demonstrated that different javascript objects can be passed on some OS versions to get control over the instruction pointer. We assume this could be developed further to run arbitrary machine code if the attacker can get exploit code loaded at a predictable address. Workaround References https://bugzilla.mozilla.org/show_bug.cgi?id=295854 Mozilla Foundation Security Advisory 2005-48 Same-origin violation with InstallTrigger callback Low (High for Mozilla Suite) Matthew Mastracci Firefox, Mozilla Suite Firefox 1.0.5 Mozilla Suite 1.7.9 Description The InstallTrigger.install() method for launching an install accepts a callback function that will be called with the final success or error status. By forcing a page navigation immediately after calling the install method this callback function can end up running in the context of the new page selected by the attacker. This is true even if the user cancels the unwanted install dialog: cancel is an error status. This callback script can steal data from the new page such as cookies or passwords, or perform actions on the user's behalf such as make a purchase if the user is already logged into the target site. In Firefox the default settings allow only http://addons.mozilla.org to bring up this install dialog. This could only be exploited if users have added questionable sites to the install whitelist, and if a malicious site can convince you to install from their site that's a much more powerful attack vector. In the Mozilla Suite the whitelist feature is turned off by default, any site can prompt the user to install software and exploit this vulnerability. The browser has been fixed to clear any pending callback function when switching to a new site. Workaround Firefox: Remove untrustworthy sites from the list of those allowed to install, or turn off software installation entirely. Open the Options dialog from the Tools menu Select the Web Features icon in the left panel Uncheck the "Allow web sites to install software" box, or click the "allowed sites" button on that line to remove untrusted sites. Mozilla Suite: Turn off the software installation feature. Open the Preferences dialog from the Edit menu Select "Software Installation" in the "Advanced" group in the left panel. Uncheck the "Enable software installation" checkbox. References https://bugzilla.mozilla.org/show_bug.cgi?id=293331 Mozilla Foundation Security Advisory 2005-46 XBL scripts ran even when Javascript disabled Low moz_bug_r_a4 Firefox, Thunderbird, Mozilla Suite Firefox 1.0.5 Thunderbird 1.0.5 Mozilla Suite 1.7.9 Description Scripts in XBL controls from web content continued to be run even when Javascript was disabled. By itself this causes no harm, but it could be combined with most script-based exploits to attack people running vulnerable versions who thought disabling javascript would protect them. In the Thunderbird and Mozilla Suite mail clients Javascript is disabled by default for protection against denial-of-service attacks and worms; this vulnerability could be used to bypass that protection. Workaround Upgrade to a fixed version References https://bugzilla.mozilla.org/show_bug.cgi?id=292591 https://bugzilla.mozilla.org/show_bug.cgi?id=292589 Mozilla Foundation Security Advisory 2005-45 Content-generated event vulnerabilities High Omar Khan, Jochen, shutdown, Matthew Mastracci Firefox, Mozilla Suite Firefox 1.0.5 Mozilla Suite 1.7.9 Description In several places the browser UI did not correctly distinguish between true user events, such as mouse clicks or keystrokes, and synthetic events genenerated by web content. The problems ranged from minor annoyances like switching tabs or entering full-screen mode, to a variant on MFSA 2005-34. Synthetic events are now prevented from reaching the browser UI entirely rather than depend on each potentially spoofed function to protect itself from untrusted events. Workaround References https://bugzilla.mozilla.org/show_bug.cgi?id=289940 [***** End Security Vulnerabilities Fixed in Mozilla 1.7.9 *****]