Control redirects
Summary
Redirects must be controlled, especially when they depend on external input.
Description
Systems must guarantee that all redirects lead to a controlled or trusted site. In general, redirects based on input data should be avoided as they could enable phishing attacks. If they are required, they should be controlled so that users are only redirected to trusted sites.
Supported In
This requirement is verified in following services
Plan | Supported |
---|---|
Essential | 🟢 |
Advanced | 🟢 |
References
- CAPEC™-161. Infrastructure manipulation
- CWE™-601. URL redirection to untrusted site ("open redirect")
- CWE™-918. Server-side request forgery (SSRF)
- CWE™-1022. Use of web link to untrusted target with window.opener access
- OWASP TOP 10-A10. Server-side request forgery
- CERT-J-IDS17-J. Prevent XML External Entity attacks
- CMMC-AC_L1-3_1_20. External connections
- HITRUST CSF-01_j. User authentication for external connections
- WASC-A_38. URL redirector abuse
- ISSAF-V_10. Application security - Source code auditing (Cross Site Scripting XSS)
- MVSP-2_2. Application design controls - HTTPS only
- OWASP SCP-1. Input validation
- OWASP SCP-12. File management
- CWE TOP 25-918. Server-side request forgery (SSRF)
- OWASP ASVS-5_1_5. Input validation
- OWASP ASVS-5_2_6. Sanitization and sandboxing
- OWASP ASVS-12_6_1. SSRF protection
- SANS 25-19. Server-side request forgery (SSRF)
- CASA-5_1_5. Input Validation
- CASA-5_2_6. Sanitization and Sandboxing
- OWASP MASVS-CODE-4. The app validates and sanitizes all untrusted inputs
- OWASP API Security Top 10-API7. Server Side Request Forgery
- OWASP API Security Top 10-API10. Unsafe Consumption of APIs
Vulnerabilities
- 023. Uncontrolled external site redirect - Host Header Injection
- 097. Reverse tabnabbing
- 100. Server-side request forgery (SSRF)
- 156. Uncontrolled external site redirect
free trial
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Continuous Hacking Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' hacking team, fill out this contact form.