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: French German Italian Spanish Portuguese GTM_LAN_DUTCH Russian Chinese Arabic Korean English
Google Ads




Curl error: 7, couldn't connect to host
Headlines

»NIST Posts Initial Analysis of RFI Comments on Cybersecurity Framework for Critical Infrastructure
»NIST Issues Major Revision of Core Computer Security Guide: SP 800-53
»Second Cybersecurity Infrastructure Framework Workshop Gathers May 29-31, 2013
»NIST Announces Plan to Sponsor First Cybersecurity FFRDC
»Eleven Companies Join as Partners in National Cybersecurity Center of Excellence
»Improving Critical Infrastructure Cybersecurity Workshop Video Available On Demand
»May Conference to Discuss Safeguarding Health Information Through HIPAA Security
»NIST to Host Symposium on Ontology Evaluation May 2-3
»Industry Partners Join the National Cybersecurity Center of Excellence
»Health IT Mobile Device Use Case Meeting
»NCCOE NCEP Signing Ceremony
»NFI Publishes White Paper on Trends, Challenges and Strategy in Forensic Science
»NIST Guides Seek Interoperability for Automated Fingerprint ID Systems
»National Cybersecurity Center of Excellence
»NIST Panel Expands Recommendations for Use of Electronic Health Records in Pediatrics


Date published: not known
Details

»Google Releases Google Chrome 27.0.1453.93
Original release date: May 22, 2013 Google has released Google Chrome 27.0.1453.93 for Window ...
»Adobe Releases Security Updates for Adobe Flash Player
Original release date: May 16, 2013 Adobe has released security updates for Adobe Flash Playe ...
»Security Updates Available for Adobe Reader and Acrobat
Original release date: May 16, 2013 Adobe has released security updates for Adobe Reader and ...
»Mozilla Releases Multiple Updates
Original release date: May 16, 2013 The Mozilla Foundation has released updates for the follo ...
»Microsoft Releases May 2013 Security Bulletin
Original release date: May 09, 2013 | Last revised: May 14, 2013 Microsoft has released updat ...
»Adobe Releases Security Update for ColdFusion
Original release date: May 09, 2013 | Last revised: May 14, 2013 Adobe has released a securit ...
»Microsoft Releases Security Advisory for Internet Explorer
Original release date: May 07, 2013 Microsoft is investigating public reports of a remote cod ...
»Cisco Releases Security Advisories
Original release date: April 25, 2013 Cisco has released three security advisories to address ...
»Apple Releases Security Updates for Safari
Original release date: April 18, 2013 Apple has released security updates for Safari 6.0.4 We ...
»Scams Exploiting Boston Marathon Explosion
Original release date: April 17, 2013 | Last revised: April 18, 2013 Malicious actors are exp ...


Date published: not known
Details

»U-243: libvirt virTypedParameterArrayClear() Memory Access Error Lets Remote Users Deny Service
libvirt virTypedParameterArrayClear() Memory Access Error Lets Remote Users Deny Service
»U-242: Linux Kernel Netlink SCM_CREDENTIALS Processing Flaw Lets Local Users Gain Elevated Privileges
Linux Kernel Netlink SCM_CREDENTIALS Processing Flaw Lets Local Users Gain Elevated Privileges
»U-241: Adobe Flash Player Bugs Let Remote Users Execute Arbitrary Code and Obtain Information
Adobe Flash Player Bugs Let Remote Users Execute Arbitrary Code and Obtain Information
»U-240: Apple Remote Desktop Encryption Failure Lets Remote Users Obtain Potentially Sensitive Information
Apple Remote Desktop Encryption Failure Lets Remote Users Obtain Potentially Sensitive Information
»U-239: Apple iPhone SMS Processing Flaw Lets Remote Users Spoof SMS Source Addresses
Apple iPhone SMS Processing Flaw Lets Remote Users Spoof SMS Source Addresses
»U-238: HP Service Manager Input Validation Flaw Permits Cross-Site Scripting Attacks

HP Service Manager Input Validation Flaw Permits Cross-Site Scripting Attacks
»U-237: Mozilla Firefox CVE-2012-1950 Address Bar URI Spoofing Vulnerability

Mozilla Firefox CVE-2012-1950 Address Bar URI Spoofing Vulnerability
»U-236: Microsoft JScript and VBScript Engine Integer Overflow Lets Remote Users Execute Arbitrary Code

Microsoft JScript and VBScript Engine Integer Overflow Lets Remote Users Execute Arbitrary Code
»U-235: Microsoft Security Bulletin Advance Notification for August 2012
Microsoft Security Bulletin Advance Notification for August 2012
»U-234: Oracle MySQL User Login Security Bypass Vulnerability
Oracle MySQL User Login Security Bypass Vulnerability
»U-233: Oracle Database INDEXTYPE CTXSYS.CONTEXT Bug Lets Remote Authenticated Users Gain Elevated Privileges
Oracle Database INDEXTYPE CTXSYS.CONTEXT Bug Lets Remote Authenticated Users Gain Elevated Privileg ...
»U-232: Xen p2m_teardown() Bug Lets Local Guest OS Users Deny Service on the Host OS
Xen p2m_teardown() Bug Lets Local Guest OS Users Deny Service on the Host OS
»U-231: Cisco ASA SIP and WebVPN Bugs Let Remote Users Deny Service
Cisco ASA SIP and WebVPN Bugs Let Remote Users Deny Service
»U-230: Sudo on Red Hat Enterprise Linux %postun Symlink Flaw Lets Local Users Gain Elevated Privileges
Sudo on Red Hat Enterprise Linux %postun Symlink Flaw Lets Local Users Gain Elevated Privileges
»U-229: HP Network Node Manager i Input Validation Flaw Permits Cross-Site Scripting Attacks
HP Network Node Manager i Input Validation Flaw Permits Cross-Site Scripting Attacks


Date published: not known
Details

»Dutch citizens keep extra cash at hand following DDoS attacks
Month-long attacks had significant impact.
»India believed to be source of sophisticated surveillance campaigns
In-depth investigations find widespread worldwide snooping, Pakistan primary target.
»German anti-botnet advisory recommends the use of ad blockers for security
'If websites want to include ads, they must make sure they are secure.'
»Commoditization increasingly seen in mobile malware
Number of malicious samples and families increase, as Android remains most popular mobile platform.
»Microsoft 'found to make requests' to URLs shared via Skype
HEAD requests likely used to determine landing page.
»Program turns anti-analysis tools against the malware
Users cautioned to be wary of a false sense of security.
»Twitter, Facebook accounts used in watering hole campaign
USAID sympathizers targeted with links from 'like-minded people'.
»Microsoft offers fix-it for IE 8 zero-day
CVE-2013-1347 used in watering hole attacks.
»Vulnerabilities could trigger payload in emails upon receiving or opening
Flaws in IBM Notes and Exim/Dovecot easy to mitigate.


Date published: not known
Details

»Commtouch Security Number Of The Month May 2013: 50% Financial Loss For Victims Of Pump And Dump Spam
Spam attempts to lure email recipients into buying cheap stock with a low trading volume
»TripWire Introduces Complete NERC Solution Suite
Solution automates and streamlines NERC CIP Compliance
»Much Ado About PushDo
We don't need a stretcher -- we need a mop
»ControllingThe Risks Of Vulnerable Application Libraries
Libraries are easier to use than ever, but they're piling on more risk to the development process
»Bit9 Introduces The Bit9 Connector For Palo Alto Networks, Enabling Integrated Real-time Endpoint And Network Security Solution For APTs
Solution combines network security with real-time, continuous endpoint and server monitoring and rec ...
»Bit9 Introduces The Bit9 Connector For FireEye
Solution combines network security with real-time, continuous endpoint and server monitoring and rec ...
»Blue Coat To Acquire Solera Networks
Solera DeepSee platform will add security analytics and forensic capabilities to the Blue Coat produ ...
»VMware Announces vCloud Hybrid Service
Infrastructure as a Service cloud operated by VMware and built on foundation of VMware vSphere
»Rise In Sophisticated, Targeted Cyber Attacks Heightens Demand for Intrusion Prevention Systems Globally, Finds Frost & Sullivan
Increase in APTs primarily compels customers to upgrade to IPS


Date published: not known
Details
Main Menu
· Home

Current Security News
 
SANS Internet Storm Center, InfoCON: green

» Infocon: green

» Wireshark 1.8.7 and 1.6.15 Released http://www.wireshark.org/news/20130517.html, (Wed, May 22nd)
[22 May 2013 02:01pm]

» Privilege escalation, why should I care?, (Wed, May 22nd)
[22 May 2013 10:10am]

» ISC StormCast for Wednesday, May 22nd 2013 http://isc.sans.edu/podcastdetail.html?id=3323, (Wed, May 22nd)
[21 May 2013 07:19pm]

» Moore, Oklahoma tornado charitable organization scams, malware, and phishing, (Tue, May 21st)
[21 May 2013 02:33pm]

» Chrome 27 stable released http://googlechromereleases.blogspot.ca/ some security fixes, (Tue, May 21st)
[21 May 2013 11:14am]

» ISC StormCast for Tuesday, May 21st 2013 http://isc.sans.edu/podcastdetail.html?id=3320, (Tue, May 21st)
[20 May 2013 08:00pm]

» Safe - Tools, Tactics and Techniques, (Mon, May 20th)
[20 May 2013 05:14pm]

» Port 51616 - Got Packets?, (Sun, May 19th)
[20 May 2013 04:43pm]

» Ubuntu Package available to submit firewall logs to DShield, (Mon, May 20th)
[20 May 2013 02:16pm]

» Sysinternals Updates for Accesschk, Procdump, RAMMap and Strings http://blogs.technet.com/b/sysinternals/archive/2013/05/17/updates-accesschk-v5-11-procdump-v6-0-rammap-v1-22-strings-v2-51.aspx, (Mon, May 20th)
[20 May 2013 10:36am]

***
CNET News.com

» SAP touts service that sells customer data from phone firms
[22 May 2013 12:57am]

» Power utilities claim 'daily' and 'constant' cyberattacks, says report
[21 May 2013 09:14pm]

» Guantanamo Wi-Fi shuttered after Anonymous hacking threat
[20 May 2013 08:45pm]

» Google breach may have led to sensitive data leaks
[20 May 2013 06:52pm]

» Future Firefox takes tougher stance on mixed content
[17 May 2013 01:52pm]

» Google security: You (still) are the weakest link
[16 May 2013 08:00pm]

» Google Glass spurs privacy questions from Congress
[16 May 2013 03:53pm]

» New Mac spyware found in the Oslo Freedom Forum
[16 May 2013 09:34am]

» LulzSec case in U.K. brings sentences for 4 men
[16 May 2013 08:33am]

» Apple, Samsung, others urged to help thwart mobile phone thefts
[13 May 2013 09:54am]

» Bloomberg reporters had access to certain client data
[13 May 2013 07:39am]

» Bloomberg: Yes, reporters had access to client data
[13 May 2013 07:39am]

» Microsoft warns of new Trojan hijacking Facebook accounts
[12 May 2013 05:30pm]

» U.S. charges 8 in $45M global cybercrime scheme
[09 May 2013 05:43pm]

» Senators propose law to go after foreign cybercriminals
[07 May 2013 07:09pm]

***
Computerworld Security News

» Growing mobile malware threat swirls (mostly) around Android
[22 May 2013 10:01am]

» Chinese hackers said to have accessed law enforcement targets
[21 May 2013 04:53pm]

» The true root causes of software security failures
[21 May 2013 02:35pm]

» Chinese hackers master art of lying low
[20 May 2013 04:00am]

» Security Manager's Journal: NAC deployment means better access control at last
[20 May 2013 04:00am]

» Texas drone bill sparks a battle
[17 May 2013 02:11pm]

» More Security News

***


***


More IT Security
News Feeds
More Sponsors

Advertise on this site
NIST - Books You Need

NIST Bookstore
RSS Feeds
Our news can be syndicated by using these rss feeds.
rss1.0
rss2.0
rdf
Symantec News

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}