Whatsapp Clickjacking vulnerability
The WhatsApp web client did not set an X-Frame-Options header or use frame-busting, so an attacker could embed it in an invisible frame and trick a logged-in user into clicking controls. This could let the attacker send messages or perform actions such as creating groups or making calls on the victim's behalf.
Published on seekurity.com
Hi Folks, I know it’s a little bit lame to mention 2 clickjacking vulnerabilities in row but that what bug hunters always do exposing the largest companies security failures, (Previously was Telegram) this time is the gigantic well-known 19 billion dollar messenger WhatsApp.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The WhatsApp web client did not send an X-Frame-Options header and did not use frame-busting techniques, so it could be embedded in an iframe.
Impact
An attacker could send messages as the logged-in user and deceive them into creating unwanted chat groups, making calls, adding contacts or blocking contacts.
What the attacker needed
Victim is logged in to WhatsApp web; victim visits attacker's page
The fix
WhatsApp fixed it by applying an X-Frame-Options header with a value of Deny.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Clickjacking is when a malicious page puts another website in a transparent frame over its own buttons. The user thinks they are clicking the attacker's page, but the click actually lands on the hidden site. Here, because WhatsApp's web page could be framed, a logged-in user could be tricked into sending messages or changing settings without knowing.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.