Risk
5/25/2010
05:40 PM
Connect Directly
Google+
LinkedIn
Twitter
RSS
E-Mail
50%
50%

'Tabnapping' Attack Simplifies Phishing

With a bit of malicious JavaScript code, Web browser tabs can be altered when hidden from view.

Mozilla's creative lead for Firefox, Aza Raskin, has developed novel phishing attack that Firefox engineers will need address.

Raskin calls the attack "tabnapping" because it can replace the content of a Web page that's open in an inactive browser tab -- and thus isn't visible at the moment it's being changed -- with a page designed to capture personal information.




Image Gallery: Top 12 Firefox Add-Ons
(click for larger image and for full photo gallery)
While the user of a Web browser is looking at an active tab, malicious JavaScript code on one of the hidden, inactive tabs that happens to be open can replace the loaded page with new content, such as a fake Gmail login page.

As Raskin demonstrates on his Web site, the code also replaces the favicon -- the tiny graphic element that shows up on tabs and to the left of the browser address bar -- of the inactive tab page with the Gmail favicon.

The result is a phishing page that is very easy to mistake for a legitimate Gmail login page.

"As the user scans their many open tabs, the favicon and title act as a strong visual cue -- memory is malleable and moldable and the user will most likely simply think they left a Gmail tab open," explains Raskin in a blog post. "When they click back to the fake Gmail tab, they’ll see the standard Gmail login page, assume they’ve been logged out, and provide their credentials to log in. The attack preys on the perceived immutability of tabs."

The attack works in current versions of Firefox, but not current versions of Chrome or Safari. It's certainly avoidable, if the user is alert. But such attacks rely on the fact that users are often not wary enough.

Raskin says there are many ways the attack can be made more effective. He adds that the attack shows the need for improvements on traditional password-based authentication, such as the Firefox Account Manager that Mozilla is developing.

Update, 5/26/10: Aza Raskin wrote to say that Chrome wasn't initially vulnerable because of a bug. Now that the bug is fixed, it is vulnerable, he claims.

Jerry Bryant, group manager of response communications at Microsoft, also offered this lengthy statement:

Safety online is about defense-in-depth. Internet Explorer 8 includes world-class technologies such as the SmartScreen Filter and Domain Highlighting. These technologies, along with the Lock icon, help block the malicious pages required for this kind of attack, and highlight that such pages are not ones the user should trust.

Before entering personal information on any Web site, users should always check that the Lock icon is present in the address bar and that the Web address of the page is one they’d expect given the service they think they are using. Domain Name helps users do this by highlighting in black the actual domain of the page they’re visiting.

Behind the scenes, the SmartScreen Filter also plays a role in combating this sort of hijacking attempt. SmartScreen successfully blocks millions of views of malicious pages each month and would help protect the user in this situation. Some stories indicated that Internet Explorer on XP was susceptible to the available Proof of Concept code released on a Web page by Mozilla. Those stories are not complete. Since the site/code is not malicious, it did not trigger the SmartScreen filter which would protect these users against this PoC.

When understanding the real world risk of situations like this, it is really important to consider the defense-in-depth protections offered by Internet Explorer.

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading Tech Digest, Dec. 19, 2014
Software-defined networking can be a net plus for security. The key: Work with the network team to implement gradually, test as you go, and take the opportunity to overhaul your security strategy.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-2208
Published: 2014-12-28
CRLF injection vulnerability in the LightProcess protocol implementation in hphp/util/light-process.cpp in Facebook HipHop Virtual Machine (HHVM) before 2.4.2 allows remote attackers to execute arbitrary commands by entering a \n (newline) character before the end of a string.

CVE-2014-2209
Published: 2014-12-28
Facebook HipHop Virtual Machine (HHVM) before 3.1.0 does not drop supplemental group memberships within hphp/util/capability.cpp and hphp/util/light-process.cpp, which allows remote attackers to bypass intended access restrictions by leveraging group permissions for a file or directory.

CVE-2014-5386
Published: 2014-12-28
The mcrypt_create_iv function in hphp/runtime/ext/mcrypt/ext_mcrypt.cpp in Facebook HipHop Virtual Machine (HHVM) before 3.3.0 does not seed the random number generator, which makes it easier for remote attackers to defeat cryptographic protection mechanisms by leveraging the use of a single initial...

CVE-2014-6123
Published: 2014-12-28
IBM Rational AppScan Source 8.0 through 8.0.0.2 and 8.5 through 8.5.0.1 and Security AppScan Source 8.6 through 8.6.0.2, 8.7 through 8.7.0.1, 8.8, 9.0 through 9.0.0.1, and 9.0.1 allow local users to obtain sensitive credential information by reading installation logs.

CVE-2014-6160
Published: 2014-12-28
IBM WebSphere Service Registry and Repository (WSRR) 8.5 before 8.5.0.1, when Chrome and WebSEAL are used, does not properly process ServiceRegistryDashboard logout actions, which allows remote attackers to bypass intended access restrictions by leveraging an unattended workstation.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.