A URL redirection attack is a web attack that sends a user from a trusted URL to a different destination without clear consent. It typically abuses open redirects, manipulated query parameters, or crafted links to steer victims towards phishing pages, malware delivery, or credential capture while making the original site appear legitimate.
What the attack is and why it works
A URL redirection attack exploits trust in a familiar link, domain, or page flow. The attacker does not need to break the site itself if they can steer the browser through an open redirect, manipulated parameter, or redirect chain that sends the user to a different destination while preserving the appearance of legitimacy.
The attack is effective because many users judge trust from the starting URL, not the final destination. That gap lets an attacker borrow the reputation of a legitimate site to lower suspicion, increase click-through, and make a malicious landing page look like part of an expected journey.
Common redirection techniques
Open redirects are the classic pattern: an application accepts a return, next, or destination value and forwards the browser without enough validation. Other variants use encoded or nested URLs, shortened links, login or logout flows, SSO callbacks, or parameter tampering to make the final destination less obvious.
Some attacks are simple bait-and-switch links, while others chain multiple redirects to hide the end point. That chaining is useful for evasion because each hop can reduce visibility in user inspection, email filtering, and sometimes even security review if only the first hop is examined.
Security consequences and user impact
The main consequence is that a trusted entry point becomes a delivery mechanism for phishing, malware, or credential harvesting. In practice, the user may arrive at a lookalike login page, a fake support page, or a malicious download site after starting from a domain they expected to trust.
URL redirection can also weaken anti-phishing assumptions in other controls, because the original URL may pass casual scrutiny while the destination is hostile. When the redirected page captures credentials or session data, the impact can extend beyond the single click to account takeover, fraud, or later reuse of stolen access.
How organisations reduce exposure
Defence starts with treating redirect destinations as untrusted input. Applications should restrict redirects to known-good destinations, validate return URLs against a strict allowlist, and avoid accepting arbitrary external targets in user-controlled parameters.
Organisations should also review where redirect links are published or generated, especially in email, account recovery, single sign-on, and marketing flows. Security testing should include redirect abuse cases so that a harmless-looking parameter does not become a path to phishing or payload delivery. For broader web application control expectations, see OWASP API Security Top 10 and NIST SP 800-53 Rev 5 Security and Privacy Controls for access control, input handling, and audit-relevant safeguards.
Detection and response considerations
Detection usually focuses on suspicious redirect chains, unusual destination domains, and user journeys that deviate from normal application paths. Web logs, proxy logs, and email telemetry are useful for spotting repeated redirects into newly registered domains, URL shorteners, or pages associated with phishing kits.
If a redirect path has been abused, incident review should include the link source, the destination, any credentials entered after the redirect, and whether the malicious page captured sessions or tokens. That review matters because a redirect attack often signals a broader campaign rather than a single malicious click. Relevant threat intelligence and advisory coverage is available through CISA cyber threat advisories, while attack-pattern mapping can be cross-checked in MITRE ATT&CK Enterprise Matrix.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack and risk surface, while OWASP ASVS, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP ASVS | V4 — API and Web Service Security | Redirect handling in web flows is an API and web-service trust issue. |
| Recommendation — Validate redirect parameters and restrict destinations to approved targets. | ||
| NIST SP 800-53 Rev 5 | AC-3 — Access Enforcement | Redirection abuse can bypass intended access decisions and trust boundaries. |
| AU-2 — Event Logging | Redirect abuse is best detected through traceable request and destination logging. | |
| Recommendation — Enforce explicit destination validation before forwarding users. Log redirect inputs and resolved destinations for review and hunting. | ||
| CIS Controls v8 | CIS-16 — Application Software Security | Web redirect paths need secure development testing and validation. |
| Recommendation — Test redirect logic for open-redirect and link-manipulation weaknesses. | ||
| OWASP API Security Top 10 | API8 — Security Misconfiguration | Open redirects often arise from misconfigured or overly permissive redirect handling. |
| Recommendation — Harden redirect endpoints and remove unsafe default forwarding behaviour. | ||
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org