Open Redirect: Path-based Redirects

Open redirectExploitation

From PayloadsAllTheThings by Swissky and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

Instead of query parameters, redirection logic may rely on the path:

  • Using slashes in URLs: https://example.com/redirect/http://malicious.com

  • Injecting relative paths: https://example.com/redirect/../http://malicious.com

Comments

No comments yet.