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-2010-2232
In Apache Derby 10.1.2.1, 10.2.2.0, 10.3.1.4, and 10.4.1.3, Export processing may allow an attacker ...
»CVE-2010-3659
Multiple cross-site scripting (XSS) vulnerabilities in TYPO3 CMS 4.1.x before 4.1.14, 4.2.x before 4 ...
»CVE-2011-1935
pcap-linux.c in libpcap 1.1.1 before commit ea9432fabdf4b33cbc76d9437200e028f1c47c93 when snaplen is ...
»CVE-2011-2683
reseed seeds random numbers from an insecure HTTP request to random.org during installation, which m ...
»CVE-2011-2684
foo2zjs before 20110722dfsg-3ubuntu1 as packaged in Ubuntu, 20110722dfsg-1 as packaged in Debian uns ...
»CVE-2011-4333
Multiple cross-site scripting (XSS) vulnerabilities in LabWiki 1.1 and earlier allow remote attacker ...
»CVE-2011-4334
edit.php in LabWiki 1.1 and earlier does not properly verify uploaded user files, which allows remot ...
»CVE-2012-4379
MediaWiki before 1.18.5, and 1.19.x before 1.19.2 does not send a restrictive X-Frame-Options HTTP h ...
»CVE-2012-4380
MediaWiki before 1.18.5, and 1.19.x before 1.19.2 allows remote attackers to bypass GlobalBlocking e ...
»CVE-2012-4382
MediaWiki before 1.18.5, and 1.19.x before 1.19.2 does not properly protect user block metadata, whi ...
»CVE-2012-4567
Multiple cross-site scripting (XSS) vulnerabilities in LetoDMS (formerly MyDMS) before 3.3.8 allow r ...
»CVE-2012-4568
Multiple cross-site request forgery (CSRF) vulnerabilities in LetoDMS (formerly MyDMS) before 3.3.8 ...
»CVE-2012-4569
Multiple cross-site scripting (XSS) vulnerabilities in out/out.UsrMgr.php in LetoDMS (formerly MyDMS ...
»CVE-2012-4570
SQL injection vulnerability in LetoDMS_Core/Core/inc.ClassDMS.php in LetoDMS (formerly MyDMS) before ...
»CVE-2012-6707
WordPress through 4.8.2 uses a weak MD5-based password hashing algorithm, which makes it easier for ...


Date published: 2017-10-24T05:00:08Z
Details

»Cisco Releases Security Updates
Original release date: October 18, 2017 Cisco has released updates to address vulnerabilities ...
»Google Releases Security Updates for Chrome
Original release date: October 18, 2017 Google has released Chrome version 62.0.3202.62 for W ...
»Oracle Releases Security Bulletin
Original release date: October 17, 2017 Oracle has released its Critical Patch Update for Oct ...
»IC3 Issues Alert on DDoS Attacks
Original release date: October 17, 2017 The Internet Crime Complaint Center (IC3) has issued ...
»IC3 Issues Alert on IoT Devices
Original release date: October 17, 2017 In conjunction with National Cyber Security Awareness ...
»Today’s Predictions for Tomorrow’s Internet
Original release date: October 17, 2017 October is National Cybersecurity Awareness Month, an ...
»Adobe Releases Security Updates
Original release date: October 16, 2017 Adobe has released security updates to address a vuln ...
»CERT/CC Reports WPA2 Vulnerabilities
Original release date: October 16, 2017 CERT Coordination Center (CERT/CC) has released infor ...
»Mozilla Releases Security Update
Original release date: October 11, 2017 Mozilla has released a security update to address mul ...
»Microsoft Releases October 2017 Security Updates
Original release date: October 10, 2017 Microsoft has released updates to address vulnerabili ...


Date published: not known
Details

»Gábor Szappanos wins fourth Péter Szőr Award
At the VB2017 gala dinner, the fourth Péter Szőr Award was presente ...
»VB2017 paper: Walking in your enemy's shadow: when fourth-party collection becomes attribution hell
We publish the VB2017 paper and video by Kaspersky Lab researchers ...
»Didn't come to VB2017? Tell us why!
Virus Bulletin is a company - and a conference - with a mission: to ...
»Montreal will host VB2018
Last week, we announced the full details of VB2018, which will take ...
»VB2017 preview: Beyond lexical and PDNS (guest blog)
In a special guest blog post, VB2017 Silver sponsor Cisco Umbrella ...
»Avast to present technical details of CCleaner hack at VB2017
The recently discovered malicious CCleaner version has become one o ...
»VB2017 preview: Walking in your enemy's shadow: when fourth-party collection becomes attribution hell
We preview the VB2017 paper by Kaspersky Lab researchers Juan André ...
»VB2017 preview: Offensive malware analysis: dissecting OSX/FruitFly.B via a custom C&C server
We preview Patrick Wardle's VB2017 paper, in which the Synack resea ...
»VB2017 - information for press
More than 50 security industry experts will present conference pape ...


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

» Cisco Releases Security Updates
[18 Oct 2017 02:07pm]

» Google Releases Security Updates for Chrome
[18 Oct 2017 08:08am]

» Oracle Releases Security Bulletin
[17 Oct 2017 06:40pm]

» IC3 Issues Alert on DDoS Attacks
[17 Oct 2017 06:39pm]

» IC3 Issues Alert on IoT Devices
[17 Oct 2017 04:56pm]

» Today’s Predictions for Tomorrow’s Internet
[17 Oct 2017 05:24am]

» Adobe Releases Security Updates
[16 Oct 2017 01:33pm]

» CERT/CC Reports WPA2 Vulnerabilities
[16 Oct 2017 07:20am]

» Mozilla Releases Security Update
[11 Oct 2017 08:25am]

» Microsoft Releases October 2017 Security Updates
[10 Oct 2017 01:37pm]

***
US-CERT Alerts

» TA17-293A: Advanced Persistent Threat Activity Targeting Energy and Other Critical Infrastructure Sectors
[20 Oct 2017 04:50pm]

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

***
Computerworld Security

» Now THAT'S what we call security!
[23 Oct 2017 04:00am]

» Anatomy of a spambot
[19 Oct 2017 04:00am]

» What is blockchain? Get up to speed with this video primer
[18 Oct 2017 11:00pm]

» 48% off Kidde Carbon Monoxide Alarm with Display and 10 Year Battery - Deal Alert
[18 Oct 2017 07:32am]

» 4 old malware threats still haunting business today
[17 Oct 2017 10:00pm]

» Excel, Access, external DB driver errors linked to this month’s patches
[17 Oct 2017 09:08am]

» Amazon wants to deliver groceries to your car trunk — not a good idea
[17 Oct 2017 04:00am]

» Microsoft shuts down Krack with sneaky Windows update
[16 Oct 2017 02:44pm]

» Don’t be the fool in the cloud
[16 Oct 2017 08:23am]

» Learn the ins and outs of Europe's General Data Protection Regulation (GDPR)
[15 Oct 2017 11:00pm]

» FinTech builds on blockchain for international mobile payments
[15 Oct 2017 10:07pm]

» Microsoft's anti-malware sniffing service powers Edge to top spot in browser blocking tests
[14 Oct 2017 01:58pm]

» Early reports of myriad Microsoft Patch Tuesday problems
[11 Oct 2017 05:28am]

» Another banner Patch Tuesday, with a Word zero-day and several bugs
[10 Oct 2017 02:28pm]

» In iOS 11, toggling Wi-Fi and Bluetooth 'off' doesn’t work. Here’s why.
[10 Oct 2017 01:54pm]

***
Microsoft Security Advisories

» 4038556 - Guidance for securing applications that host the WebBrowser Control - Version: 1.0
[08 Aug 2017 11:00am]

» 4033453 - Vulnerability in Azure AD Connect Could Allow Elevation of Privilege - Version: 1.0
[27 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]

» 4010323 - Deprecation of SHA-1 for SSL/TLS Certificates in Microsoft Edge and Internet Explorer 11 - Version: 1.0
[09 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]

***
Security Latest

» Russian Spies Rush to Exploit the Latest Flash Zero Day and More Security News This Week
[21 Oct 2017 06:00am]

» The Reaper Botnet Could Be Worse Than the Internet-Shaking Mirai Ever Was
[20 Oct 2017 03:45pm]

» Equifax Deserves the Corporate Death Penalty
[20 Oct 2017 06:00am]

» Cryptojacking Lets Strangers Mine Cryptocurrency With Your Browser
[20 Oct 2017 05:00am]

» It Takes Just $1,000 to Track Someone's Location With Mobile Ads
[18 Oct 2017 05:00am]

» Why the Krack Wi-Fi Mess Will Take Decades to Clean Up
[17 Oct 2017 01:39pm]

» The Flawed System Behind the Krack Wi-Fi Meltdown
[17 Oct 2017 10:55am]

» Google's 'Advanced Protection' Locks Down Accounts Like Never Before
[17 Oct 2017 05:00am]

» KRACK Vulnerability Makes Wi-Fi Hacking Possible, Leaving Millions of Devices Exposed
[16 Oct 2017 09:03am]

» Trump Decertifying the Iran Deal Could Have Unseen Cyberattack Consequences
[15 Oct 2017 05:00am]

» An Equifax Goof, an iOS Phish, and More Security News This Week
[14 Oct 2017 06:00am]

» How Power Grid Hacks Work, and When You Should Panic
[13 Oct 2017 10:00am]

» How To Fix the Broken Social Security Number Sytem
[13 Oct 2017 05:00am]

» Kaspersky's Alleged Russia Ties Highlight the Risks of Antivirus
[11 Oct 2017 03:01pm]

» 'Crypto Anchors' Might Stop the Next Equifax-Style Megabreach
[11 Oct 2017 10:45am]

***
Network World Security

» 48% off Kidde Carbon Monoxide Alarm with Display and 10 Year Battery - Deal Alert
[18 Oct 2017 07:32am]

» How to speed up IoT deployment: Give each device an identity
[12 Oct 2017 03:30am]

» What is a firewall?
[11 Oct 2017 02:16pm]

» IDG Contributor Network: How smart cities can protect against IoT security threats
[11 Oct 2017 05:00am]

» 7 free tools every network needs
[15 Aug 2017 01:52pm]

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

» What is blockchain? Get up to speed with this video primer
[18 Oct 2017 11:00pm]

» 4 old malware threats still haunting business today
[17 Oct 2017 10: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}