__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN XSS by Setting img.src to JavaScript: URI [Mozilla Foundation Security Advisory 2006-72] December 20, 2006 18:00 GMT Number R-087 [REVISED 8 Feb 2007] [REVISED 5 Mar 2007] [REVISED 14 Mar 2007] ______________________________________________________________________________ PROBLEM: The src attribute of an IMG element loaded in a frame could be changed to a JavaScript: URI that was able to bypass the protections against cross-site script (XSS)injection. PLATFORM: Firefox 2 and Firefox 1.5 Thunderbird 1.5 SeaMonkey 1 Debian GNU/Linux 3.1 (sarge) Firefox prior to version 1.5.0.9 running on HP-UX B.11.11 and B.11.23 DAMAGE: The injected script could steal credentials and financial data, or perform destructive actions on behalf of a logged-in user. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. The URI was able to bypass the protections ASSESSMENT: against cross-site script (XSS). The injected script could steal credentials and financial data, or perform destructive actions on behalf of a logged-in user. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-087.shtml ORIGINAL BULLETIN: Mozilla Foundation Security Advisory 2006-72 http://www.mozilla.org/security/announce/2006/mfsa2006-72.html ADDITIONAL LINKS: Red Hat RHSA-2006:0759-5 http://rhn.redhat.com/errate/RHSA-2006-0759.html Red Hat RHSA-2006:0758-2 http://rhn.redhat.com/errate/RHSA-2006-0758.html Red Hat RHSA-2006:0760-2 http://rhn.redhat.com/errate/RHSA-2006-0760.html Debian Security Advisory DSA-1258-1 http://www.debian.org/security/2007/dsa-1258 Debian Security Advisory DSA-1265-1 http://www.debian.org/security/2007/dsa-1265 Visit Hewlett-Packard's Subscription Service for: HPSBUX02153 SSRT061181 rev. 3 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2006-6503 ______________________________________________________________________________ REVISION HISTORY: 02/08/2007 - revised to add a link to Debian Security Advisory DSA-1258-1 for Debian GNU/Linux 3.1 (sarge). 03/05/2007 - revised R-087 to add a link to Hewlett-Packard HPSBUX02153 SSRT061181 rev. 3 for Firefox prior to version 1.5.0.9 running on HP-UX B.11.11 and B.11.23. 03/14/2007 - revised R-087 to add a link to Debian Security Advisory DSA-1265-1 for Debian GNU/Linux 3.1 sarge. [***** Start Mozilla Foundation Security Advisory 2006-72 *****] Mozilla Foundation Security Advisory 2006-72 Title: XSS by setting img.src to javascript: URI Impact: High Announced: December 19, 2006 Reporter: moz_bug_r_a4 Products: Firefox, Thunderbird, SeaMonkey Fixed in: Firefox 2.0.0.1 Firefox 1.5.0.9 Thunderbird 1.5.0.9 SeaMonkey 1.0.7 Description moz_bug_r_a4 reported that the src attribute of an IMG element loaded in a frame could be changed to a javascript: URI that was able to bypass the protections against cross-site script (XSS) injection. The injected script could steal credentials and financial data, or perform destructive actions on behalf of a logged-in user. Workaround Disable JavaScript until you can upgrade to a fixed version. References Exploit details withheld until after the active update period. https://bugzilla.mozilla.org/show_bug.cgi?id=351370 CVE-2006-6503 -------------------------------------------------------------------------------- [***** End Mozilla Foundation Security Advisory 2006-72 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Mozilla for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) R-077: Vulnerability in Windows (926255) R-078: Cumulative Security Update for Outlook Express (923694) R-079: Vulnerability in Remote Installation Service (926121) R-080: Symantec Veritas NetBackup R-081: GNOME Foundation Display Manager gdmchooser R-082: Clamav R-083: NeoScale Systems CryptoStor 700 Series Appliances Vulnerability R-084: CSS Cursor Image Buffer Overflow (Windows Only) R-085: Privilege Escallation Using Watch Point R-086: LiveConnect Crase Finalizing JS Objects