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: {GOOGLETRANS}
Google Ads




Headlines

»CVE-2012-5361 (ffmpeg)
Libavcodec in FFmpeg before 0.11 allows remote attackers to cause a denial of service (memory corrup ...
»CVE-2013-6446
The JobHistory Server in Cloudera CDH 4.x before 4.6.0 and 5.x before 5.0.0 Beta 2, when using MRv2/ ...
»CVE-2014-0229
Apache Hadoop 0.23.x before 0.23.11 and 2.x before 2.4.1, as used in Cloudera CDH 5.0.x before 5.0.2 ...
»CVE-2014-7279
The Konke Smart Plug K does not require authentication for TELNET sessions, which allows remote atta ...
»CVE-2014-8731
PHPMemcachedAdmin 1.2.2 and earlier allows remote attackers to execute arbitrary PHP code via vector ...
»CVE-2014-9832 (imagemagick)
Heap overflow in ImageMagick 6.8.9-9 via a crafted pcx file.
»CVE-2014-9833 (imagemagick)
Heap overflow in ImageMagick 6.8.9-9 via a crafted psd file.
»CVE-2014-9834 (imagemagick)
Heap overflow in ImageMagick 6.8.9-9 via a crafted pict file.
»CVE-2014-9835 (imagemagick)
Heap overflow in ImageMagick 6.8.9-9 via a crafted wpf file.
»CVE-2014-9836 (imagemagick)
ImageMagick 6.8.9-9 allows remote attackers to cause a denial of service via a crafted xpm file.
»CVE-2014-9838 (imagemagick)
magick/cache.c in ImageMagick 6.8.9-9 allows remote attackers to cause a denial of service (crash).
»CVE-2014-9839 (imagemagick)
magick/colormap-private.h in ImageMagick 6.8.9-9 allows remote attackers to cause a denial of servic ...
»CVE-2014-9840 (imagemagick)
ImageMagick 6.8.9-9 allows remote attackers to cause a denial of service (out-of-bounds access) via ...
»CVE-2014-9841 (imagemagick, leap, opensuse, suse_linux_enterprise_desktop, suse_linux_enterprise_server, suse_linux_enterprise_software_development_kit, suse_linux_enterprise_workstation_extension, ubuntu_linux)
The ReadPSDLayers function in coders/psd.c in ImageMagick 6.8.9.9 allows remote attackers to have un ...
»CVE-2014-9842 (imagemagick, leap, opensuse, suse_linux_enterprise_debuginfo, suse_linux_enterprise_desktop, suse_linux_enterprise_server, suse_linux_enterprise_software_development_kit, suse_linux_enterprise_workstation_extension, ubuntu_linux)
Memory leak in the ReadPSDLayers function in coders/psd.c in ImageMagick 6.8.9.9 allows remote attac ...


Date published: 2017-03-25T14:00:01Z
Details

»Apple Releases Security Update for iTunes
Original release date: March 24, 2017 Apple has released a security update for Apple iTunes t ...
»Aviation Phishing Scams
Original release date: March 23, 2017 US-CERT has received reports of email-based phishing ca ...
»Cisco Releases Security Updates
Original release date: March 22, 2017 Cisco has released security updates to address vulnerab ...
»Vulnerabilities Identified in Network Time Protocol Daemon (ntpd)
Original release date: March 22, 2017 The Network Time Foundation's NTP Project has has relea ...
»Cisco Releases Security Updates
Original release date: March 21, 2017 Cisco has released security updates to address vulnerab ...
»IRS Warns of Last-Minute Tax Scams
Original release date: March 17, 2017 The Internal Revenue Service (IRS) has released an aler ...
»Mozilla Releases Security Updates
Original release date: March 17, 2017 Mozilla has released security updates to address a vuln ...
»Microsoft Ending Support for Windows Vista
Original release date: March 17, 2017 All software products have a lifecycle. After April 11, ...
»Microsoft SMBv1 Vulnerability
Original release date: March 16, 2017 Microsoft has released a security update to address a v ...
»Cisco Releases Security Updates
Original release date: March 15, 2017 Cisco has released several updates to address vulnerabi ...


Date published: not known
Details

»Mostly blocked, but still good enough: Necurs sending pump-and-dump spam
The Necurs botnet has started sending pump-and-dump spam. Almost al ...
»Why the SHA-1 collision means you should stop using the algorithm
Realistically speaking, if your software or system uses the SHA-1 h ...
»VB2017 Call for Papers: frequently asked questions
The call for papers for VB2017, which takes place 4 to 6 October i ...
»Throwback Thursday: Michelangelo - Graffiti Not Art
This week marked the 25th anniversary of the trigger date of the in ...
»How are you defending your network? Come and tell us at VB2017!
Is it your job to defend your company’s network? Are you defending ...
»Quick impressions from BSides Budapest
At Virus Bulletin, we love the BSides concept and we have attended ...
»First sponsors of VB2017 announced
We are excited to announce the first five sponsors of VB2017, compa ...
»Security products and HTTPS: let's do it better
A recent paper showed that many HTTPS-intercepting security solutio ...
»The SHA-1 hashing algorithm has been 'shattered'
Researchers from Google and CWI Amsterdam have created the first kn ...


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

» Apple Releases Security Update for iTunes
[24 Mar 2017 12:07pm]

» Aviation Phishing Scams
[23 Mar 2017 02:27pm]

» Cisco Releases Security Updates
[22 Mar 2017 04:02pm]

» Vulnerabilities Identified in Network Time Protocol Daemon (ntpd)
[22 Mar 2017 11:20am]

» Cisco Releases Security Updates
[21 Mar 2017 09:57am]

» IRS Warns of Last-Minute Tax Scams
[17 Mar 2017 09:21pm]

» Mozilla Releases Security Updates
[17 Mar 2017 06:54pm]

» Microsoft Ending Support for Windows Vista
[16 Mar 2017 10:45pm]

» Microsoft SMBv1 Vulnerability
[16 Mar 2017 04:12pm]

» Cisco Releases Security Updates
[15 Mar 2017 06:26pm]

***
US-CERT Alerts

» TA17-075A: HTTPS Interception Weakens TLS Security
[16 Mar 2017 06:40am]

» TA16-336A: Avalanche (crimeware-as-a-service infrastructure)
[30 Nov 2016 10:00pm]

» TA16-288A: Heightened DDoS Threat Posed by Mirai and Other Botnets
[14 Oct 2016 05:59pm]

» TA16-250A: The Increasing Threat to Network Infrastructure Devices and Recommended Mitigations
[06 Sep 2016 04:29pm]

» TA16-187A: Symantec and Norton Security Products Contain Critical Vulnerabilities
[05 Jul 2016 08:50am]

» TA16-144A: WPAD Name Collision Vulnerability
[23 May 2016 05:38am]

» TA16-132A: Exploitation of SAP Business Applications
[11 May 2016 05:31am]

» 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]

***
Computerworld Security

» How to protect yourself from ATM crime
[25 Mar 2017 05:00am]

» CIA, WikiLeaks and Doctor Who?
[24 Mar 2017 03:55pm]

» Apple: Macs and iPhones are safe from newly revealed CIA exploits
[24 Mar 2017 01:11pm]

» Google Play faces cat-and-mouse game with Android malware
[24 Mar 2017 12:16pm]

» To punish Symantec, Google may distrust a third of the web's SSL certificates
[24 Mar 2017 11:32am]

» FBI director floats international framework on encrypted data access
[23 Mar 2017 04:21pm]

» Leaked iCloud credentials came from third parties, Apple says
[23 Mar 2017 03:13pm]

» Google: Half of Android devices haven’t been patched in a year or more
[23 Mar 2017 01:41pm]

» Newly leaked documents show low-level CIA Mac and iPhone hacks
[23 Mar 2017 12:53pm]

» Senate votes to kill FCC's broadband privacy rules
[23 Mar 2017 11:13am]

» Snowden's ex-boss offers advice on stopping insider threats
[23 Mar 2017 11:10am]

» Look before you leap: 4 hard truths about IoT
[23 Mar 2017 06:21am]

» LastPass fixes serious password leak flaws
[22 Mar 2017 03:21pm]

» iPhone, Mac owners: How to stymie hackers extorting Apple, threatening to wipe devices
[22 Mar 2017 02:23pm]

» Google cites progress in Android security, but patching issues linger
[22 Mar 2017 01:41pm]

***
Microsoft Security Advisories

» 3123479 - SHA-1 Hashing Algorithm for Microsoft Root Certificate Program - Version: 2.0
[14 Mar 2017 11:00am]

» 4010983 - Vulnerability in ASP.NET Core MVC 1.1.0 Could Allow Denial of Service - Version: 1.0
[27 Jan 2017 11:00am]

» 3214296 - Vulnerabilities in Identity Model Extensions Token Signing Verification Could Allow Elevation of Privilege - Version: 1.0
[10 Jan 2017 11:00am]

» 3181759 - Vulnerabilities in ASP.NET Core View Components Could Allow Elevation of Privilege - Version: 1.0
[13 Sep 2016 11:00am]

» 3174644 - Updated Support for Diffie-Hellman Key Exchange - Version: 1.0
[13 Sep 2016 11:00am]

» 3179528 - Update for Kernel Mode Blacklist - Version: 1.0
[09 Aug 2016 11:00am]

» 2880823 - Deprecation of SHA-1 Hashing Algorithm for Microsoft Root Certificate Program - Version: 2.0
[18 May 2016 11:00am]

» 3155527 - Update to Cipher Suites for FalseStart - Version: 1.0
[10 May 2016 11:00am]

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

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

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

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

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

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

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

***
WIRED

» Security News This Week: FedEx Offered Customers Five Bucks to Re-Install Flash
[25 Mar 2017 05:00am]

» Instagram Has Two-Factor Authentication Now, So Turn It On
[23 Mar 2017 01:30pm]

» WikiLeaks Reveals How the CIA Can Hack a Mac’s Hidden Code
[23 Mar 2017 12:09pm]

» The Clever ‘DoubleAgent’ Attack Turns Antivirus Into Malware
[23 Mar 2017 09:33am]

» Don’t Buy the Latest Trump Surveillance Hype
[22 Mar 2017 04:18pm]

» Good News: Android’s Huge Security Problem Is Getting Less Huge
[22 Mar 2017 08:00am]

» A Cybersecurity Arsenal That’ll Help ‘Protect Your Election’
[21 Mar 2017 05:00am]

» Inside the Hunt for Russia’s Most Notorious Hacker
[21 Mar 2017 04:00am]

» Russia? Nah. The House GOP Goes After Leakers Instead
[20 Mar 2017 04:02pm]

» Trump’s TSA Budget Fails to Cut the Obvious: Air Marshals
[20 Mar 2017 12:00pm]

***
Network World Security

» Consultant urges never pay ransomware demands
[24 Mar 2017 03:40pm]

» Apple: Macs and iPhones are safe from newly revealed CIA exploits
[24 Mar 2017 12:58pm]

» IDG Contributor Network: 7 best practices for securing your cloud service
[24 Mar 2017 12:36pm]

» Google Play faces cat and mouse game with sneaky Android malware
[24 Mar 2017 12:16pm]

» Review: Canary Flex security camera lives up to its name
[24 Mar 2017 07:01am]

» Smackdown: Office 365 vs. G Suite management
[16 Mar 2017 07:01am]

» Zix wins 5-vendor email encryption shootout
[13 Mar 2017 04:00am]

» Review: vArmour flips security on its head
[06 Mar 2017 03:50am]

» 5 open source security tools too good to ignore
[21 Feb 2017 07:12am]

» Review: Samsung SmartCam PT network camera
[15 Feb 2017 07:00am]

» Review: Arlo Pro cameras offer true flexibility for home security
[09 Feb 2017 07:01am]

» Face-off: Oracle vs. CA for identity management
[26 Jan 2017 10:30am]

» 6 steps to secure a home security camera
[23 Jan 2017 04:00am]

» CIA, WikiLeaks and Doctor Who?
[24 Mar 2017 03:55pm]

» Apple: Macs and iPhones are safe from newly revealed CIA exploits
[24 Mar 2017 12:58pm]

***


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

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}