Google Adsense CSRF hole
Thursday, 27 September 2007
It doesn’t seem like you’re a web security researcher these days unless you find a security hole in Google. So I had 5 minutes spare whilst drinking my brew to find a hole in Google Adsense. I’ve reported the problem to Google and I won’t release the specific details but if you’re creative you might be able to find the poc.
Google Adsense has no CSRF protection in certain areas, it is possible for a remote attacker to do all sorts of nasty stuff like change the address details of your adsense account. I’ve tested it on my own account and I successfully appended “Test” on my address.
The poc will automatically log you onto your account and browse the Adsense site “as you” before finally posting an update to your address.
In order to protect against this sort of stuff I have posted a couple of demos and articles to help with the process, check them out here:-