Skip to content
DoS Disclosed report Intermediate

cookie injection allow dos attack to periscope.tv

The create_user parameter on periscope.tv's login page allowed injection of the loginissignup cookie, enabling an attacker to set arbitrary cookie attributes such as domain and max-age. A CRLF payload in the same parameter caused a 504 Gateway Timeout, indicating a denial-of-service condition.

protostar0 Follow

Originally disclosed on HackerOne

Bounty$560 Medium View original
  • Fixed in 17 days
  • Paid in 14 days
  • Disclosed after 46 days

Description: i find in periscope.tv a parameter "create_user" allow to inject "loginissignup" cookie, when tested with crlf payload get response "HTTP/1.1 504 GATEWAY_TIMEOUT" ** Link Vulnerable:** https://www.periscope.tv/i/twitter/login?create_user=*payload*&csrf=*your_csrf_token*

Steps To Reproduce:

  1. go to https://www.periscope.tv/
  2. click to login
  3. click create new account
  4. choose twitter [ google & facebook also vulnerable]

5-get link like https://www.periscope.tv/i/twitter/login?create_user=true&csrf=*your_csrf_token*

6-edit create_user parameter

**example : edit domain & max-age of loginissignup cookie ** payload="exploit;Domain=hakou.com;Max-Age=1000000000000000000000" link=https://www.periscope.tv/i/twitter/login?create_user=exploit;Domain=hakou.com;Max-Age=1000000000000000000000&csrf=your_csrf_token poc F492114

**example2: dos attack ** payload="dosattack%0d%0ahakou" link=https://www.periscope.tv/i/twitter/login?create_user=dosattack%0d%0ahakou&csrf=your_csrf_token get this response

HTTP/1.1 504 GATEWAY_TIMEOUT Content-Length: 0 Connection: Close

poc F492115

Impact

inject cookie & dos attack

Attachments

coo1.jpg
coo1.jpg From the original on HackerOne
coo2.jpg
coo2.jpg

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application used the create_user parameter value directly in a Set-Cookie header without sanitising CRLF characters or cookie attributes.

Impact

An attacker could inject or modify the loginissignup cookie and cause a denial-of-service condition, as shown by the 504 Gateway Timeout response.

What the attacker needed

Valid csrf token

How it was found

  1. Go to the periscope.tv homepage.
  2. Click login.
  3. Click create new account.
  4. Choose Twitter (Google and Facebook are also vulnerable).
  5. Obtain the login link containing the create_user and csrf parameters.
  6. Edit the create_user parameter to inject cookie attributes or a CRLF payload.

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 report has not been written yet. The Original tab links to the source.

A cookie is a small piece of data a website stores in your browser to remember you. The site was building a cookie from a value in the URL without cleaning it, so an attacker could add extra instructions to that cookie or even break the server's response. This could let an attacker change how the cookie behaves or make the site temporarily unavailable.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by protostar0

View all

3 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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.