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.
Originally disclosed on HackerOne
- 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:
- go to https://www.periscope.tv/
- click to login
- click create new account
- 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


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
- Go to the periscope.tv homepage.
- Click login.
- Click create new account.
- Choose Twitter (Google and Facebook are also vulnerable).
- Obtain the login link containing the create_user and csrf parameters.
- 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.