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 Forensic Science Standards Committees to Hold First Public Meetings in February 2015
»NIST Security Guide Walks Organizations Through the Mobile App Security Vetting Process
»Open-Source Software for Quantum Information
»NIST Requests Round Two Comments on its Cryptographic Standards Process
»Symposium to Focus on Future of Voting Systems
»NIST Meeting: Cybersecurity Is a Key Ingredient In the Manufacturing Mix
»Future of Voting Systems Symposium II
»Global City Teams Challenge Tech Jam
»NIST Announces Initial Members of Forensic Science Digital Evidence Subcommittee
»Cybersecurity Center Invites Feedback on Securing Medical Devices
»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


Date published: not known
Details

»Apple Releases Security Updates for OS X, Safari, iOS and Apple TV
Original release date: January 27, 2015 Apple has released security updates for OS X, Safari, ...
»Linux "Ghost" Remote Code Execution Vulnerability
Original release date: January 27, 2015 | Last revised: January 28, 2015 The Linux GNU C Libr ...
»Security Advisory for Adobe Flash Player
Original release date: January 26, 2015 Adobe has released Flash Player desktop version 16.0.0.296 to address a critical vulnerability (CVE-2015-0311) in 16.0.0.287 and earlier versions for Windows and Macintosh. This vulnerability could allow an attacker to take control of the affected system.Users and administrators are encouraged to review Adobe Security Bulletin APSB15-01 and apply the necessary updates. This product is provided subject to this Notification and this Privacy & Use policy.
»IC3 Releases Alert for a Scam Targeting Businesses
Original release date: January 24, 2015 The Internet Crime Complaint Center (IC3) has release ...
»FBI Releases "Ransomware on the Rise"
Original release date: January 23, 2015 The FBI has released an article addressing ransomware ...
»Google Releases Security Updates for Chrome
Original release date: January 23, 2015 Google has released Chrome 40.0.2214.91 for Windows, ...
»Adobe Releases Security Updates for Flash Player
Original release date: January 22, 2015 Adobe has released security updates to address a vuln ...
»Oracle Releases January 2015 Security Advisory
Original release date: January 20, 2015 Oracle has released its Critical Patch Update for Jan ...
»Ubuntu Releases Security Updates
Original release date: January 20, 2015 Ubuntu has released security updates to address multi ...
»Affordable Care Act Phishing Campaign
Original release date: January 15, 2015 US-CERT is aware of a phishing campaign purporting to ...


Date published: not known
Details

»Linux systems affected by 'GHOST' vulnerability
Proof-of-concept email gives remote access to Exim mail server. If you administer Linux-based system ...
»VB2014 paper: Design to discover: security analytics with 3D visualization engine
Thibault Reuille and Dhia Mahjoub use DNS data to look for clusters of malicious domains. Since the ...
»Adobe to patch Flash Player zero-day next week
Patch due next week as malvertising leads to Bedep trojan downloader. As the news of a zero-day vuln ...
»Alleged Flash Player zero-day used in Angler exploit kit
Adobe 'investigating reports'. Vulnerable browser plug-ins are one of the most important infection v ...
»Research paper profiles victims of targeted attacks
Large organisations working in national security and international affairs run highest risk. Anyone ...
»Paper: Nesting doll: unwrapping Vawtrak
Raul Alvarez unwraps the many layers of an increasingly prevalent banking trojan. Banking trojans re ...
»VB2014 paper: OPSEC for security researchers
Vicente Diaz teaches researchers the basics of OPSEC. Since the close of the VB2014 conference in Se ...
»WhatsApp spam on the rise
End-to-end encryption makes spam filtering more difficult. Spam sent through the WhatsApp messaging ...
»What would Cameron's 'anti-terrorism' proposals mean for the UK?
Proposals could cause serious damage to business and the economy, and are unlikely to stop terrorism ...


Date published: not known
Details

»ZeroAccess Click-Fraud Botnet Back In Action Again
After a six-month hiatus, the much-diminished P2P botnet is up to its old tricks.
»Why Iran Hacks
Iran is using its increasingly sophisticated cyber capabilities to minimize Western influence and es ...
»'Ghost' Not So Scary After All
The latest open-source Linux vulnerability is serious but some security experts say it's not that ea ...
»Small Changes Can Make A Big Difference In Tech Diversity
There's no doubt that many employers feel most comfortable hiring people like themselves. But in Inf ...
»Half Of Enterprises Worldwide Hit By DDoS Attacks, Report Says
New data illustrates how distributed denial-of-service (DDoS) attacks remain a popular attack weapon ...
»WiIl Millennials Be The Death Of Data Security?
Millennials, notoriously promiscuous with data and devices, this year will become the largest genera ...
»NFL Mobile Sports App Contains Super Bowl-Sized Vulns
Lack of protections puts users at risk of exposed information by way of man-in-the-middle attacks.
»Gas Stations Urged To Secure Internet-Exposed Fuel Tank Devices
Researchers find more than 5,000 US gas stations' automated tank gauges unprotected on the public In ...
»Power Consumption Technology Could Help Enterprises Identify Counterfeit Devices
Understanding a device's "power fingerprint" might make it possible to detect security anomalies in ...


Date published: Thu, 29 Jan 2015 18:47:21 EST
Details
Main Menu
· Home
Current Security News
 
SANS Internet Storm Center, InfoCON: green

» Infocon: green

» Blindly confirming XXE, (Thu, Jan 29th)
[29 Jan 2015 11:43am]

» ISC StormCast for Thursday, January 29th 2015 http://isc.sans.edu/podcastdetail.html?id=4333, (Thu, Jan 29th)
[28 Jan 2015 08:34pm]

» Adobe Flash Update Available for CVE-2015-0311 & -0312, (Wed, Jan 28th)
[28 Jan 2015 01:23pm]

» GHOST glibc gethostbyname() Vulnerability: https://www.youtube.com/watch?v=218JiCBpUTM, (Wed, Jan 28th)
[28 Jan 2015 09:01am]

» ISC StormCast for Wednesday, January 28th 2015 http://isc.sans.edu/podcastdetail.html?id=4331, (Wed, Jan 28th)
[28 Jan 2015 08:43am]

» VMware Security Advisories - 1 New, 1 Updated, (Wed, Jan 28th)
[27 Jan 2015 05:48pm]

» New Critical GLibc Vulnerability CVE-2015-0235 (aka GHOST), (Tue, Jan 27th)
[27 Jan 2015 04:56pm]

» Apple Security Updates 27 JAN 2015 for OS X, Safari, iOS, and Apple TV - http://support.apple.com/en-us/HT1222, (Tue, Jan 27th)
[27 Jan 2015 03:48pm]

» ISC StormCast for Tuesday, January 27th 2015 http://isc.sans.edu/podcastdetail.html?id=4329, (Tue, Jan 27th)
[26 Jan 2015 07:34pm]

» Adobe updates Security Advisory for Adobe Flash Player, Infocon returns to green, (Mon, Jan 26th)
[26 Jan 2015 10:14am]

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