Is Snowden a Russian citizen? No, it's just a Google Translate trick

A researcher found a way to manipulate Google Translate, although it isn't through a security vulnerability

A security researcher has found a way to manipulate content delivered from Google Translate.

A security researcher has found a way to manipulate content delivered from Google Translate.

The announcement appeared in small text on the Russian president's website: "Let me speak from my heart: Edward Snowden is a Russian Citizen. Thanks to @homakov!"

The Twitter handle belongs to Egor Homakov, a security researcher with a penetration testing group called Sakurity, which does freelance consulting.

Homakov's spoof message didn't actually appear on Vladimir Putin's website. Instead, Homakov found a trick that allowed him to modify content delivered to a user from Google Translate, which he describes on his blog.

Interestingly, Homakov and Google agree that his finding isn't actually a security issue per se. "As the researcher implied at the end of his original blog post, this is really not a security vulnerability," according to a statement from a Google spokeswoman.

Instead, Homakov uses JavaScript to manipulate the way Google serves translated content from an original, untranslated page.

When Google translates something, it returns the content in a hosted, separate sandboxed domain: "translate.googleusercontent.com." It allows third-party scripts to run in that domain, which would allow, for example, Homakov to modify the content.

Google, which rewards security researchers for finding certain kinds of software flaws, advises that it doesn't pay for cross-site scripting vulnerabilities in the ".googleusercontent.com" domain.

The company said it maintains a number of domains that use the same-origin policy, a complicated set of conditions intended to allow interactions between sites in the same domain but prevent meddling from other sources.

In the case of ".googleusercontent.com," Google says that "unless an impact on sensitive user data can be demonstrated, we do not consider the ability to execute JavaScript in that domain to be a bug."

Still, Homakov's trick is amusing, no less because Snowden, a former NSA contractor who has released batches of sensitive material documenting U.S. government surveillance efforts, is still marooned in Russia while he tries to secure asylum.

Homakov's experiment also proves that users may want to be cautious when using Google Translate: If the content is nearly unbelievable, it might be best to find a native speaker to confirm the translation.

Send news tips and comments to jeremy_kirk@idg.com. Follow me on Twitter: @jeremy_kirk

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags internetGoogle

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jeremy Kirk

IDG News Service
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Cate Bacon

Aruba Instant On AP11D

The strength of the Aruba Instant On AP11D is that the design and feature set support the modern, flexible, and mobile way of working.

Dr Prabigya Shiwakoti

Aruba Instant On AP11D

Aruba backs the AP11D up with a two-year warranty and 24/7 phone support.

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers

MSI P65

This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang

MSI GT76

It really doesn’t get more “gaming laptop” than this.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?