CCSP · Question #47
The Open Web Application Security Project (OWASP) Top Ten is a list of web application security threats that is composed by a member-driven OWASP committee of application development experts and…
The correct answer is A. Don't use redirects/forwards in your applications. The most effective way to protect against unvalidated redirects and forwards is to avoid using them in applications, especially when handling untrusted input.
Question
The Open Web Application Security Project (OWASP) Top Ten is a list of web application security threats that is composed by a member-driven OWASP committee of application development experts and published approximately every 24 months. The 2013 OWASP Top Ten list includes "unvalidated redirects and forwards." Which of the following is a good way to protect against this problem?
Options
- ADon't use redirects/forwards in your applications.
- BRefrain from storing credentials long term.
- CImplement security incident/event monitoring (security information and event management
- DImplement digital rights management (DRM) solutions.
How the community answered
(30 responses)- A93% (28)
- C3% (1)
- D3% (1)
Why each option
The most effective way to protect against unvalidated redirects and forwards is to avoid using them in applications, especially when handling untrusted input.
Unvalidated redirects and forwards are vulnerable when the destination URL is taken from untrusted user input without proper validation, potentially leading to phishing or malware distribution. The most robust way to protect against this is to avoid using redirects or forwards with untrusted input altogether, or strictly enforce a whitelist of allowed destinations if they must be used.
Refraining from storing credentials long term is a good security practice for protecting credentials, but it does not directly address the vulnerability of unvalidated redirects and forwards.
Implementing SIEM (Security Information and Event Management) helps in detecting security incidents, but it's a reactive control rather than a proactive measure to prevent the exploitation of unvalidated redirects and forwards.
Implementing Digital Rights Management (DRM) solutions is for protecting copyrighted digital content and has no direct relevance to preventing unvalidated redirects and forwards in web applications.
Concept tested: OWASP Top Ten - Unvalidated Redirects and Forwards mitigation
Source: https://owasp.org/www-project-top-ten/2013/A10-Unvalidated_Redirects_and_Forwards
Topics
Community Discussion
No community discussion yet for this question.