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-2015-0249 (roller)
The weblog page template in Apache Roller 5.1 through 5.1.1 allows remote authenticated users with a ...
»CVE-2015-0674
Cross-site scripting (XSS) vulnerability in the Alert Service of Cisco Cloud Web Security base revis ...
»CVE-2015-0904
The Restaurant Karaoke SHIDAX app 1.3.3 and earlier on Android does not verify SSL certificates, whi ...
»CVE-2015-1323 (ubuntu_linux)
The simulate dbus method in aptdaemon before 1.1.1+bzr982-0ubuntu3.1 as packaged in Ubuntu 15.04, be ...
»CVE-2015-1332
The oxide::JavaScriptDialogManager function in oxide-qt before 1.9.1 as packaged in Ubuntu 15.04 and ...
»CVE-2015-1417
The inet module in FreeBSD 10.2x before 10.2-PRERELEASE, 10.2-BETA2-p2, 10.2-RC1-p1, 10.1x before 10 ...
»CVE-2015-1438
Heap-based buffer overflow in Panda Security Kernel Memory Access Driver 1.0.0.13 allows attackers t ...
»CVE-2015-1847
Directory traversal vulnerability in the web request/response interface in Appserver before 1.0.3 al ...
»CVE-2015-2279
cgi_test.cgi in AirLive BU-2015 with firmware 1.03.18, BU-3026 with firmware 1.43, and MD-3025 with ...
»CVE-2015-2280
snwrite.cgi in AirLink101 SkyIPCam1620W Wireless N MPEG4 3GPP network camera with firmware FW_AIC1620W_1.1.0-12_20120709_r1192.pck allows remote authenticated users to execute arbitrary OS commands via shell metacharacters in the mac parameter.
»CVE-2015-2798
SQL injection vulnerability in Joomla! Component Contact Form Maker 1.0.1 allows remote attackers to ...
»CVE-2015-3149
The Hotspot component in OpenJDK8 as packaged in Red Hat Enterprise Linux 6 and 7 allows local users ...
»CVE-2015-3170 (selinux)
selinux-policy when sysctl fs.protected_hardlinks are set to 0 allows local users to cause a denial ...
»CVE-2015-3171
sosreport 3.2 uses weak permissions for generated sosreport archives, which allows local users with ...
»CVE-2015-3208
XML external entity (XXE) vulnerability in the XPath selector component in Artemis ActiveMQ before c ...


Date published: 2017-07-27T20:00:34Z
Details

»McAfee Releases Security Bulletin for Web Gateway
Original release date: July 27, 2017 McAfee has released a security bulletin to address multi ...
»Cisco Releases Security Updates
Original release date: July 27, 2017 Cisco has released updates to address several vulnerabil ...
»Google Releases Security Updates for Chrome
Original release date: July 26, 2017 | Last revised: July 27, 2017 Google has released Chrome ...
»Joomla! Releases Security Update
Original release date: July 25, 2017 Joomla! has released version 3.7.4 of its Content Manage ...
»IBM Cisco Security Update
Original release date: July 21, 2017 IBM has released a security update to address some vulne ...
»Cisco Releases Security Update
Original release date: July 20, 2017 Cisco has released a security update to address a vulner ...
»Apple Releases Security Updates
Original release date: July 19, 2017 Apple has released security updates to address vulnerabi ...
»Oracle Releases Security Bulletin
Original release date: July 18, 2017 Oracle has released its Critical Patch Update for July 2017 to address 308 vulnerabilities across multiple products. Exploitation of some of these vulnerabilities may allow a remote attacker to take control of an affected system.Users and administrators are encouraged to review the Oracle July 2017 Critical Patch Update and apply the necessary updates. This product is provided subject to this Notification and this Privacy & Use policy.
»Cisco Releases Security Updates
Original release date: July 17, 2017 Cisco has released security updates to address a vulnera ...
»FBI Releases Article on Privacy Risks Associated with Internet-Connected Children's Toys
Original release date: July 17, 2017 The Federal Bureau of Investigation (FBI) has released a ...


Date published: not known
Details

»NoMoreRansom's first birthday demonstrates importance of collaboration
This week the NoMoreRansom project celebrated its first birthday. I ...
»VB2017 call for last-minute papers opened
Today, we open the call for last-minute papers for VB2017. Submit b ...
»Five reasons to come to VB2017 in Madrid
We're not ones to make bold claims about our conference, and we sug ...
»DMARC: an imperfect solution that can make a big difference
US Senator Ron Wyden has asked the Department of Homeland Security ...
»Advanced and inept persistent threats to be discussed at VB2017
Unsurprisingly given today's threat landscape, the VB2017 programme ...
»Password security is 1% choosing a half-decent password, 99% not using it anywhere else
Password security advice focuses too much on password strength and ...
»Save the dates: VB2018 to take place 3-5 October 2018
Though the location will remain a secret for a few more months, we ...
»Review: BSides Athens 2017
The second edition of BSides Athens saw a great and varied programm ...
»Let's not help attackers by spreading fear, uncertainty and doubt
Spreading 'FUD' in the wake of cyber-attacks is never a good idea. ...


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

» McAfee Releases Security Bulletin for Web Gateway
[27 Jul 2017 09:08am]

» Cisco Releases Security Updates
[27 Jul 2017 09:01am]

» Google Releases Security Updates for Chrome
[26 Jul 2017 12:43pm]

» Joomla! Releases Security Update
[25 Jul 2017 04:55pm]

» IBM Cisco Security Update
[21 Jul 2017 08:02am]

» Cisco Releases Security Update
[20 Jul 2017 10:24am]

» Apple Releases Security Updates
[19 Jul 2017 01:12pm]

» Oracle Releases Security Bulletin
[18 Jul 2017 02:03pm]

» Cisco Releases Security Updates
[17 Jul 2017 03:26pm]

» FBI Releases Article on Privacy Risks Associated with Internet-Connected Children's Toys
[17 Jul 2017 11:37am]

***
US-CERT Alerts

» TA17-181A: Petya Ransomware
[30 Jun 2017 11:41pm]

» TA17-164A: HIDDEN COBRA – North Korea’s DDoS Botnet Infrastructure
[13 Jun 2017 09:45am]

» TA17-163A: CrashOverride Malware
[12 Jun 2017 03:44pm]

» TA17-156A: Reducing the Risk of SNMP Abuse
[05 Jun 2017 06:11pm]

» TA17-132A: Indicators Associated With WannaCry Ransomware
[12 May 2017 07:36pm]

» TA17-117A: Intrusions Affecting Multiple Victims Across Multiple Sectors
[27 Apr 2017 04:50pm]

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

***
Computerworld Security

» Microsoft releases KB 3213643, 2956078, 4011078, 4011052 to fix June Outlook security bugs
[27 Jul 2017 03:00pm]

» Tiptoe through the bugs and get Windows and Office updated
[26 Jul 2017 10:55am]

» Wasn't this supposed to speed things up?
[26 Jul 2017 04:00am]

» Simple tips to keep your devices secure when you travel
[25 Jul 2017 11:00pm]

» The big secret behind Google Play Protect on Android
[25 Jul 2017 10:04am]

» The fate of Apple's Touch ID | Tech Talk Ep 1
[25 Jul 2017 05:00am]

» The paranoid Android traveler’s data-protection checklist
[25 Jul 2017 04:01am]

» How DevOps and cloud will speed up security
[24 Jul 2017 11:00pm]

» Stop blaming users for security misses
[24 Jul 2017 11:00pm]

» Where are the fixes to the botched Outlook security patches?
[21 Jul 2017 06:39am]

» Tech Talk: Azure Stack, cyberattacks, the next iPhone and ... keyboards
[20 Jul 2017 10:00am]

» Tech Talk: The latest on Azure Stack, cyberattacks, the next iPhone and ... keyboards
[20 Jul 2017 10:00am]

» More June security patch bugs: You can patch an IE flaw, CVE-2017-8529, or print inside iFrames—but not both
[19 Jul 2017 01:00pm]

» Verifying and testing that Firefox is restricted to TLS 1.2
[16 Jul 2017 01:56pm]

» Microsoft yanks bad Outlook patches of patches KB 3191849, 3213654, 401042
[15 Jul 2017 02:16pm]

***
Microsoft Security Advisories

» 4033453 - Vulnerability in Azure AD Connect Could Allow Elevation of Privilege - Version: 1.0
[27 Jun 2017 11:00am]

» 4010323 - Deprecation of SHA-1 for SSL/TLS Certificates in Microsoft Edge and Internet Explorer 11 - Version: 1.0
[23 Jun 2017 11:00am]

» 4025685 - Guidance related to June 2017 security update release - Version: 1.0
[13 Jun 2017 11:00am]

» 4022345 - Identifying and correcting failure of Windows Update client to receive updates - Version: 1.3
[12 May 2017 11:00am]

» 4022344 - Security Update for Microsoft Malware Protection Engine - Version: 1.2
[12 May 2017 11:00am]

» 4021279 - Vulnerabilities in .NET Core, ASP.NET Core Could Allow Elevation of Privilege - Version: 1.1
[10 May 2017 11:00am]

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

***
Security Latest

» How a Broadpwn Wi-Fi Vulnerability Impacted a Billion iPhones and Android Phones
[27 Jul 2017 03:53pm]

» One Billion Daily WhatsApp Users Prove Privacy Isn't Dead
[27 Jul 2017 12:04pm]

» _Reply All_'s Latest Episode Tackles Phone Scammers
[27 Jul 2017 08:43am]

» The Trump-Russia Scandal's Many Swirling Unknowns
[27 Jul 2017 05:00am]

» Hacker Warns Radioactivity Sensors Can Be Spoofed Or Disabled
[26 Jul 2017 07:29pm]

» Lipizzan Malware Could Take Over Android Devices Until Google Shut It Down
[26 Jul 2017 06:44pm]

» A New Toolkit Hopes to Fix the SS7 Flaws That Plague Cell networks
[26 Jul 2017 02:37pm]

» Rep. Blake Farenthold's Early '90s Internet Message Board Posts Show a Whole New Side
[26 Jul 2017 08:59am]

» Anti-Drone Tools Tested: From Shotguns To Superdrones
[26 Jul 2017 06:00am]

» Asomándonos a la Revolución Cubana de Internet Hecha por los Propios C
[26 Jul 2017 04:00am]

» Inside Cuba's D.I.Y. Internet Revolution
[26 Jul 2017 04:00am]

» Popular Remote Administrative Tools Turn Out to Be Easily Hacked
[25 Jul 2017 11:08am]

» Jared Kushner's Senate Testimony May Forget Russia Meetings, But the FBI Would Remember
[24 Jul 2017 02:40pm]

» A 'Locked' Smart Gun Can Be Fired With Just $15 Worth of Magnets
[24 Jul 2017 12:06pm]

» ShieldFS Is a Clever New Tool That Shuts Down Ransomware Before It's Too Late
[24 Jul 2017 11:12am]

***
Network World Security

» True random numbers are here — what that means for data centers
[27 Jul 2017 07:06am]

» IDG Contributor Network: Can SD-WANs meet standards requirements?
[26 Jul 2017 09:00am]

» Unix: How random is random?
[17 Jul 2017 09:01am]

» IBM touts full data encryption in new Z series mainframes
[17 Jul 2017 08:23am]

» Gravityscan, keeping WordPress sites safe
[24 May 2017 02:34pm]

» Network monitoring tools: Features users love and hate
[01 May 2017 04:51am]

» Book Review: Practical Packet Analysis: Using Wireshark to Solve Real-World Network Problems
[27 Apr 2017 12:45pm]

» Fight firewall sprawl with AlgoSec, Tufin, Skybox suites
[10 Apr 2017 04:32am]

» Review: Canary Flex security camera lives up to its name
[24 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]

» IDG Contributor Network: Can SD-WANs meet standards requirements?
[26 Jul 2017 09:00am]

» Simple tips to keep your devices secure when you travel
[25 Jul 2017 11:00pm]

***


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}