
'Stop thief!'
By Tom Espiner
Published: 23 November 2006 09:25 GMT
Both the Mozilla Foundation's Firefox 2 and Microsoft's Internet Explorer 7 web browsers are vulnerable to a flaw that could allow attackers to steal passwords.
Dubbed a Reverse Cross Site Request vulnerability (RCSR) by its discoverer Robert Chapin, the flaw allows hackers to compromise users' passwords and usernames by presenting them with a fake login form. Firefox Password Manager will automatically enter any saved passwords and usernames into the form.
The data is then automatically sent to an attacker's computer without the user's knowledge, according to the Chapin Information Services (CIS) site.
Got two seconds?
Make your voice heard - take our latest poll.
An exploit for this flaw has already been seen on social networking site MySpace, and could affect anyone using a blog or forum that allows user-generated HTML code to be added, according to Chapin.
He said: "Users of both Firefox and Internet Explorer need to be aware that their information can be stolen in this way when visiting blog and forum websites at trusted addresses."
According to security company Netcraft, which discovered the exploit being used on MySpace, a fraudulent login page was hosted on the company's own servers.
As the page did not exhibit any signs of external content, such as cross-site scripting (XSS) or open redirects, it is "convincing, and even security-conscious users are at risk of becoming victims", said CIS.
The attack was launched from a profile page, and used specially crafted HTML to hide the genuine MySpace content from the page and instead display its own login form.
According to Chapin, an RCSR attack is much more likely to succeed than an XSS attack because neither Internet Explorer nor Firefox are designed to check the destination of form data before the user submits them. The browser doesn't flag up an alarm because the exploit is conducted at the trusted website.
Two weeks ago CIS reported to Mozilla that the Firefox web browser will automatically fill saved usernames and passwords into RCSR forms. Attacks are more likely to succeed in Firefox, because Internet Explorer will not automatically fill in saved usernames and passwords unless the RCSR form appears on the same page as a legitimate login form.
No fix had been issued at the time of writing by Mozilla, although a bug report has been filed. It is reportedly working on a fix for Firefox 2 but it's not clear whether earlier versions are also affected. Security company Secunia has advised users to disable the "remember passwords for sites" option in Firefox preferences.
To take advantage of the flaw, a malicious hacker would have to create a fake login form on a trusted website. CIS has recommended that all webmasters review their server code for the possibility of XSS and RCSR injections, especially operators of encrypted websites.
The CIS site said: "These attacks could be highly effective against firewalled local network servers and HTTPS addresses that are not otherwise accessible because the attacker does not need direct access."
Tom Espiner writes for ZDNet UK
We expect team members to keep abreast of developments in the field and exploit new technologies as and when required. You will have an excellent ...
Your responsibilities will include: - Working with IBM Strategy Consultants and Application Architects and our clients to explore optimal platforms ...
The successful candidate must be able to demonstrate - Strong experience of testing websites and website usability - Website usability - Test analyst ...
CIO50 2008
The silicon.com CIO50 2008 profiles the most influential and innovative tech chiefs in the UK across all industries and organisation size, from the biggest FTSE100 companies to high growth dot-com start ups and the public sector. The list was voted on by the UK CIO community and a panel of experts. Find out more in our latest special report.
Stories from the web...
Copyright ©1995-2008 CNET Networks, Inc. All rights reserved. Top of page
Peter Cochrane Peter Cochrane's Blog: Is convergence a fiction? Or could it finally be happening…
Clive Longbottom Quocirca's Straight Talking: A game of two halves Microsoft Virtualisation scores while its SOA bores...