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-2014-9862 (mac_os_x)
Integer signedness error in bspatch.c in bspatch in bsdiff, as used in Apple OS X before 10.11.6 and ...
»CVE-2015-5738
The RSA-CRT implementation in the Cavium Software Development Kit (SDK) 2.x, when used on OCTEON II ...
»CVE-2015-8946 (ecryptfs-utils, ubuntu_linux)
ecryptfs-setup-swap in eCryptfs before 111 does not prevent the unencrypted swap partition from acti ...
»CVE-2016-0635 (documaker, enterprise_manager_ops_center, health_sciences_information_manager, healthcare_master_person_index, insurance_calculation_engine, insurance_policy_administration_j2ee, insurance_rules_palette, primavera_contract_management, primavera_p6_enterprise_project_portfolio_management, retail_integration_bus, retail_order_broker_cloud_service)
Unspecified vulnerability in the Enterprise Manager Ops Center component in Oracle Enterprise Manage ...
»CVE-2016-1374 (unified_computing_system_performance_manager)
The web framework in Cisco Unified Computing System (UCS) Performance Manager 2.0.0 and earlier allo ...
»CVE-2016-1460 (wireless_lan_controller_software)
Cisco Wireless LAN Controller (WLC) devices 7.4(121.0) and 8.0(0.30220.385) allow remote attackers t ...
»CVE-2016-1462 (prime_service_catalog)
Cross-site scripting (XSS) vulnerability in the web-based management interface in Cisco Prime Servic ...
»CVE-2016-1463 (firesight_system_software)
Cisco FireSIGHT System Software 5.3.0, 5.3.1, 5.4.0, 6.0, and 6.0.1 allows remote attackers to bypas ...
»CVE-2016-1465 (nx-os)
Cisco Nexus 1000v Application Virtual Switch (AVS) devices before 5.2(1)SV3(1.5i) allow remote attac ...
»CVE-2016-1467 (videoscape_session_resource_manager)
Cisco Videoscape Session Resource Manager (VSRM) allows remote attackers to cause a denial of servic ...
»CVE-2016-1705 (chrome)
Multiple unspecified vulnerabilities in Google Chrome before 52.0.2743.82 allow attackers to cause a ...
»CVE-2016-1706 (chrome)
The PPAPI implementation in Google Chrome before 52.0.2743.82 does not validate the origin of IPC me ...
»CVE-2016-1707 (chrome)
ios/web/web_state/ui/crw_web_controller.mm in Google Chrome before 52.0.2743.82 on iOS does not ensu ...
»CVE-2016-1708 (chrome)
The Chrome Web Store inline-installation implementation in the Extensions subsystem in Google Chrome ...
»CVE-2016-1709 (chrome, sfntly)
Heap-based buffer overflow in the ByteArray::Get method in data/byte_array.cc in Google sfntly befor ...


Date published: 2016-07-29T04:50:05Z
Details

»Google Releases Security Update for Chrome
Original release date: July 21, 2016 Google has released Chrome version 52.0.2743.82 to addre ...
»Cisco Releases Security Update
Original release date: July 20, 2016 | Last revised: July 25, 2016 Cisco has released a secur ...
»Oracle Releases Security Bulletin
Original release date: July 19, 2016 Oracle has released its Critical Patch Update for July 2016 to address 276 vulnerabilities across multiple products. Exploitation of some of these vulnerabilities may allow a remote attacker to take control of an affected system.US-CERT encourages users and administrators to review the Oracle July 2016 Critical Patch Update and apply the necessary updates. This product is provided subject to this Notification and this Privacy & Use policy.
»Drupal Releases Security Advisory
Original release date: July 18, 2016 Drupal has released an advisory to address a vulnerabili ...
»Apple Releases Multiple Security Updates
Original release date: July 18, 2016 Apple has released security updates for iTunes, Safari, ...
»Cisco Releases Security Updates
Original release date: July 14, 2016 Cisco has released security updates to address vulnerabi ...
»Microsoft Releases Security Updates
Original release date: July 12, 2016 Microsoft has released 11 updates to address vulnerabili ...
»Adobe Releases Security Updates
Original release date: July 12, 2016 Adobe has released security updates to address vulnerabi ...
»Cisco Releases Security Updates
Original release date: June 30, 2016 Cisco has released security updates to address vulnerabi ...
»Symantec Releases Security Updates
Original release date: June 29, 2016 Symantec has released security updates to address vulner ...


Date published: not known
Details

»Guest Blog: Malicious Scripts Gaining Prevalence in Brazil
In the run up to VB2016, we invited the conference sponsors to writ ...
»Romanian university website compromised to serve Neutrino exploit kit
The website of the Carol Davila University of Medicine and Pharmacy ...
»It's 2016. Can we stop using MD5 in malware analyses?
While there are no actually risks involved in using MD5s in malware ...
»Throwback Thursday: Holding the Bady
In 2001, ‘Code Red’ caused White House administrators to change the ...
»Paper: The Journey of Evasion Enters Behavioural Phase
A new paper by FireEye researcher Ankit Anubhav provides an overvie ...
»Guest blog: Espionage toolkit uncovered targeting Central and Eastern Europe
Recently, ESET researchers uncovered a new espionage toolkit target ...
»Avast acquires AVG for $1.3bn
Anti-virus vendor Avast has announced the acquisition of its rival ...
»Throwback Thursday: You Are the Weakest Link, Goodbye!
Passwords have long been a weak point in the security chain, despit ...
»Paper: New Keylogger on the Block
In a new paper published by Virus Bulletin, Sophos researcher Gabor ...


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

» Google Releases Security Update for Chrome
[21 Jul 2016 11:27am]

» Cisco Releases Security Update
[20 Jul 2016 10:29am]

» Oracle Releases Security Bulletin
[19 Jul 2016 04:07pm]

» Drupal Releases Security Advisory
[18 Jul 2016 03:23pm]

» Apple Releases Multiple Security Updates
[18 Jul 2016 03:13pm]

» Cisco Releases Security Updates
[14 Jul 2016 07:09am]

» Microsoft Releases Security Updates
[12 Jul 2016 05:06pm]

» Adobe Releases Security Updates
[12 Jul 2016 10:55am]

» Cisco Releases Security Updates
[30 Jun 2016 05:35am]

» Symantec Releases Security Updates
[29 Jun 2016 09:40am]

***
US-CERT Alerts

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

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

***
Computerworld Security

» FBI probing possible hack of another Democratic Party organization
[28 Jul 2016 08:02pm]

» Trump's hacking comments rattle cybersecurity pros
[28 Jul 2016 05:28pm]

» The AdGholas malvertising campaign infected thousands of computers per day
[28 Jul 2016 12:51pm]

» Google beefs Linux up kernel defenses in Android
[28 Jul 2016 12:21pm]

» Security Sessions: Generational differences in security, privacy attitudes
[28 Jul 2016 06:00am]

» Microsoft mandates Windows 10 hardware change for PC security
[27 Jul 2016 03:33pm]

» Flaw with password manager LastPass could hand over control to hackers
[27 Jul 2016 02:22pm]

» Trump to Russian hackers: Help find Hillary Clinton's emails
[27 Jul 2016 12:30pm]

» Rival gang leaks decryption keys for Chimera ransomware
[27 Jul 2016 11:52am]

» 7 strategies to avoid CSO burnout
[27 Jul 2016 09:29am]

» KeySniffer: Hackers can snag wireless keyboard keystrokes from 250 feet away
[27 Jul 2016 07:31am]

» Surefire security fail: One. App. At. A. Time.
[27 Jul 2016 05:00am]

» FBI to lead nation's cyberattack responses
[26 Jul 2016 02:21pm]

» SMS-based two-factor authentication may be headed out the door
[26 Jul 2016 01:26pm]

» Kimpton Hotels is investigating a possible payment card breach
[26 Jul 2016 11:26am]

***
Microsoft Security Advisories

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

» 3123479 - Deprecation of SHA-1 Hashing Algorithm for Microsoft Root Certificate Program - Version: 1.0
[12 Jan 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]

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

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

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

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

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

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

***
WIRED

» Trump Asks Russia to Dig Up Hillary’s Emails in Unprecedented Remarks
[27 Jul 2016 11:49am]

» Here’s What We Know About Russia and the DNC Hack
[27 Jul 2016 07:30am]

» WikiLeaks Has Officially Lost the Moral High Ground
[27 Jul 2016 06:00am]

» Radio Hack Steals Keystrokes from Millions of Wireless Keyboards
[26 Jul 2016 07:30am]

» 11 Police Robots Patrolling Around the World
[24 Jul 2016 05:00am]

» The KickassTorrents Case Could Be Huge
[22 Jul 2016 07:00am]

» How the Republican Convention Fends Off Hackers
[21 Jul 2016 07:55am]

» Snowden Designs a Device to Warn if Your iPhone’s Radios Are Snitching
[21 Jul 2016 07:01am]

» How the RNC Would Handle a Worst-Case Scenario Like a Bio or Chemical Attack
[21 Jul 2016 05:00am]

» Now You Can Hide Your Smart Home on the Darknet
[20 Jul 2016 02:57pm]

***
Network World Security

» WikiLeaks' methods questioned by whistleblower Edward Snowden
[28 Jul 2016 11:31pm]

» FBI said to investigate possible hack of another Democratic Party organization
[28 Jul 2016 08:02pm]

» Trump's hacking comment rattles the cybersecurity industry
[28 Jul 2016 05:28pm]

» Black Hat: 9 free security tools for defense & attacking
[28 Jul 2016 04:33pm]

» Review: Promisec goes the extra step to secure PCs
[13 Jul 2016 06:21am]

» 4 tools for managing firewall rules
[07 Jul 2016 11:03am]

» 10 advanced endpoint protection tools
[05 Jul 2016 04:00am]

» How to buy endpoint security products
[05 Jul 2016 04:00am]

» 7 trends in advanced endpoint protection
[05 Jul 2016 04:00am]

» 10 cutting-edge tools that take endpoint security to a new level
[05 Jul 2016 04:00am]

» Buyer’s Guide to 9 multi-factor authentication products
[06 Jun 2016 04:00am]

» 5 trends shaking up multi-factor authentication
[06 Jun 2016 04:00am]

» 9-vendor authentication roundup: The good, the bad and the ugly
[06 Jun 2016 04:00am]

» FBI said to investigate possible hack of another Democratic Party organization
[28 Jul 2016 08:02pm]

» Trump's hacking comment rattles the cybersecurity industry
[28 Jul 2016 05:28pm]

***


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}