Google Script Insertion Exploit Oct 19 2004 04:38PM
Jim Ley (jim jibbering com)

Website: www.google.com

Description: Google's custom websearch does not prevent javascript from

being inserted into the url of the image, allowing malicious users to modify

the content of the google page allowing in phishing attacks, or silently

steal search terms/results/clicks or modify actual searches to always

contain controlled results. With Googles trusted status, the risk is almost

certainly high.

The exploit is easiest to produce through a custom google search form which

are commonly seen, used and understood on the web, but you can also do it

through a simple link, this one works in IE:


(This is an example of using the exploit for phishing, it changes the google

search page to a page informing the user, that google is now a chargeable

service and they should enter their credit card details to continue, these

are then logged on my site and the user is returned to a working google -

currently there's an confirm box warning the user before the form is


This example only works in IE, but other UA's also execute the javascript -

it being a Google vulnerability, not an IE one.

The exploit can be simply demonstrated with, the simpler url:


The exploit has been public for over 2 years, and google have been informed

on multiple occasions.

More information, and another example exploit at


Jim Ley.


[ reply ]


Privacy Statement
Copyright 2010, SecurityFocus