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

»Commerce Acting Under Secretary Encourages Business to take Active Role in Corporate Cyber Security
»NCCoE Speaker Series May 2015
»NIST Requests Comments for Revising Its Electronic Authentication Guideline
»New Report: Online Identity Projects are Creating More Options for Businesses, Individuals
»NIST Tightens the Bounds on the Quantum Information aposSpeed Limitapos
»Securing a Public Safety Broadband Network with Identity Management
»Vendors Sought to Develop Model System for Identity and Access Management for Financial Services Companies
»NIST Request Comments on Its Big Data Framework Development
»NIST Calls for Final Comments on Guide to Protecting Sensitive Information on Nonfederal Systems
»NIST Invites Comments on Challenges in Protecting Consumer Data
»Comments Sought on Access Control Building Block
»Federal Funding Opportunity Solicits Projects That Support Online Privacy
»Spotlight on Commerce: Donna F. Dodson
»Lack of Effective Timing Signals Could Hamper Internet of Things Development
»NIST 2015 SBIR Grants to Fund Research in Manufacturing, Clean Energy, Cybersecurity and Bioscience


Date published: not known
Details

»WordPress Releases Security Update
Original release date: April 23, 2015 WordPress 4.1.2 has been released to address multiple v ...
»IC3 Warns of Cyber Attacks Focused on Law Enforcement and Public Officials
Original release date: April 21, 2015 The Internet Crime Complaint Center (IC3) has issued an ...
»Mozilla Releases Security Update for Firefox
Original release date: April 21, 2015 The Mozilla Foundation has released Firefox 37.0.2 to a ...
»Oracle Releases April 2015 Security Advisory
Original release date: April 15, 2015 | Last revised: April 16, 2015 Oracle has released secu ...
»Google Releases Security Update for Chrome
Original release date: April 15, 2015 Google has released Chrome 42.0.2311.90 for Windows, Ma ...
»Adobe Releases Security Updates for Flash Player, ColdFusion, and Flex
Original release date: April 15, 2015 Adobe has released three security updates to address mu ...
»Microsoft Releases April 2015 Security Bulletin
Original release date: April 14, 2015 Microsoft has released eleven updates to address vulner ...
»WP Super Cache Cross-Site Scripting (XSS) Vulnerability
Original release date: April 09, 2015 WP Super Cache, a WordPress plugin, contains a persiste ...
»Apple Releases Security Updates for OS X, iOS, Safari, and Apple TV
Original release date: April 08, 2015 Apple has released security updates for OS X, iOS, Safa ...
»Vulnerabilities Identified in Network Time Protocol Daemon (ntpd)
Original release date: April 08, 2015 The Network Time Foundation's NTP Project has released ...


Date published: not known
Details

»VB2015 offer for new security companies
Write an article for the Bulletin, get a half-price ticket for the conference. Things are going well ...
»Throwback Thursday: Through the Administrator's Eye
This Throwback Thursday, VB heads back to 1997 with 'Through the Administrator's Eye'. Over the last ...
»Registration for VB2015 has opened
Early bird discounts available for registrations made before 30 June. Today, we have opened registra ...
»Ross Anderson awarded BCS Lovelace Medal
Cambridge professor to deliver VB2015 keynote. Yesterday, the British Computer Society (BCS) announc ...
»Does it matter if my banking password is 'Prague'?
Users do choose weak passwords, but they aren't as big a problem as we think. This week, I spent a f ...
»Throwback Thursday: The Unbearable Lightness of Testing
VB gets in on the Throwback Thursday act, delving into the archives. Over the last couple of years, ...
»VB2014 paper: Swipe away, we're watching you
Hong Kei Chan and Liang Huang describe the various aspects and the evolution of point-of-sale malwar ...
»Google 'suspends' CNNIC from Chrome's certificate store
Chinese certificate authority told to re-apply. When a web client, such as a browser, attempts to ma ...
»Virus Bulletin announces two VB2015 keynotes
Ross Anderson and Costin Raiu to deliver keynote addresses at 25th Virus Bulletin conference. Two da ...


Date published: not known
Details

»As Malware Surges, U.S. Remains Biggest Source of Attacks
The country leads others in malicious IP, URLs and phishing sites.
»Smartphone Security Shootout
Researcher compared Apple iOS, Android, Windows smartphones for business use privacy and security.
»Defense Secretary Outlines New Cybersecurity Strategy
Russian hackers were caught infiltrating unclassified military networks earlier this year, he said.
»Cybersecurity: Don't Bank On It With 3rd Parties
Not knowing that a contractor's employee had access to system passwords is not a valid excuse when y ...
»DHS Courts Private Sector For Threat Intelligence-Sharing
Homeland Security NCCIC now STIX- and TAXII-enabled for automated machine-to-machine sharing of inte ...
»Behavioral Biometrics On The Rise At RSA Conference
Harder to spoof and easier on users, behavioral biometrics may be bigger than passwords soon.
»6 Most Dangerous New Attack Techniques in 2015
SANS experts lay out the up-and-coming trends in attack patterns at RSA Conference.
»Government Giving 'No More Free Passes' To Cybercriminals
At RSA Conference Wednesday, Assistant Attorney General for National Security John Carlin explained ...
»From The RSA Keynote Stage, Day Two
A 9-year-old CEO hacker, a record-breaking swimmer, and a variety of ideas about data-driven securit ...


Date published: Mon, 27 Apr 2015 08:55:30 EDT
Details
Main Menu
· Home
Current Security News
 
SANS Internet Storm Center, InfoCON: green

» Infocon: green

» ISC StormCast for Monday, April 27th 2015 http://isc.sans.edu/podcastdetail.html?id=4457, (Mon, Apr 27th)
[26 Apr 2015 06:33pm]

» Quantum Insert Attack, (Sun, Apr 26th)
[26 Apr 2015 11:26am]

» A Malicious Word Document Inside a PDF Document, (Sat, Apr 25th)
[25 Apr 2015 04:29am]

» Fileless Malware, (Fri, Apr 24th)
[24 Apr 2015 10:55am]

» ISC StormCast for Friday, April 24th 2015 http://isc.sans.edu/podcastdetail.html?id=4455, (Fri, Apr 24th)
[23 Apr 2015 07:24pm]

» When automation does not help, (Thu, Apr 23rd)
[23 Apr 2015 01:04pm]

» ISC StormCast for Thursday, April 23rd 2015 http://isc.sans.edu/podcastdetail.html?id=4453, (Thu, Apr 23rd)
[22 Apr 2015 09:03pm]

» Dridex Redirecting to Malicious Dropbox Hosted File Via Google, (Tue, Apr 21st)
[22 Apr 2015 08:50pm]

» ISC StormCast for Wednesday, April 22nd 2015 http://isc.sans.edu/podcastdetail.html?id=4451, (Wed, Apr 22nd)
[21 Apr 2015 10:52pm]

» Logging Complete Requests in Apache 2.2 and 2.4, (Tue, Apr 21st)
[21 Apr 2015 09:15am]

***
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}