CRLF to XSS & Open Redirection
A TikTok seller endpoint failed to validate input in a redirect parameter, allowing CRLF injection into HTTP responses. This could enable reflected XSS to access cookies or an open redirect to unauthorised pages under the tiktok.com domain.
- Triaged in 31 days
- Fixed in 53 days
- Paid in 36 days
- Disclosed after 2 months
Summary by the program
Due to inadequate input validation, it could have been possible to inject CRLF (HTTP Response Splitting) into the parameter "hack_redirect_now " on a TikTok seller endpoint. This could have led to Reflective XSS (Cross-Site Scripting) to gain access to a user's cookies, or the ability to send users to unauthorized webpages ending in "tiktok.com" via an open redirect. This vulnerability has been resolved. We thank @ashrafabdelrazik for reporting this to our team.
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
Impact
This could have led to reflected XSS to steal a user's cookies or an open redirect to unauthorised pages that still appear to be on tiktok.com.
What the attacker needed
Attacker can supply crafted input to the redirect parameter
The fix
The vulnerability was fixed by the vendor.
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.
When a website puts user input into its response headers without cleaning it, an attacker can sneak in extra line breaks. Those line breaks let the attacker add their own headers or even a script, which the victim's browser then runs. Here the input was a redirect parameter, so the attacker could also send people to a different page.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.