Clickjacking in Google Docs and Voice typing feature.

Raushan Raj
Oct 5, 2018 · 1 min read

What is Clickjacking?

Unknowingly performing some sensitive actions on a webpage embedded(mostly in iframes) in any webpage with different or same domain/subdomain.

Google Docs page response doesn’t have x-frame-options headers i.e; it can be embedded into any other webpage.

There is a feature called voice typing in google docs where the user can speak and type in google docs.

Tools → VoiceTyping → Click to speak

I have created a public google doc and embed it in an iframe into my webpage with allow microphone.

<iframe src=”" allow=”microphone *”></iframe>

An attacker can then share the webpage with the victim and can record private conversations of the victim (with the help of few clicks).

Bounty: 2337$

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store