Skip to content
UI spoofing Disclosed report Beginner

Clickjacking Periscope.tv on Chrome

The site sent an X-Frame-Options header with an ALLOW-FROM value that Chrome ignores, so the pages could be framed. An attacker could use clickjacking to make a logged-in user perform actions such as following other users.

mishre Follow

Originally disclosed on HackerOne

Bounty$560 Medium View original
  • Triaged in 5 days
  • Fixed in 22 days
  • Paid in 12 days
  • Disclosed after 22 days

Hi,

The X-FRAME-OPTIONS header returned from https://www.periscope.tv is:

X-Frame-Options: ALLOW-FROM https://twitter.com/

But Chrome doesn't support this value for the header: https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet. Because of that, no value for X-FRAME-OPTIONS is set and all of the periscope.tv pages are vulnerable to Clickjacking. You can see for example my attached poc (Make sure you test it on chrome) that I am framing my own user on periscope. I can use regular Clickjacking tricks to make the user follow other users and do practically any action on the site.

The original report as published on HackerOne, by mishre. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is the Periscope web application at https://www.periscope.tv. The researcher looked at the response headers the site returns and found that the clickjacking protection was configured with a value that the browser does not honour.

The header returned from the site was:

HTTP
X-Frame-Options: ALLOW-FROM https://twitter.com/

The researcher's point is that Chrome does not support the ALLOW-FROM value for this header, citing the OWASP Clickjacking Defence Cheat Sheet. Because Chrome ignores that value, the researcher states that no effective X-Frame-Options value is applied, and that all of the periscope.tv pages are therefore vulnerable to clickjacking.

To demonstrate it, the researcher attached a proof of concept and asked that it be tested on Chrome. In that proof of concept the researcher frames their own user on Periscope. The report says that regular clickjacking tricks can then be used to make the user follow other users and to perform practically any action on the site.

The report records a medium severity, a bounty of 560.00 USD, and disclosure on 2017-02-06. It does not describe a specific fix.

Root cause

The header was set to a value that Chrome does not honour. ALLOW-FROM was a documented value of the header that Chrome does not support. A site that sets ALLOW-FROM and relies on it for framing protection is left with no protection in Chrome, because the browser discards the unrecognised value rather than falling back to a safe default. The report frames the issue exactly this way: the header is present, but its value has no effect in the browser being used.

Impact

In the researcher's proof of concept, the researcher's own user on Periscope is framed inside another page. The report says that regular clickjacking tricks could be used to make the user follow other users and to perform practically any action on the site. The practical limit is the usual one for clickjacking: the attacker cannot read the framed page or steal data directly, they can only induce the victim to perform actions in their own authenticated session. The report does not enumerate which actions beyond following users were confirmed.

How this kind of bug works

Clickjacking, or UI redressing, abuses the fact that a browser will render another origin's page inside a frame. The attacker loads the victim site in an iframe, positions it so that a sensitive control (a button, a link, a form submit) sits under the cursor, and covers it with decoy content. The victim sees and clicks the decoy, but the click is delivered to the framed page, in the victim's session, with the victim's cookies and CSRF tokens. No script runs cross-origin and no same-origin policy is broken, which is why the defence has to be a framing restriction rather than input validation.

The standard defences are response headers that tell the browser whether the page may be framed:

  • X-Frame-Options: DENY forbids all framing.
  • X-Frame-Options: SAMEORIGIN allows framing only by the same origin.
  • Content Security Policy frame-ancestors is the modern replacement and supports explicit lists of allowed ancestors.

A page is only protected if the browser actually enforces the value it is given. Values the browser does not recognise, or headers that are only set on some responses, leave the page frameable. Framing protection also needs to cover every response that renders a sensitive action, including error pages, redirects and pages served from different hosts or paths of the same application.

How to test for it

  1. Identify state-changing or socially sensitive features: follow, like, delete, change settings, authorise an application, confirm a payment. These are the actions worth framing.
  2. Request the page that contains the control and inspect the response headers for X-Frame-Options and Content-Security-Policy. Note the exact value, not just the presence of the header.
  3. Check the value against browser support. DENY and SAMEORIGIN are enforced; ALLOW-FROM is not honoured by Chrome, so treat it as absent for Chrome users. A CSP without frame-ancestors gives no framing protection.
  4. Build a local page that loads the target in an iframe and confirm in the browser whether it renders. A positive result is the target page visibly loading inside the frame, with the sensitive control reachable.
  5. Confirm exploitability by overlaying the frame with decoy content and checking that a click on the decoy reaches the framed control. Doing this against your own account is enough to demonstrate the issue.
  6. Repeat for every host and path that serves the feature, since protection is often applied inconsistently.

Common false positives: the header is present but only on the main HTML response while the framed action is served elsewhere; the page sets frame-ancestors correctly and the tester only looked at X-Frame-Options; the framed page requires a fresh interaction or a confirmation step that the attacker cannot satisfy; or the browser used for testing enforces a value that the target audience's browsers do not. Also check whether the application breaks out of frames with JavaScript, though that is a weaker control than a header.

How it is fixed

  • Send X-Frame-Options: DENY or SAMEORIGIN on every response that renders sensitive UI, and prefer CSP frame-ancestors with an explicit allowlist where cross-origin framing is genuinely needed.
  • Remove ALLOW-FROM values, since they provide no protection in browsers that do not support them.
  • Apply the headers centrally, for example at the reverse proxy or in framework middleware, so that all routes and hosts inherit them.
  • For highly sensitive actions, add a confirmation step or a per-action token that a framed click cannot satisfy.

Hunting notes

Framing protection is frequently misconfigured on secondary hosts, staging environments, legacy paths, error pages and endpoints served by a different stack from the main site. Recon signals worth watching: multiple X-Frame-Options headers with conflicting values, ALLOW-FROM in any response, CSP present but without frame-ancestors, and headers that appear on the marketing site but not on the application. Compare responses across subdomains and paths rather than testing a single URL.

To get a report accepted, show the framed page loading in a browser that the target's users actually use, and demonstrate a concrete sensitive action being triggered through the overlay against your own account. A screenshot of the frame rendering is a start, but a working overlay that performs a real state change is what turns a header observation into a clickjacking finding. Keep the proof of concept self-contained and avoid touching other users' accounts.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 7 min read.

What happened, in plain words

Periscope had a website at https://www.periscope.tv. The report mentions following other users as one action an attacker could induce. The researcher found that the site's clickjacking protection was set up in a way that the Chrome browser ignores.

To understand the problem, start with two everyday ideas.

A request is what your browser sends to a website when you open a page or click something: a message asking for a page or an action. The website answers with the page itself plus some extra information called response headers. Headers are small labelled notes that the browser reads but you normally never see, for example instructions about caching or about who is allowed to display the page.

Clickjacking (also called UI redressing) is a con where an attacker builds a page that secretly contains the real website inside an invisible window, called an iframe. The attacker puts their own fake buttons on top. You think you are clicking the attacker's button, but your click actually lands on the real site underneath, and because you are logged in there, the site treats it as a genuine action by you. It is like someone placing a transparent sheet with fake buttons over an ATM keypad: you press what you think is the right key, but the machine underneath receives a different one.

Websites defend against this with a header called X-Frame-Options, which tells the browser whether the page may be shown inside a frame at all. The header Periscope returned was:

HTTP
X-Frame-Options: ALLOW-FROM https://twitter.com/

Line by line: X-Frame-Options is the name of the header, the instruction. ALLOW-FROM is a value meaning "this page may only be framed by the site listed after it". https://twitter.com/ is that listed site, so the intent was to permit framing only by Twitter.

The catch is that Chrome does not support the ALLOW-FROM value, as the researcher notes with a reference to the OWASP Clickjacking Defence Cheat Sheet. When a browser meets a value it does not recognise, it does not fall back to a safe default: it discards the instruction. So in Chrome the header had no effect at all, and every page on periscope.tv could be framed by anyone.

To prove it, the researcher attached a proof of concept, a small test page, and asked that it be opened in Chrome. In that test the researcher framed their own logged-in account on Periscope. The report says that regular clickjacking tricks can be used to make the user follow other users and to perform practically any action on the site. The report records medium severity, a bounty of 560.00 USD and disclosure on 2017-02-06. It does not describe a specific fix.

Why does this matter? The attacker never learns your password and never reads your data. The damage is that your own logged-in session is used to perform actions you did not intend, and from the site's point of view they look like yours.

In general, how this kind of bug works

Clickjacking abuses a normal browser feature: a page is allowed to display another site inside an iframe. The attacker loads the victim site in that frame, lines up a sensitive control such as a follow button, a like link or a settings toggle under where the cursor will be, and covers it with decoy content. Your click is delivered to the framed page together with your cookies, the small pieces of data that keep you logged in, so the action happens as you. No malicious script runs on the victim site and no browser security boundary is crossed, which is why the defence has to be a rule about framing rather than about checking input.

The standard defences are headers that tell the browser whether the page may be framed:

  • X-Frame-Options: DENY forbids all framing.
  • X-Frame-Options: SAMEORIGIN allows framing only by the same site.
  • A Content Security Policy (CSP) directive called frame-ancestors is the modern replacement and can list exactly which sites may frame the page.

A page is only protected if the browser actually enforces the value it is given. Values the browser does not recognise, or headers set on only some responses, leave the page frameable. Protection also has to cover every response that shows a sensitive action, including error pages, redirects and pages served from other hosts or paths of the same application.

How to test for it

  1. Identify actions worth hijacking: follow, like, delete, change settings, authorise an application, confirm a payment.
  2. Request the page containing the control and inspect the response headers for X-Frame-Options and Content-Security-Policy. Note the exact value, not just whether the header is there.
  3. Check the value against browser support. DENY and SAMEORIGIN are enforced; ALLOW-FROM is not honoured by Chrome, so for Chrome users treat it as absent. A CSP without frame-ancestors gives no framing protection.
  4. Build a local page that loads the target in an iframe and see in the browser whether it renders. A positive result is the target page visibly loading inside the frame with the sensitive control reachable.
  5. Confirm exploitability by overlaying the frame with decoy content and checking that a click on the decoy reaches the framed control. Doing this against your own account is enough to demonstrate the issue.
  6. Repeat for every host and path that serves the feature, since protection is often applied inconsistently.

Common false positives: the header is present only on the main HTML response while the framed action is served elsewhere; the page sets frame-ancestors correctly and the tester only looked at X-Frame-Options; the framed page needs a fresh interaction or a confirmation step the attacker cannot satisfy; or the browser used for testing enforces a value that the target audience's browsers do not. Also check whether the application breaks out of frames with JavaScript, though that is a weaker control than a header.

How it is fixed

  • Send X-Frame-Options: DENY or SAMEORIGIN on every response that renders sensitive UI, and prefer CSP frame-ancestors with an explicit allowlist where cross-origin framing is genuinely needed.
  • Remove ALLOW-FROM values, since they provide no protection in browsers that do not support them.
  • Apply the headers centrally, for example at the reverse proxy or in framework middleware, so that all routes and hosts inherit them.
  • For highly sensitive actions, add a confirmation step or a per-action token that a framed click cannot satisfy.

Hunting notes

Framing protection is frequently misconfigured on secondary hosts, staging environments, legacy paths, error pages and endpoints served by a different stack from the main site. Signals worth watching: multiple X-Frame-Options headers with conflicting values, ALLOW-FROM in any response, CSP present but without frame-ancestors, and headers that appear on the marketing site but not on the application. Compare responses across subdomains and paths rather than testing a single URL.

To get a report accepted, show the framed page loading in a browser that the target's users actually use, and demonstrate a concrete sensitive action being triggered through the overlay against your own account. A screenshot of the frame rendering is a start, but a working overlay that performs a real state change is what turns a header observation into a clickjacking finding. Keep the proof of concept self-contained and avoid touching other users' accounts.

Glossary

  • Request: the message your browser sends to a website asking for a page or an action.
  • Response header: a small labelled note sent back with a web page, read by the browser, giving instructions such as whether the page may be framed.
  • Clickjacking (UI redressing): a trick where a real site is hidden under decoy content so that your clicks perform actions on the real site without your knowledge.
  • iframe: an HTML element that displays one web page inside another.
  • X-Frame-Options: a response header that tells the browser whether a page may be shown inside a frame.
  • ALLOW-FROM: a value of X-Frame-Options meaning "only the listed site may frame this page"; not supported by Chrome.
  • DENY / SAMEORIGIN: X-Frame-Options values meaning "no framing at all" and "framing only by the same site".
  • Content Security Policy (CSP): a set of response headers that restrict what a page may load or how it may be embedded.
  • frame-ancestors: the CSP directive that lists which sites may frame the page; the modern replacement for X-Frame-Options.
  • Cookie: a small piece of data stored by your browser for a site, commonly used to keep you logged in.
  • Session: the period during which a site recognises you as logged in, based on your cookies.
  • Proof of concept (PoC): a small test built to demonstrate that a vulnerability is real.
  • Severity: a rating of how serious a vulnerability is, here medium.
  • Bounty: a payment made by a bug bounty programme to a researcher for a valid report.
  • Disclosure: the date a report is made public.
  • False positive: a finding that looks like a vulnerability but is not actually exploitable.
  • Reverse proxy: a server that sits in front of a website and forwards requests to it, a convenient place to add headers for every response.

More by mishre

View all

9 more disclosed reports, best first.

More from X / xAI

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.