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

»NIST Issues New Revision of Guide to Assessing Information Security Safeguards
»Cloud Metrics Could Provide the Goldilocks Solution to Which Cloud Vendor Is aposJust Rightapos
»Filling the Gap: NIST Document to Protect Federal Information in Nonfederal Information Systems
»Cyber Security: Your Mother Was Right, Sharing is Good, And NIST Has Some Help on How
»2014 Cybersecurity Education Meeting Emphasizes Presidential Ready to Work Initiative
»UMD and NIST Announce the Creation of the Joint Center for Quantum Information and Computer Science
»NISTaposs Cloud Computing Roadmap Details Research Requirements and Action Plans
»NIST Awards Contract to MITRE to Support Cybersecurity Center of Excellence
»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


Date published: not known
Details

»"Misfortune Cookie" Broadband Router Vulnerability
Original release date: December 20, 2014 Broadband routers employing the Allegro RomPager fir ...
»Vulnerabilities Identified in Network Time Protocol Daemon
Original release date: December 19, 2014 NTP has released an update that addresses multiple v ...
»FTC Releases "Package Delivery" Themed Scam Alert
Original release date: December 19, 2014 The Federal Trade Commission (FTC) has released a Sc ...
»Docker Releases Security Updates
Original release date: December 12, 2014 Docker versions 1.3.3 and 1.4.0 have been released t ...
»VMware Releases Updates for vCAC
Original release date: December 09, 2014 VMware has released security updates to address a cr ...
»Certain TLS Implementations Vulnerable to POODLE Attacks
Original release date: December 09, 2014 A new variant of the POODLE attack may affect some T ...
»Adobe Releases Security Updates for Flash, Reader, Acrobat, and ColdFusion
Original release date: December 09, 2014 Adobe has released security updates to address multi ...
»Microsoft Releases December 2014 Security Bulletin
Original release date: December 09, 2014 Microsoft has released updates to address vulnerabil ...
»ISC Releases Security Updates for BIND
Original release date: December 08, 2014 The Internet Systems Consortium (ISC) has released s ...
»VMware Releases Security Updates for vCenter Server, vCenter Server Appliance, and ESXi
Original release date: December 05, 2014 VMware has released a security advisory to address m ...


Date published: not known
Details

»Call for Papers: VB2015 Prague
VB seeks submissions for the 25th Virus Bulletin Conference. Virus Bulletin is seeking submissions f ...
»Book review: Countdown to Zero Day
Kim Zetter's book on Stuxnet is a must-read for anyone interested in malware - or in 21st century ge ...
»Virus Bulletin announces platinum sponsors for VB2015
More sponsorship opportunities available. While the opening of VB2015 in Prague is still more than n ...
»VB2014 paper: Smart home appliance security and malware
Jeongwook Oh demonstrates how to hack a Samsung smart TV. Over the next few months, we will be shari ...
»Virus Bulletin is hiring
VB seeks a Perl Developer / Security Engineer. 2014 has been an exciting year for Virus Bulletin: we ...
»Conference report: VB2014
The biggest and broadest ranging Virus Bulletin conference ever was a great success. There is ...
»VB2014 paper: Labelling spam through the analysis of protocol patterns
What do your IP packet sizes say about whether you're a spammer? Over the next few months, we will b ...
»Multi-staged, modular Regin tool enables stealthy surveillance
Nation state likely behind campaign that goes back many years. Few terms are misused in a security c ...
»Detekt tool searches PCs for traces of surveillance spyware
Second opinion essential in circumstances under which likely victims operate. Last week, the release ...


Date published: not known
Details

»The Internet's Winter Of Discontent
The new great cybersecurity challenge in trying to sum up the most dangerous weaknesses in the world ...
»Obama: U.S. Will Respond 'Proportionately' to Sony Cyber Attack
President Obama says the United States will take action against North Korea in response to the cyber ...
»Time to Rethink Patching Strategies
In 2014, the National Vulnerability Database is expected to log a record-breaking 8,000 vulnerabilit ...
»SDN And Security: Start Slow, But Start
Software-defined networking can be a net plus for security. The key: Work with the network team to i ...
»ICANN Hit By Cyberattack
Spear phishing campaign led to attackers gaining administrative access to one system.
»Bad Bots On The Rise
Humans remain outnumbered by bots online, new data shows.
»Vawtrak: Crimeware Made-To-Order
A compartmentalized botnet with a wide selection of specialized web injects makes it easier to attac ...
»5 Pitfalls to Avoid When Running Your SOC
The former head of the US Army Cyber Command SOC shares his wisdom and battle scars about playing of ...
»Black Hat Asia


Date published: Sun, 21 Dec 2014 09:51:51 EST
Details
Main Menu
· Home
Current Security News
 
SANS Internet Storm Center, InfoCON: green

» Infocon: green

» Site www.nfc.usda.gov and www.usda.gov Currently Down, (Sun, Dec 21st)
[20 Dec 2014 08:11pm]

» Which NTP Servers do You Need to Patch?, (Sat, Dec 20th)
[20 Dec 2014 09:29am]

» Critical #NTP Vulnerability in ntpd prior to 4.2.8, (Sat, Dec 20th)
[20 Dec 2014 06:44am]

» Bridging Datacenters for Disaster Recovery - Virtually, (Fri, Dec 19th)
[19 Dec 2014 03:43pm]

» What's Wrong with Bridging Datacenters together for DR?, (Fri, Dec 19th)
[19 Dec 2014 11:59am]

» ISC StormCast for Friday, December 19th 2014 http://isc.sans.edu/podcastdetail.html?id=4283, (Fri, Dec 19th)
[18 Dec 2014 06:57pm]

» Exploit Kit Evolution During 2014 - Nuclear Pack, (Thu, Dec 18th)
[18 Dec 2014 01:06pm]

» ISC StormCast for Thursday, December 18th 2014 http://isc.sans.edu/podcastdetail.html?id=4281, (Thu, Dec 18th)
[17 Dec 2014 07:29pm]

» Is the polkit Grinch Going to Steal your Christmas?, (Wed, Dec 17th)
[17 Dec 2014 10:22am]

» Certified pre-pw0ned Android Smartphones: Coolpad Firmware Backdoor, (Wed, Dec 17th)
[17 Dec 2014 07:44am]

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