Skip to content
UI spoofing Write-up Beginner

Microsoft Yammer clickjacking exploiting HTML5 security features

Yammer relied on JavaScript frame-busting rather than the X-Frame-Options header to stop its pages being framed. By loading a sensitive page inside a sandboxed iframe, the frame-busting redirect could be blocked, letting an attacker overlay the page and trick a logged-in user into changing account settings or sending messages on their behalf.

Mohamed A. Baset Follow

Published on seekurity.com

Modern Web Applications nowadays are relaying on a lot of technologies where typical web applications vulnerabilities are hard to find (eg. Clickjacking is an ABC security bug) but bug hunters are always the best!

Mohamed A. Baset, on seekurity.com

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

Likely the site relied only on client-side frame-busting JavaScript instead of a server-side X-Frame-Options header, so a sandboxed iframe could suppress the breakout script.

Impact

A logged-in victim could be tricked into changing their password or recovery email, sending messages, contact requests or group invites on their behalf.

What the attacker needed

Victim is logged in to Yammer; victim visits attacker page; victim interacts with the page

The fix

Microsoft fixed it by sending the X-Frame-Options header with the value SAMEORIGIN from the server.

How it was found

  1. Load a sensitive Yammer page such as Settings inside an iframe.
  2. Apply the sandbox attribute so the frame-busting script cannot navigate the top window.
  3. Overlay the framed page so the victim's clicks hit Yammer controls.

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 hides a real site in an invisible frame and lines up buttons so your clicks land on the real site without you noticing. Yammer tried to stop this with a script that breaks out of frames, but a browser feature called the sandbox attribute can silence that script. The attacker could then get a logged-in user to click things like a password change or a message send.

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.

More by Mohamed A. Baset

View all

20 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

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.