
Some vulnerabilities have been identified recently in the pages of Google services and FaceBook. Open Redirect type are flaws that can perform a redirect without the need to manipulate strings or perform particular actions.
Open, in fact, indicates that the site suffers from this flaw does not exercise control on the input and executes the code so it is always planned. The advantage of being able to exploit this vulnerability as it is to be able to use url of domains that people does not question the origin (just Google) to make them click and redirettarli to phishing sites or similar.
Imagine the average user who receives a 'clone email from Google that shows him to click a url domain "google.com" and enter your data due to some plausible cause. Many would think that url hides a threat?
In this case the url affected by this vulnerability is belonging to the Service Google Accounts and is as follows:
https://accounts.google.com/o/oauth2/auth?redirect_uri=http://www.sitomalevolo.com
At present, the leak has been resolved and trying to redirect capn3m0.org you get an error "Bad Request":
https://accounts.google.com/o/oauth2/auth?redirect_uri=www.capn3m0.org
This vulnerability was discovered by Ucha Gobejishvili aka longrifle0x which has only last week a series of XSS on sites of note: Google, Apple, Sony Ericcsson.
Always longrifle0x identified a XSS vulnerability in Google Apps for Business page. To test the vulnerability is necessary to go to the url:
https://www.google.com/a/cpanel/premier/new3?hl=en
and enter into the "Domain" this code:
<IFRAME SRC="javascript:alert('XSS');"> </ IFRAME>
Here his "curriculum"! ![]()
The second vulnerability, discovered by ZeRtOx group Devitel, FaceBook concerns and is always of the Open Redirect. The code is as follows:
and currently is still present as evidenced by the link that redirected to capn3m0.org:
http://www.facebook.com/l.php?h=5AQH8ROsPAQEOTSTw7sgoW1LhviRUBr6iFCcj4C8YmUcC8A&u=www.capn3m0.org
Finally I report a third vulnerability Always Open Redirect Services for Google: Ad Services. Adsense banners are associated with a url made as follows:
http://www.googleadservices.com/pagead/aclk?
sa = L
& Num = 1
Cid = & 5GhoQFqmzEdFESSc_Vjf5Gxi
Mr. & = AOD64_2aoaqhlTxnKAENG806XtTTXpAjFw
& Client = ca-pub-XXXXXXXXXXXXXXXX
& = Adurl http://www.sitomalevolo.com
The parameters that receives inputs must all be correct except that instead of the field adurl is enhanced with links to where we want redirected.
As you can imagine finding a link with all the correct data is very simple. Just browse through the sites that show Google AdSense banner and copied the link.
This last flaw I found inspiration from the previous two while writing this article. If you know who spoke before me segnalatemelo that will placed to the author.






![osCommerceLogo [EXPLOIT] osCommerce v3.0a5 Multiple Vulnerabilities](http://www.capn3m0.org/wp-content/uploads/2011/05/osCommerceLogo-150x137.jpg)
![zencart_logo [EXPLOIT] ZenCart 1.3.9h Multiple Vulnerabilities](http://www.capn3m0.org/wp-content/uploads/2011/05/zencart_logo-150x88.jpg)
![oscommerce_logo [EXPLOIT] OsCommerce 2.3.1 Remote File Upload Vulnerability](http://www.capn3m0.org/wp-content/uploads/2011/05/oscommerce_logo-150x114.gif)

January 26, 2012
0 Comments