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-6706
A VMSF_DELTA memory corruption was discovered in unrar before 5.5.5, as used in Sophos Anti-Virus Th ...
»CVE-2015-3913 (s12700_firmware, s2300_firmware, s2350ei_firmware, s2700_firmware, s2750ei_firmware, s3300_firmware, s3700_firmware, s5300ei_firmware, s5300hi_firmware, s5300li_firmware, s5300si_firmware, s5700ei_firmware, s5700hi_firmware, s5700li_firmware, s5700si_firmware, s5710hi_firmware, s5720hi_firmware, s6300ei_firmware, s6700ei_firmware, s7700_firmware, s9300_firmware, s9700_firmware)
The IP stack in multiple Huawei Campus series switch models allows remote attackers to cause a denia ...
»CVE-2015-9098
In Redgate SQL Monitor before 3.10 and 4.x before 4.2, a remote attacker can gain unauthenticated ac ...
»CVE-2015-9099
The lame_init_params function in lame.c in libmp3lame.a in LAME 3.99.5 allows remote attackers to ca ...
»CVE-2015-9100
The fill_buffer_resample function in util.c in libmp3lame.a in LAME 3.99.5 allows remote attackers t ...
»CVE-2015-9101
The fill_buffer_resample function in util.c in libmp3lame.a in LAME 3.99.5 allows remote attackers t ...
»CVE-2016-0726 (nagios)
The Fedora Nagios package uses "nagiosadmin" as the default password for the "nagiosadmin" administr ...
»CVE-2016-3690 (jboss_enterprise_application_platform)
The PooledInvokerServlet in JBoss EAP 4.x and 5.x allows remote attackers to execute arbitrary code ...
»CVE-2016-3696 (fedora, pulp)
The pulp-qpid-ssl-cfg script in Pulp before 2.8.5 allows local users to obtain the CA key.
»CVE-2016-3704 (fedora, pulp)
Pulp before 2.8.5 uses bash's $RANDOM in an unsafe way to generate passwords.
»CVE-2016-4902 (the_public_certification_service_for_individuals, the_public_certification_service_for_individuals_for_windows_7, the_public_certification_service_for_individuals_for_windows_vista)
Untrusted search path vulnerability in The Public Certification Service for Individuals "The JPKI us ...
»CVE-2016-5391 (fedora, libreswan)
libreswan before 3.18 allows remote attackers to cause a denial of service (NULL pointer dereference ...
»CVE-2016-5893
IBM Sterling B2B Integrator Standard Edition 5.2 allows web pages to be stored locally which can be ...
»CVE-2016-6655 (cf-mysql-release, cf-release)
An issue was discovered in Cloud Foundry Foundation Cloud Foundry release versions prior to v245 and ...
»CVE-2016-7469 (big-ip_access_policy_manager, big-ip_advanced_firewall_manager, big-ip_analytics, big-ip_application_acceleration_manager, big-ip_application_security_manager, big-ip_domain_name_system, big-ip_edge_gateway, big-ip_global_traffic_manager, big-ip_link_controller, big-ip_local_traffic_manager, big-ip_policy_enforcement_manager, big-ip_protocol_security_manager, big-ip_wan_optimization_manager, big-ip_webaccelerator, big-ip_websafe, enterprise_manager)
A stored cross-site scripting (XSS) vulnerability in the Configuration utility device name change pa ...


Date published: 2017-06-26T12:00:41Z
Details

»FTC Releases Alert on Tech-Support Scams
Original release date: June 23, 2017 The Federal Trade Commission (FTC) has released an alert ...
»IC3 Issues Internet Crime Report for 2016
Original release date: June 21, 2017 | Last revised: June 23, 2017 The Internet Crime Complai ...
»Drupal Releases Security Updates
Original release date: June 21, 2017 Drupal has released an advisory to address several vulne ...
»Cisco Releases Security Updates
Original release date: June 21, 2017 Cisco has released updates to address several vulnerabil ...
»Mozilla Releases Security Update
Original release date: June 15, 2017 Mozilla has released a security update to address multip ...
»Google Releases Security Updates for Chrome
Original release date: June 15, 2017 Google has released Chrome version 59.0.3071.104 for Win ...
»ISC Releases Security Updates for BIND
Original release date: June 15, 2017 | Last revised: June 16, 2017 The Internet Systems Conso ...
»Microsoft Releases June 2017 Security Updates
Original release date: June 13, 2017 Microsoft has released updates to address vulnerabilitie ...
»Mozilla Releases Security Updates
Original release date: June 13, 2017 Mozilla has released security updates to address multipl ...
»Adobe Releases Security Updates
Original release date: June 13, 2017 Adobe has released security updates to address vulnerabi ...


Date published: not known
Details

»VB2016 paper: Steam stealers: it's all fun and games until someone's account gets hijacked
Last year, Kaspersky Lab researcher Santiago Pontiroli and PwC's Ba ...
»Research paper shows it may be possible to distinguish malware traffic using TLS
Researchers at Cisco have published a paper describing how it may b ...
»Is CVE-2017-0199 the new CVE-2012-0158?
After five years of exploitation in a wide variety of attacks, CVE- ...
»Review: BSides London 2017
Virus Bulletin was a proud sponsor of BSides London 2017 - Martijn ...
»VB2017: one of the most international security conferences
It is well known that the problem of cybersecurity is a global one ...
»VB2016 paper: Diving into Pinkslipbot's latest campaign
Qakbot or Qbot, is a banking trojan that makes the news every once ...
»Book review: Spam: A Shadow History of the Internet
VB Editor Martijn Grooten reviews Finn Brunton's book 'Spam: A Shad ...
»Virus Bulletin to sponsor BSides London
Virus Bulletin is proud to be a Silver sponsor of BSides London nex ...
»VB2016 video: Last-minute paper: Malicious proxy auto-configs: an easy way to harvest banking credentials
In a VB2016 last-minute presentation, Jaromír Horejší and Jan Širme ...


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

» FTC Releases Alert on Tech-Support Scams
[23 Jun 2017 02:09pm]

» IC3 Issues Internet Crime Report for 2016
[21 Jun 2017 04:40pm]

» Drupal Releases Security Updates
[21 Jun 2017 03:30pm]

» Cisco Releases Security Updates
[21 Jun 2017 01:45pm]

» Mozilla Releases Security Update
[15 Jun 2017 07:29pm]

» Google Releases Security Updates for Chrome
[15 Jun 2017 07:27pm]

» ISC Releases Security Updates for BIND
[14 Jun 2017 11:26pm]

» Microsoft Releases June 2017 Security Updates
[13 Jun 2017 02:56pm]

» Mozilla Releases Security Updates
[13 Jun 2017 02:52pm]

» Adobe Releases Security Updates
[13 Jun 2017 02:51pm]

***
US-CERT Alerts

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

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

***
Computerworld Security

» 8 reasons why you should strengthen your iOS passcode today
[23 Jun 2017 07:57am]

» How IT should prep for Apple's public OS betas
[22 Jun 2017 10:22am]

» Not the disaster recovery we were expecting
[22 Jun 2017 04:00am]

» Q&A: AppDynamics CIO sees SaaS as the future of mobile management
[21 Jun 2017 04:11am]

» 4 ways blockchain is the new business collaboration tool
[20 Jun 2017 03:58pm]

» 2 handy yet hidden Chromebook security features
[20 Jun 2017 10:04am]

» The Microsoft security hole at the heart of Russian election hacking
[20 Jun 2017 09:29am]

» The price of security is eternal phone calls
[16 Jun 2017 04:00am]

» Rogue cell phone surveillance gives rise to mobile threat defense
[15 Jun 2017 04:01am]

» Microsoft resurrects Windows XP patches for second month straight
[13 Jun 2017 04:22pm]

» What Microsoft owes customers, and answers to other 'WannaCry' questions
[12 Jun 2017 01:57pm]

» For real Windows 10 privacy, you need the China Government Edition
[12 Jun 2017 12:19pm]

» IDG Contributor Network: Can Dell change endpoint security?
[12 Jun 2017 10:15am]

» 24% off Resqme Keychain Car Escape Tool 2-Pack - Deal Alert
[09 Jun 2017 07:42am]

» Blockchain integration turns ERP into a collaboration platform
[09 Jun 2017 04:06am]

***
Microsoft Security Advisories

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

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

***


***
Network World Security

» Even weak hackers can pull off a password reset MitM attack via account registration
[25 Jun 2017 09:42am]

» It's time to upgrade to TLS 1.3 already, says CDN engineer
[23 Jun 2017 05:03am]

» 6 things you need to know about virtual private networks
[22 Jun 2017 02:35pm]

» IDG Contributor Network: The fight to defend the Internet of Things
[22 Jun 2017 09:00am]

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

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

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

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

» It's time to upgrade to TLS 1.3 already, says CDN engineer
[23 Jun 2017 05:03am]

» 6 things you need to know about virtual private networks
[22 Jun 2017 02:35pm]

***


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}