HexBrain

Chaturbate · Report #413426

Open redirect on chaturbate.com (tipping/purchase_success)

Validstatus
lowseverity
$250bounty
26upvotes
25 Oct 2018disclosed

How it was found

Hi,

I would like to report an open redirect issue on https://chaturbate.com/

Description

An attacker can redirect a user to any external website using the parameter prejoin_data, this parameter seems to miss sanitization.

Steps to Reproduce

Visit the following url: https://64.38.230.2/tipping/purchase_success/?product_code=4137&prejoin_data=domain%2Fpoc.10degres.net This will redirect you to my website http://poc.10degres.net

Browsers Verified In:

  • Firefox 56.0, Ubuntu 16.04

PoC

{F350390}

Impact

By modifying untrusted URL input to a malicious site, an attacker may successfully launch a phishing scam and steal user credentials. Because the server name in the modified link is identical to the original site, phishing attempts may have a more trustworthy appearance.

Remediation

Use a whitelist approach to allow redirection to trusted domains.

See also

https://www.owasp.org/index.php/Unvalidated_Redirects_and_Forwards_Cheat_Sheet

Best regards,

Gwen

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original