OPEN REDIRECT
The logout endpoint accepted an arbitrary URL in the post_logout_redirect_uri parameter and redirected the user to it. An attacker could use this to send users to a malicious site for phishing.
Originally disclosed on HackerOne
- Triaged in 47 hours
- Fixed in 3 months
- Disclosed after 3 months
Open Redirect Vulnerability Hello , found open redirect in https://stage.test.dev-iam.xi.nutanix.com/api/iam/authn/v1/oidc/logout?post_logout_redirect_uri=.
Go to
curl -I "https://stage.test.dev-iam.xi.nutanix.com/api/iam/authn/v1/oidc/logout?post_logout_redirect_uri=http://evil.com&id_token_hint=test"
HTTP/2 302 content-type: text/html; charset=utf-8 location: http://evil.com date: Wed, 13 Oct 2021 20:55:57 GMT x-envoy-upstream-service-time: 2 server: envoy
##Reference
https://hackerone.com/reports/504751 https://portswigger.net/kb/issues/00500100_open-redirection-reflected
Impact
An attacker can use this vulnerability to redirect users to other malicious websites, which can be used for phishing and similar attacks
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 did not validate or restrict the post_logout_redirect_uri parameter to allowed domains before issuing the redirect.
What the attacker needed
Victim clicks a crafted link
How it was found
- Send a request to the logout endpoint with the post_logout_redirect_uri parameter set to an external site and a dummy id_token_hint.
- Observe the server responds with a 302 redirect 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 site takes a link parameter and sends you to whatever address is in it, even another site. Here the logout page had a parameter meant to send you back to a trusted page, but it did not check the address. An attacker could use this to send users to a malicious site for phishing.
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.