NIST Site Search
Search NIST.GOV
Custom Search
[Official NIST.GOV TIME]
Product Research

Advertise on this site
Firefox JavaScript Reentrant Vulnerability
Two Hackers at the ToorCon hacker conference demonstrated a flaw in Firefox that could lead to arbitrary code execution. The problem is with how Firefox implements JavaScript. Easy mitigation step, see below. (Updates: Proof of Concept code posted... The two hackers may have overstated the problem.) No Longer Supported
If you just want the skinny on the Firefox vulnerability click here. We're starting off with a little background on Javascript. See important Updates below.

We've said it many times before, the Internet is not a safe place, diligence is key. Though we feel that Firefox is more secure than Internet Explorer this is large part due to the lack of ActiveX support. But there are many other avenues to attack the web browser other than ActiveX. One of those is Javascript. Javascript is a interpreted programming language that works on the client side of the connection (as opposed to the server side). When your web browser loads a web page and sees Javascript on the page it interprets the code and does what its told to do. This sounds inherently dangerous since you have no control over what may be hidden in the HTML of some web page. But Javascript was written from the ground up to run within the confines of the web browser and as such its powers are limited. Most often used for simple tasks such as mouse rollovers (eg; changing a graphic when you highlight a button, or changing a text color when you float the cursor over the text) or validating form input. It is also often used in flyout style menus. It is usually harmless.

But the bad guys have figured out ways to use it maliciously. One such use is in Cross-Site Scripting (XSS) where Javascript is fed through some site's form entry (etc) that will echo it back to the user. When this is done it appears that whatever the Javascript did in the browser actually came from the website. So when you think you are entering your pin number on the banks site you may actually be entering it on the phishing / hackers site (there are other malicious uses for XSS as well). XSS vulnerable sites are everywhere. This author went hunting for them and found 2 major media sites that are vulnerable in less than 20 minutes.

Because Javascript must be interpreted by the browser to do things any oversight on the part of the browser programmers could be disastrous. A simple example would be Javascript used to load an image, if that routine could instead be used to load a local file with parameters a hacker could use this to run commands to download and start any malicious content they wanted. This would, in affect, make Javascript as dangerous as ActiveX (ActiveX can do almost anything if you let it. Its very powerful, it can also be very dangerous if used or configured incorrectly). These type problems with Javascript are rare but have come up from time to time.

Latest Firefox JavaScript Reentrant Vulnerability: (see updates below)

Two self-professed hackers, Mischa Spiegelmock and Andrew Wbeelsoi, gave a slide show at the ToorCon hacker conference showing Firefox being exploited to run arbitrary code. According to Spiegelmock the Firefox Javascript implementation is a "complete mess," and "is impossible to patch." Of course this this comes from a couple of hackers who's presentation was described on ToorCon as "New ways of getting your load onto your quivering victim's stack Reaching into the hearts and minds (also the genitals) of users" and comments in the slide presentation like "Hahahahahahaha stick that in your pipes and smoke it Firefox fanboys!". According to people who saw the presentation it appeared to show enough to figure out how to recreate the exploit. So far the vulnerability has not been confirmed and it is possible this is all a ruse or greatly exaggerated. But the folks at Mozilla seem to have seen enough to be taking this serious.

Of course this could also be the real deal. If that is the case Firefox has a very potent vulnerability just waiting to be exploited. Javascript can often be loaded in to bulletin board posts and blogs so random surfing would not be safe. Of course it can also be used in targeted attacks via eMail links, or loaded on to compromised web servers. It will be imperative that this get fixed quickly. If you are using a pre-1.5 version of Firefox and don't want to upgrade you should install the NoScript Extension (see below) immediately. Firefox 1.5x will be updated to fix this problem, previous versions will not.

The vulnerability as presented could lead to running arbitrary executable code within the security context of the user. In other words make Firefox install whatever the bad guys want installed assuming your login has the rights to install software.

Mitigation:
  • If you run Firefox you should immediately install the NoScript Extension. This script will prompt you when a page tries to run Javascript and give you the option to let it run. You can tell it to run just for this browser session or you can whitelist the site so that it always runs Javascript from that site. Some sites are very dependent on Javascript and won't show you anything without it. Some sites display nicely without it. We recommend whitelisting sites you visit often. Unless you do you'll never know what content you're missing out on. Some of the content might load using standard HTML, other content might load using JavaScript. For instance this site uses Javascript in several of the sidebar boxes.
  • You could use Internet Explorer since it is not vulnerable to this particular bug. But it currently has several unpatched vulnerabilities of its own. Since it still commands about 75-80% of the browser market hackers often target its vulnerabilities harder than those in Firefox (besides their is a "stick it to the man" mentality in attacking MS).


References:


Updates:
  • If you can't trust a couple of hackers who can you trust!! Quotes from Mozilla's interview with one of the two hackers that gave the presentation: "The main purpose of our talk was to be humorous." "I personally have not gotten it to result in code execution, nor do I know of anyone who has." The PoC can lead to a browser crash. They also admitted to not having "30 undisclosed Firefox vulnerabilities".
  • Proof of Concept code has been posted on the web. Now its only a matter of time before this vulnerability is exploited in the wild.


Vulnerable - Windows, Mac, Linux. Apparently all versions of Firefox.

Share or Bookmark this Article Using:
No Longer Supported



Google
WebNIST.org
NIST.govSecurityFocus.com





Posted by NIST.org on Monday 02 October 2006 - 04:13:29 | |printer friendly
Translate to: French German Italian Spanish Portuguese GTM_LAN_DUTCH Russian Chinese Arabic Korean English
Google Ads




Headlines

»NCCoE Fall Open House
»NCCoE Seeks Comments on Mobile Device Security Building Block
»Three Pilot Projects Receive Grants to Improve Online Security and Privacy
»NIST Megacities Carbon Project Named aposProject to Watchapos by United Nations
»NIST Announces FY 2014 Small Business Innovation Research Awards
»NIST Helps Develop New Standard for Microsensor Technology
»New Forensic Subcommittee on Digital Evidence Added to Organization of Scientific Area Committees
»NIST Team Honored for Work on Military Smartphone Apps, Security
»NIST Vetting Guide Helps in Testing Mobile Apps to Learn What They Really Do
»NIST, IAPP Host Privacy Engineering Workshop in September 2014
»NIST Therapy for Ultraviolet Laser Beams: Hydrogen-treated Fibers
»NIST aposGlobal City Teams Challengeapos to Create Smart Cities
»Global City Teams Challenge Workshop
»Updated NIST Guide Provides Computer Security Assessment Procedures for Core Security Controls
»Registration Opens for the Next Cybersecurity Framework Workshop


Date published: not known
Details

»Apple Releases Security Updates for iOS, Apple TV, and Xcode
Original release date: September 18, 2014 Apple released security updates for iOS devices, Ap ...
»Adobe Releases Security Updates for Adobe Reader and Acrobat
Original release date: September 16, 2014 Adobe has released security updates for Adobe Reade ...
»Cisco Integrated Management Controller Vulnerability
Original release date: September 11, 2014 Cisco has released an advisory to address a vulnera ...
»Google Releases Security Update for Chrome
Original release date: September 10, 2014 Google has released Chrome 37.0.2062.120 for Window ...
»Adobe Releases Security Updates for Flash Player and Air
Original release date: September 09, 2014 Adobe has released security updates to address mult ...
»Microsoft Releases September 2014 Security Bulletin
Original release date: September 09, 2014 Microsoft released updates to address vulnerabiliti ...
»WordPress Releases Security Update
Original release date: September 04, 2014 WordPress 3.9.2 has been released to address multip ...
»Mozilla Releases Security Updates for Firefox and Thunderbird
Original release date: September 03, 2014 The Mozilla Foundation has released security update ...
»Google Releases Security Updates for Chrome
Original release date: August 27, 2014 Google has released Chrome 37.0.2062.94 for Windows, M ...
»Backoff Point-of-Sale Malware Campaign
Original release date: August 22, 2014 US-CERT is aware of Backoff malware compromising a sig ...


Date published: not known
Details

»VB2014 preview: Ubiquitous Flash, ubiquitous exploits and ubiquitous mitigation
Chun Feng and Elia Florio look at exploits targeting domain memory opcode in Adobe Flash. In the wee ...
»VB2014: frequently asked questions
Some useful information for those attending VB2014 - or those interested in attending. I haven't reg ...
»VB2014 preview: two papers on Linux server malware
Researchers from ESET, Yandex and Symantec look at emerging malware trend. In the weeks running up t ...
»VB2014 preview: keynote and closing panel
Vulnerability disclosure one of the hottest issues in security. In the proceedings of the 24th Virus ...
»Report: VB100 comparative review on Windows Server 2012
23 out of 29 tested products earn VB100 award. Windows Server 2012 is the server version of Windows ...
»VB2014 preview: Apple without a shell - iOS under targeted attack
FireEye researchers show a large attack vector for Apple's mobile operating system. In the weeks run ...
»DNS cache poisoning used to steal emails
Call to use end-to-end encryption and to deploy DNSSEC. DNS is sometimes called 'the phone book of t ...
»Paper: Prosecting the Citadel botnet - revealing the dominance of the Zeus descendent: part two
Aditya K. Sood and Rohit Bansal study the malware's behaviour when ran on a physical machine. Last w ...
»Left-to-right override makes a return in spam
Trick shows that spammers still try to beat content-based filters. A decade ago, when spam had becom ...


Date published: not known
Details

»5 Ways To Think Outside The PCI Checkbox
New PCI Council GM plans to help organizations move their practices beyond compliance mentality into ...
»Home Depot Breach Surpasses Target In Scope
New details have emerged about the breach affecting Home Depot, which exposed 56 million payment car ...
»Mobile Device Security Isn't All About Devices
Roberto Medrano, executive vice president of SOA Software, explains why securing mobile applications ...
»An AppSec Report Card: Developers Barely Passing
A new study reveals that application developers are getting failing grades when it comes to their kn ...
»Is Enterprise IT Security Ready For iOS 8?
Apple bakes in more security features, but iOS 8 won't come without security ops headaches.
»5 Ways To Monitor DNS Traffic For Security Threats
Check out these examples of how to implement real-time or offline traffic monitoring using common co ...
»Google Backs New Effort To Simplify Security
New organization Simply Secure aims to promote and shape more user-friendly security and privacy tec ...
»US Military In The Dark On Cyberattacks Against Contractors
A lack of communication between military contractors and government agencies about Chinese cyber esp ...
»7 Reasons To Love Passwords
Passwords are often ridiculed, but there are some reasons they should be your nearest and dearest au ...


Date published: Sat, 20 Sep 2014 11:36:54 EDT
Details
Main Menu
· Home
Current Security News
 
SANS Internet Storm Center, InfoCON: green

» Infocon: green

» Strange ICMP traffic seen in destination, (Sat, Sep 20th)
[20 Sep 2014 09:45am]

» PHP Fixes Several Bugs in Version 5.4 and 5.5, (Fri, Sep 19th)
[19 Sep 2014 05:41pm]

» CipherShed Fork from TrueCrypt Project, Support Windows, Mac OS and Linux - https://ciphershed.org, (Fri, Sep 19th)
[19 Sep 2014 05:23pm]

» Web Scan looking for /info/whitelist.pac, (Fri, Sep 19th)
[18 Sep 2014 07:37pm]

» ISC StormCast for Friday, September 19th 2014 http://isc.sans.edu/podcastdetail.html?id=4155, (Fri, Sep 19th)
[18 Sep 2014 07:34pm]

» Added today in oclhashcat 131 Django [Default Auth] (PBKDF2 SHA256 Rounds Salt) Support - http://hashcat.net/hashcat/, (Fri, Sep 19th)
[18 Sep 2014 06:40pm]

» Apple Phishing emails, (Thu, Sep 18th)
[18 Sep 2014 05:58pm]

» Apple Releases OS X 10.9.5 / Safari 6.2 and 7.1 with several security fixes http://support.apple.com/kb/HT1222, (Thu, Sep 18th)
[18 Sep 2014 08:54am]

» ISC StormCast for Thursday, September 18th 2014 http://isc.sans.edu/podcastdetail.html?id=4153, (Thu, Sep 18th)
[17 Sep 2014 08:37pm]

» IOS8 is out - IOS 8 has arrived and with it the numerous devices that will be updating over the next few days or so your internet connection will be busy. , (Thu, Sep 18th)
[17 Sep 2014 06:24pm]

***
CNET News.com

» Microsoft defends opening Hotmail account of blogger in espionage case
[20 Mar 2014 06:47pm]

» Syria's Internet goes dark for several hours
[20 Mar 2014 04:25pm]

» Symantec fires CEO Steve Bennett
[20 Mar 2014 03:07pm]

» Microsoft sniffed blogger's Hotmail account to trace leak
[20 Mar 2014 01:28pm]

» Microsoft sniffed private Hotmail account to trace trade secret leak
[20 Mar 2014 01:28pm]

» IBM's new services zero in on fraud, financial crime
[20 Mar 2014 07:31am]

» Despite assault on privacy, Page sees value in online openness
[19 Mar 2014 08:00pm]

» Hackers transform EA Web page into Apple ID phishing scheme
[19 Mar 2014 05:21pm]

» NSA top lawyer says tech giants knew about data collection
[19 Mar 2014 02:57pm]

» Microsoft touts study showing the cost of pirated software
[19 Mar 2014 06:55am]

» Microsoft touts study showing cost of malware in pirated software
[19 Mar 2014 06:55am]

» How to spy on your lover, the smartphone way
[18 Mar 2014 01:24pm]

» Mt. Gox update lets users see their Bitcoin balances
[18 Mar 2014 06:38am]

» Fake Malaysia Airlines links spread malware
[17 Mar 2014 05:12pm]

» IBM: No, we did not help NSA spy on customers
[17 Mar 2014 01:15pm]

***

***



***


More IT Security
News Feeds
More Sponsors

Advertise on this site
RSS Feeds
Our news can be syndicated by using these rss feeds.
rss1.0
rss2.0
rdf
Symantec News

NIST.org is in no way connected to the U.S. government site NIST.gov

This site is © John Herron, CISSP. All Rights Reserved.

Please visit daily to stay up to date on all your IT Security compliance issues.

http://www.nist.org -
Hosted by BlueHost. We've never had a better hosting company.
{THEMEDISCLAIMER}