Open redirect
The report claims an open redirect on a website because a link's href attribute can be edited in the browser to point to an external site. It does not show that the server performs any redirect based on user input, so the claimed impact is not demonstrated.
Originally disclosed on HackerOne
- Disclosed after 12 days
Summary:
An open redirect vulnerability was discovered on the website https://www.xnxx.com/todays-selection/1. This issue allows attackers to modify URLs to redirect users to arbitrary external websites, including malicious or phishing sites. The vulnerability can be exploited by manipulating specific URL parameters, leading to potential phishing attacks, credential theft, or malware distribution.
Steps To Reproduce:
- Navigate to the following URL:https://www.xnxx.com/todays-selection/1
- inspect the page
- Go to this attribut:-"href="/todays-selection/2""
- instead of the "href="/todays-selection/2"" put the "https://google.com"
- Then browser are the redirect the page on the google.com
Supporting Material/References:
[list any additional material (e.g. screenshots, logs, etc.)]
- [attachment / reference]
Impact
The open redirect vulnerability allows attackers to perform malicious redirections, leading to potential phishing attacks or malicious website access. By using this vulnerability, attackers could deceive users into clicking on harmful links that might steal credentials or compromise security.
Recommendation:
The website should implement input validation for URLs provided in the redirection parameters, allowing only trusted domains or URLs. A whitelist of allowed domains should be enforced for redirection links to mitigate the risk of abuse.
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 none is shown: the text describes editing a link in the browser's developer tools, not a server-side redirect that accepts an attacker-controlled destination.
Impact
No real impact is shown, because changing a link locally in one browser does not make the site redirect other users; any phishing claim is unsupported.
What the attacker needed
Victim uses a link the attacker controls; server must actually redirect on user input
The fix
If a redirect parameter exists, it should be validated against an allowlist of trusted destinations; the report does not say whether anything was fixed.
How it was found
- Open the given page.
- Open the browser's developer tools.
- Find the link to the next page.
- Change that link to an external address.
- Follow the edited link and observe the browser going to the external site.
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.
An open redirect is when a website takes a link parameter and sends visitors to any address an attacker chooses. Here the author only changed a link inside their own browser using developer tools, which any visitor can do on any page; that alone does not prove the server would redirect other users.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.