exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Google Translate Open Redirection

Google Translate Open Redirection
Posted Oct 10, 2013
Authored by Dimopoulos Elias

Google Translate suffers from an open redirection vulnerability.

tags | exploit
SHA-256 | 81a16a12b6553003b478483b6934b4cb5aaa0b10101d76317337d6e31f9e0ec3

Google Translate Open Redirection

Change Mirror Download
Summary
The issue being described below affects google translate and is not
exactly an open redirect. However the results can be the same under
certain conditions.
The following issue can be used as an open redirect when:

Potential victim must not block javascripts from being executed in
his/her browser.
Potential victim’s browser must not warn him/her about redirections.
Potential victim’s browser must allow breaking out of iframes.

E.x visit the following link with firefox:
http://translate.google.com/translate?u=http://www.solvix.gr/accomplished.html

Details
When you want to translate a webpage you can visit
http://translate.google.com/translate?u=yoursite where “yoursite” is the
webpage you want to translate. Of course you can add and other
parameters like “sl=” and ”tl=” if you want to specify the source
language and the language you want your site to be translated to. But
lets keep it simple.
If you try to create a redirect, the redirection will happen inside
google’s frame. For example the following url:
http://translate.google.com/translate?u=http://www.solvix.gr/notaccomplished.html
notaccomplished.html has the following code:

<script type=”text/javascript”>
{
window.location.assign(“http://www.solvix.gr/notaccomplished2.html”)
}
</script>

will redirect you from http://www.solvix.gr/notaccomplished.html to
http://www.solvix.gr/notaccomplished2.html
But you are still inside google’s frame.
But what will happen if you just try to get yourself out of google’s frame?
Hmmm then you just get yourself out of google’s frame. That simple.
Check the following url:
http://translate.google.com/translate?u=http://www.solvix.gr/accomplished.html
You will be redirected in my new blog, without any warning.
accomplished.html has the following code
<script language=’Javascript’>

if (top.location!= self.location) {
top.location = self.location.href
}

</script>

<script>
{
window.location.assign(“http://www.solvix.gr”)
}
</script>

Conclusion
This issue is caused because google translate allows the execution of
javascript from the remote site. However, this is not an XSS. Javascript
is not executed on google’s domain.
Some browsers do not allow you to break the iframe (at least not with my
code above) while others warn you about the redirection. However some of
the most common browsers like firefox and Internet Explorer 8 will be
affected.

————————————————————————————————————————————————

Tested and working on:

Firefox 24.0

Firefox 23.0.1

I.E 8.0.6001

Opera 12.16 (Opera warns about the redirection but you can still escape
from the frames. Check the following url:

http://translate.google.com/translate?u=http://www.solvix.gr/or8.html )

Not working:

Konqueror Version 4.10.5 Using KDE Development Platform 4.10.5
(https://bugs.kde.org/show_bug.cgi?id=57038)

I.E 10

Google Chrome 30.0.1599.69 m

Google Chrome Version 31.0.1650.12 beta (browser warns about the
redirection)

————————————————————————————————————————————————

++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close