NIST Site Search
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.

  • 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).


  • 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


Posted by 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


The redirect_target function in net/ipv4/netfilter/ipt_REDIRECT.c in the Linux kernel before 2.6.0 a ...
mm/filemap.c in the Linux kernel before 2.6.25 allows local users to cause a denial of service (infi ...
The tty_open function in drivers/tty/tty_io.c in the Linux kernel before 3.1.1 mishandles a driver-l ...
The netlink_sendmsg function in net/netlink/af_netlink.c in the Linux kernel before 3.5.5 does not v ...
Integer overflow in fs/aio.c in the Linux kernel before 3.4.1 allows local users to cause a denial o ...
fs/namespace.c in the Linux kernel before 4.0.2 processes MNT_DETACH umount2 system calls without ve ...
The VFS subsystem in the Linux kernel 3.x provides an incomplete set of requirements for setattr ope ...
The nft_flush_table function in net/netfilter/nf_tables_api.c in the Linux kernel before 3.18.5 mish ...
The xsave/xrstor implementation in arch/x86/include/asm/xsave.h in the Linux kernel before 3.19.2 cr ...
net/socket.c in the Linux kernel 3.19 before 3.19.3 does not validate certain range data for (1) sen ...
Race condition in the ldsem_cmpxchg function in drivers/tty/tty_ldsem.c in the Linux kernel before 3 ...
fs/namespace.c in the Linux kernel before 4.0.2 does not properly support mount connectivity, which ...
The collect_mounts function in fs/namespace.c in the Linux kernel before 4.0.5 does not properly con ...
The fs_pin implementation in the Linux kernel before 4.0.5 does not ensure the internal consistency ...
The skb_copy_and_csum_datagram_iovec function in net/core/datagram.c in the Linux kernel 3.14.54 and ...

Date published: 2016-05-04T04:50:00Z

»Apple Releases Security Update
Original release date: May 03, 2016 Apple has released a security update for Xcode to address ...
»OpenSSL Releases Security Updates
Original release date: May 03, 2016 OpenSSL has released security updates to address vulnerab ...
»FBI Releases Article on Ransomware
Original release date: April 29, 2016 The Federal Bureau of Investigation (FBI) has released ...
»Google Releases Security Update for Chrome
Original release date: April 28, 2016 Google has released Chrome version 50.0.2661.94 to addr ...
»Mozilla Releases Security Updates
Original release date: April 26, 2016 Mozilla has released security updates to address multip ...
»FTC Releases Alert on Earthquake Disaster Email Scams
Original release date: April 20, 2016 The Federal Trade Commission (FTC) has released an aler ...
»Cisco Releases Security Updates
Original release date: April 20, 2016 Cisco has released security updates to address vulnerab ...
»Oracle Releases Security Bulletin
Original release date: April 19, 2016 Oracle has released its Critical Patch Update for April ...
»Symantec Releases Security Updates
Original release date: April 19, 2016 Symantec has released security updates to address vulne ...
»VMWare Releases Security Updates
Original release date: April 14, 2016 VMware has released security updates to address a vulne ...

Date published: not known

»Paper: How It Works: Steganography Hides Malware in Image Files
A new paper by CYREN researcher Lordian Mosuela takes a close look ...
»Paying a malware ransom is bad, but telling people to never do it is unhelpful advice
The current ransomware plague is one of the worst threats the Inter ...
»VB2015 paper: VolatilityBot: Malicious Code Extraction Made by and for Security Researchers
In his VB2015 paper, Martin Korman presented his 'VolatilyBot' tool ...
»VB2016 programme announced, registration opened
We have announced 37 papers (and four reserve papers) that will be ...
»New tool helps ransomware victims indentify the malware family
The people behind the MalwareHunterTeam have released a tool that h ...
»It's fine for vulnerabilities to have names — we just need not to take them too seriously
The PR campaign around the Badlock vulnerability backfired when it ...
»Blog Throwback Thursday: The Number of the Beasts
The Virus Bulletin Virus Prevalence Table, which ran from 1992 unti ...
»Paper: All Your Meetings Are Belong to Us: Remote Code Execution in Apache OpenMeetings
Security researcher Andreas Lindh recently found a vulnerability in ...
»Throwback Thursday: 'In the Beginning was the Word...'
Word and Excel’s internal file formats used to be something in whic ...

Date published: not known
Main Menu
· Home
Current Security News
US-CERT Current Activity

» Apple Releases Security Update
[03 May 2016 04:24pm]

» OpenSSL Releases Security Updates
[03 May 2016 12:17pm]

» FBI Releases Article on Ransomware
[29 Apr 2016 07:45pm]

» Google Releases Security Update for Chrome
[28 Apr 2016 06:31pm]

» Mozilla Releases Security Updates
[26 Apr 2016 12:53pm]

» FTC Releases Alert on Earthquake Disaster Email Scams
[20 Apr 2016 03:05pm]

» Cisco Releases Security Updates
[20 Apr 2016 11:12am]

» Oracle Releases Security Bulletin
[19 Apr 2016 02:33pm]

» Symantec Releases Security Updates
[19 Apr 2016 11:30am]

» VMWare Releases Security Updates
[14 Apr 2016 07:08pm]

US-CERT Alerts

» TA16-105A: Apple Ends Support for QuickTime for Windows; New Vulnerabilities Announced
[14 Apr 2016 01:48pm]

» TA16-091A: Ransomware and Recent Variants
[31 Mar 2016 04:00pm]

» TA15-337A: Dorkbot
[03 Dec 2015 04:40pm]

» TA15-314A: Compromised Web Servers and Web Shells - Threat Awareness and Guidance
[10 Nov 2015 06:12pm]

» TA15-286A: Dridex P2P Malware
[13 Oct 2015 05:23am]

» TA15-240A: Controlling Outbound DNS Access
[28 Aug 2015 11:31am]

» TA15-213A: Recent Email Phishing Campaigns – Mitigation and Response Recommendations
[01 Aug 2015 04:01pm]

» TA15-195A: Adobe Flash and Microsoft Windows Vulnerabilities
[14 Jul 2015 05:13pm]

» TA15-120A: Securing End-to-End Communications
[29 Apr 2015 10:00pm]

» TA15-119A: Top 30 Targeted High Risk Vulnerabilities
[28 Apr 2015 10:00pm]

Computerworld Security

» How to perform a risk assessment
[03 May 2016 01:44pm]

» 16 standout Android apps with fingerprint support
[03 May 2016 12:04pm]

» Quantum computers pose a huge threat to security, and the NIST wants your help
[03 May 2016 11:23am]

» The IoT company behind the curtain
[03 May 2016 09:59am]

» WhatsApp is/isn't blocked in Brazil [updated]
[03 May 2016 05:39am]

» Nadella explains why Microsoft sued the U.S. government
[02 May 2016 06:26pm]

» CIOs: Match security plans to your company's 'risk appetite'
[02 May 2016 12:45pm]

» Hack a car in Michigan, go to prison for life if new bill becomes law
[02 May 2016 12:44pm]

» Microsoft to begin SHA-1 crypto shutoff with Windows 10's summer upgrade
[02 May 2016 08:03am]

» IDG Contributor Network: PCI's new rules focus on the chiefs
[02 May 2016 05:00am]

» Qatar National Bank claims customer data released by hackers is authentic
[02 May 2016 04:22am]

» It's Monday. Do you know where your users are?
[02 May 2016 04:00am]

» FBI uses 5th-Amendment loophole to unlock iPhone of Bkhchadzhyan
[02 May 2016 01:20am]

» IBM offers advice on how to secure blockchain in the cloud
[29 Apr 2016 11:33am]

» Phishing apps posing as popular payment services infiltrate Google Play
[29 Apr 2016 09:44am]

Microsoft Security Advisories

» 3152550 - Update to Improve Wireless Mouse Input Filtering - Version: 1.1
[22 Apr 2016 01:00am]

» 3137909 - Vulnerabilities in ASP.NET Templates Could Allow Tampering - Version: 1.1
[10 Feb 2016 12:00am]

» 2871997 - Update to Improve Credentials Protection and Management - Version: 5.0
[09 Feb 2016 12:00am]

» 3123479 - Deprecation of SHA-1 Hashing Algorithm for Microsoft Root Certificate Program - Version: 1.0
[12 Jan 2016 12:00am]

» 3109853 - Update to Improve TLS Session Resumption Interoperability - Version: 1.0
[12 Jan 2016 12:00am]

» 3118753 - Updates for ActiveX Kill Bits 3118753 - Version: 1.0
[12 Jan 2016 12:00am]

» 2755801 - Update for Vulnerabilities in Adobe Flash Player in Internet Explorer and Microsoft Edge - Version: 53.0
[05 Jan 2016 12:00am]

» 3057154 - Update to Harden Use of DES Encryption - Version: 1.1
[08 Dec 2015 12:00am]

» 3123040 - Inadvertently Disclosed Digital Certificate Could Allow Spoofing - Version: 1.0
[08 Dec 2015 12:00am]

» 3119884 - Inadvertently Disclosed Digital Certificates Could Allow Spoofing - Version: 1.0
[30 Nov 2015 12:00am]

» 3108638 - Update for Windows Hyper-V to Address CPU Weakness - Version: 1.0
[10 Nov 2015 12:00am]

» 3097966 - Inadvertently Disclosed Digital Certificates Could Allow Spoofing - Version: 2.0
[13 Oct 2015 01:00am]

» 2960358 - Update for Disabling RC4 in .NET TLS - Version: 2.0
[13 Oct 2015 01:00am]

» 3042058 - Update to Default Cipher Suite Priority Order - Version: 1.1
[13 Oct 2015 01:00am]

» 3083992 - Update to Improve AppLocker Publisher Rule Enforcement - Version: 1.0
[08 Sep 2015 01:00am]


» The Future of Encryption Is in These Politicians’ Hands
[03 May 2016 05:00am]

» How Craig Wright Privately ‘Proved’ He Created Bitcoin
[02 May 2016 11:44am]

» Flaws in Samsung’s ‘Smart’ Home Let Hackers Unlock Doors and Set Off Fire Alarms
[02 May 2016 05:00am]

» Security News This Week: The FBI Gets Creative to Avoid Disclosing Its $1M iPhone Hack
[30 Apr 2016 05:00am]

» It May Soon Be a Lot Harder for the Law to Get Into Your Email
[29 Apr 2016 01:18pm]

» We’re Going HTTPS: Here’s How WIRED Is Tackling a Huge Security Upgrade
[28 Apr 2016 10:00am]

» The Critical Hole at the Heart of Our Cell Phone Networks
[28 Apr 2016 05:00am]

» Hacker Lexicon: What Is HTTPS?
[27 Apr 2016 08:00am]

» Two Tips to Keep Your Phone’s Encrypted Messages Encrypted
[26 Apr 2016 07:00am]

» Hack Brief: Site for ‘Beautiful’ People Suffers Ugly Million-Member Breach
[25 Apr 2016 12:38pm]

Network World Security

» Why automation is the key to the future of cyber security
[03 May 2016 02:58pm]

» Schemer in “massive” identity theft fraud gets 4 years in slammer
[03 May 2016 02:12pm]

» How to perform a risk assessment
[03 May 2016 02:04pm]

» Panama Papers leak explained: What you need to know about the Mossack Fonseca hack
[03 May 2016 01:58pm]

» What users love (and hate) about 4 leading firewall solutions
[25 Apr 2016 01:48pm]

» 10 no-cost home security mobile apps worth a download
[01 Apr 2016 06:39am]

» 7 VPN services for hotspot protection
[14 Mar 2016 04:00am]

» Review: Consider VPN services for hotspot protection
[14 Mar 2016 04:00am]

» Review: 5 application security testing tools compared
[01 Mar 2016 01:29pm]

» Skyport eases the pain of deploying and securing remote servers
[29 Feb 2016 04:00am]

» Review: 8 password managers for Windows, Mac OS X, iOS, and Android
[24 Feb 2016 05:58am]

» What users love (and hate) about 4 leading identity management tools
[22 Feb 2016 06:52am]

» REVIEW: Cyphort makes advanced threat protection easier than ever
[25 Jan 2016 04:00am]

» Quantum computers pose a huge threat to security, and the NIST wants your help
[03 May 2016 11:15am]

» Application-layer DDoS attacks will increase, Kaspersky Labs predicts
[03 May 2016 10:19am]


More IT Security
News Feeds
More Sponsors

Advertise on this site
RSS Feeds
Our news can be syndicated by using these rss feeds.
Symantec News is in no way connected to the U.S. government site

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

Please visit daily to stay up to date on all your IT Security compliance issues. -
Hosted by BlueHost. We've never had a better hosting company.