← back to room
Open Redirect
Redirect Prefix Bypass
Scenario
LinkBridge tightened policy: redirect targets must start with the trusted corporate host. The check is a simple prefix test on the full URL string. Still reach an external site without breaking the prefix rule literally.
Your approach
- Read the error when you point redirect at a plain external URL.
- Review how the prefix validator parses the scheme and host.
- Try URL forms where the trusted host appears early but another host receives the visit.
- Confirm the browser lands off-site and the lab accepts the bypass.
- Submit the flag from the success message.
Only URLs starting with https://www.hackerz-labs.test are allowed. Bypass the prefix check, e.g. https://www.hackerz-labs.test@evil.example.