Latest Comments
"I too have been a labor voter for many years and will not be voting for them again. The ..."
by maxt | Feb 9, 2010 7:56 PM
 
"I’ve just had a user receive a rehashed version of this with an attached html file containing a ..."
by Owen Lutz | Feb 9, 2010 6:01 PM
 
"hi"
by manish kumar | Feb 9, 2010 4:27 PM
 
"Hey 'hey con-roy' ... from Google Australia's head of policy Iarla Flynn"We don't believe that ..."
by Keep it real | Feb 9, 2010 3:33 PM
 
"@penno Off-site storage is a good solution unless you have some decent backup software to ..."
by Charmgene | Feb 9, 2010 2:36 PM
Web

Browser cookie handling could widen web attack space

  • Email a Friend
  • Print Page
By Dan Kaplan
Nov 5, 2009 11:03 AM | 1 Comment
Tags: Browser | cookie | handling | web | attack | principal | production | domain | name | DNS
Attacker could gain free reign over principal production domain.

A web security researcher has revealed a major new threat to most websites due to the contradictory way that cookies and the domain name system (DNS) act.

Mike Bailey, a senior web security researcher at Foreground Security, released a paper this week demonstrating something most corporations didn't think could happen: a vulnerability on one of their website subdomains can be used to attack their main production domain, which often contains the data that criminals seek to steal.

Bailey claimed that most webmasters operate under a false assumption that because of the way DNS is hierarchically structured and segmented, an exploit on a subdomain (for instance, mail.google.com) cannot impact the principal domain (google.com). But the way that browsers handle cookies makes this possible because cookies are designed so that subdomains can set and customise them for the main domain.

All an attacker would need to do is locate a vulnerability on a subdomain, such as a cross-site scripting or cross-site request forgery flaw, which is quite possible given that most of those pages lack security, Bailey said.

"If I can find a vulnerability on any subdomain, I can leverage that vulnerability against the entire domain name space," he said. "It allows you to affect the way the browser treats [a user's] logged-in session. If I was Amazon, for example, I could put items in your shopping cart, change your password, change your session...because that's all stored in the cookie."

In a paper he published this week, Bailey offered proof-of-concept examples for Google, Expedia and Chase Manhattan Bank. What makes this attack particularly troubling is that in many cases, the companies set up these subdomains for third parties over which they have no security control.

"It's an arcane, difficult exploit to explain," Mike Murray, CISO at Foreground, told SCMagazineUS.com. "But what it comes down to is that every subdomain has as much power to exploit your users as your main domain does. That's a game-changer in a lot of ways for large organisations."

As a result, the two researchers suggest that corporations apply the same level of security to their subdomains as they do their parent domains.

"It's not just 'check the vulnerabilities on the important stuff,'" Murray said. "It's 'check the vulnerabilities on everything that is public facing'. It lowers the ante for the attacker. In the old days, we'd think that if the main site was secure, everything was fine. Now the attacker can go through the side doors."

For a permanent fix, the major browser providers must fundamentally change the way cookies operate, Bailey said.

He added that he is not aware of any in-the-wild exploits that have taken advantage of the problem, but said organisations shouldn't wait to react.

"I do know the attackers know about this issue because I've talked to some of them," he said.

See original article on scmagazineus.com

Secure Computing Magazine

 
Ads by Google
Thoughts on this article? Add a comment below.
Comments: 1
Mike Bailey needs to look at how flash cookies fit into this model next. Ooolah! LSOs that work across multiple applications including browsers and are very persistent without Better Privacy plugged into Firefox and set to delete not only the cookies but folders on browser start-up and shut-down.
SC Magazine - comments icon Posted by hhhobbitNov 8, 2009 8:30 PM
Report this comment as offensive:

   * Indicates information we require to process your submission.

Name: *
Email: *
Reason for offense: *
Your report will not be displayed.  
Name:
*
 
Email:
(will not be displayed)
*
 
Comment:
(HTML not permitted)
*
 
Validation
*

Enter the code you see below:

 

 
 
 
 
 
 
Vulnerabilities & Exploits Whitepapers