Blog

MCQs

Disclaimer:

Educational Use Only:

The website links provided are to be used strictly for educational and knowledge-gaining purposes only.

No Misuse:

Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.

Respect for Websites and Businesses:

Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.

Acknowledge Value of Knowledge:

Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.

No Endorsement:

The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.

User Responsibility:

By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.


  1. URL redirection in cybersecurity refers to which concept?
    a. Redirecting users to trusted websites only
    b. Automatically directing users from one web page to another
    c. Encrypting URLs for security
    d. Hiding IPs behind proxy servers
    Answer: bowasp+1​
  2. Which vulnerability allows attackers to send users to malicious websites by exploiting trusted domains?
    a. DNS poisoning
    b. SQL injection
    c. Open redirect
    d. Cross-site scripting
    Answer: cinvicti+2​
  3. Another name for an unvalidated redirect is:
    a. Secure forwarding
    b. Open redirect
    c. URL hashing
    d. Domain masking
    Answer: bappknox+1​
  4. The CWE ID assigned to URL redirection vulnerabilities is:
    a. CWE-89
    b. CWE-601
    c. CWE-79
    d. CWE-502
    Answer: bcwe.mitre​
  5. Open redirect vulnerabilities are primarily used for:
    a. Traffic encryption
    b. Phishing and credential theft
    c. Firewall evasion
    d. Load balancing
    Answer: bhornetsecurity+2​
  6. When a web application redirects users based on parameters without validation, it is vulnerable to:
    a. Server misconfiguration
    b. Open redirect
    c. SQL attack
    d. Form tampering
    Answer: blearn.snyk+1​
  7. In open redirect vulnerabilities, attackers exploit which HTTP header?
    a. Content-Type
    b. Authorization
    c. Location
    d. Set-Cookie
    Answer: cstackhawk​
  8. JavaScript-based open redirects often exploit which object?
    a. window.location
    b. document.cookie
    c. localStorage
    d. fetch()
    Answer: aowasp+1​
  9. Which of the following best describes a URL redirection attack?
    a. Preventing redirection to external domains
    b. Redirecting legitimate users to malicious websites
    c. Changing DNS records dynamically
    d. Hijacking session cookies
    Answer: bcompyl+1​
  10. An attacker exploits a trusted URL containing a “redirectURL” parameter to perform phishing. This is an example of:
    a. Cross-site scripting
    b. URL redirection attack
    c. Man-in-the-middle attack
    d. SQL injection
    Answer: bstackhawk+1​
  11. A website parameter like “?url=https://evil.com” is a red flag for:
    a. Brute-force attempt
    b. SQL code injection
    c. Open redirect vulnerability
    d. File inclusion
    Answer: cinvicti+1​
  12. What is the primary cause of an open redirect vulnerability?
    a. Excessive encryption
    b. User-controlled input without validation
    c. Outdated SSL certificates
    d. Unused APIs
    Answer: bowasp+1​
  13. Which of the following statements about open redirection is true?
    a. It requires code execution privileges
    b. It relies on URL manipulation
    c. It modifies database records
    d. It encrypts web traffic
    Answer: bhornetsecurity+1​
  14. Open redirect exploitation can lead to what broader type of attack?
    a. Phishing
    b. DDoS
    c. Buffer overflow
    d. ARP spoofing
    Answer: ainvicti+1​
  15. When the trusted website initiates the redirect, users are more likely to:
    a. Notice the attack
    b. Trust the URL
    c. Block the link
    d. Report the issue
    Answer: bcompyl+1​
  16. A secure defense against open redirection is to:
    a. Accept all URLs
    b. Validate and whitelist redirect destinations
    c. Use GET requests for redirects
    d. Hide URLs with shorteners
    Answer: btrustwave+2​
  17. Which JavaScript property can cause redirection if user input is not sanitized?
    a. document.title
    b. window.location
    c. navigator.userAgent
    d. sessionStorage
    Answer: bowasp​
  18. Attackers often exploit open redirects during which authentication process?
    a. Multi-factor
    b. OAuth or SSO
    c. Token exchange
    d. Biometric validation
    Answer: bstackhawk​
  19. A redirection vulnerability allowing access to unauthorized resources is a risk of:
    a. Broken access control
    b. Open redirect
    c. CSRF
    d. Directory traversal
    Answer: bbrightsec+1​
  20. Which phrase describes a client-side open redirect?
    a. Redirection through backend logic
    b. Redirection by client-side code like JavaScript
    c. Server or DNS reconfiguration
    d. Proxy-level redirect
    Answer: bstackhawk+1​
  21. The simplest example of a vulnerable redirect link is:
    a. “/home.html”
    b. “redirect.php?url=http://evil.com”
    c. “index.html?user=admin”
    d. “adminpanel.php?id=4”
    Answer: bappknox+1​
  22. URL encoding is sometimes used to:
    a. Bypass redirect filters
    b. Compress payloads
    c. Encrypt URLs
    d. Log traffic safely
    Answer: ahornetsecurity+1​
  23. Which type of open redirect operates via HTTP headers?
    a. Type I
    b. Type II
    c. Client-side
    d. DNS-based
    Answer: astackhawk​
  24. Which security tool category best detects open redirects?
    a. Web application scanners
    b. IDS/IPS appliances
    c. Anti-malware engines
    d. Firewalls
    Answer: ainvicti+1​
  25. An attacker using “javascript:alert(document.cookie)” after a redirect is performing:
    a. SQLi
    b. DOM-based injection
    c. XML injection
    d. ARP poisoning
    Answer: bowasp​
  26. The “Location” header in HTTP is primarily used to:
    a. Redirect browsers
    b. Send cookies
    c. Display content types
    d. Verify tokens
    Answer: ainvicti+1​
  27. Cross-origin open redirects happen when:
    a. Redirects lead to other domains
    b. URLs stay within same origin
    c. HTTPS is disabled
    d. Redirects use POST data
    Answer: acwe.mitre+1​
  28. One of the early examples of redirection abuse was observed in:
    a. Baidu phishing chain exploitation
    b. Twitter API breach
    c. Amazon internal redirect
    d. Gmail XSS
    Answer: ahornetsecurity​
  29. Vulnerable redirect parameters can be found in:
    a. GET or POST requests
    b. Cookies only
    c. HTTP methods exclusively
    d. Session tokens
    Answer: ainvicti​
  30. The safest way to handle redirects is to:
    a. Reject all user-supplied URLs
    b. Use relative paths or whitelisted domains only
    c. Hide parameters
    d. Use IP-based filtering
    Answer: btrustwave+1​
  31. The open redirect vulnerability is exploitable primarily because:
    a. Encoding complexity
    b. Lack of input validation
    c. Weak passwords
    d. Time synchronization errors
    Answer: bowasp+1​
  32. URL redirects originally serve a legitimate web design purpose of:
    a. Re-authentication
    b. Navigation or page relocation
    c. Malware installation
    d. Certificate signing
    Answer: bcompyl​
  33. Phishing attacks that exploit URL redirects often:
    a. Modify DNS records
    b. Use long trusted domains to trick users
    c. Disable HTTPS
    d. Bypass firewalls
    Answer: bhornetsecurity+1​
  34. Which organization defines URL redirection as CWE-601?
    a. NIST
    b. MITRE
    c. OWASP
    d. ISO
    Answer: bcwe.mitre​
  35. What is the key visual indicator of a potential open redirect URL?
    a. Presence of a redirect parameter like “next=”
    b. Use of HTTPS
    c. Capitalization in URL
    d. Missing favicon
    Answer: aappknox+1​
  36. Which mitigation strategy is NOT recommended for mitigation?
    a. Allowing external redirects freely
    b. Checking against validated domain lists
    c. Using relative redirects internally
    d. Encoding URLs safely
    Answer: atrustwave+1​
  37. Relative path manipulation exploits redirect flaws by:
    a. Adding “//evil.com/phish” in URL
    b. Modifying HTTP headers
    c. Changing DNS zones
    d. Encoding JavaScript payloads
    Answer: astackhawk​
  38. A JavaScript-based redirect becomes exploitable if:
    a. Input validation is missing
    b. Cookies are encrypted
    c. HTTPS redirection is used
    d. Referrer headers are set
    Answer: aowasp+1​
  39. Browser differences matter in open redirects because:
    a. Each browser treats URL characters differently
    b. Some disable JavaScript
    c. HTTP headers differ across OS
    d. Firewalls filter by browser
    Answer: aowasp​
  40. URL redirection attacks harm users primarily through:
    a. Information theft
    b. Buffer overflow
    c. Packet loss
    d. DNS cache pollution
    Answer: acompyl+1​
  41. Open redirect attacks often start with:
    a. A phishing email containing a crafted link
    b. Browser cache poisoning
    c. SQL queries
    d. ARP broadcast scanning
    Answer: acompyl+1​
  42. A redirection that manipulates “document.referrer” is an example of:
    a. Client-side attack
    b. Man-in-the-middle
    c. Server exploit
    d. DNS hijacking
    Answer: andss-symposium​
  43. Open redirect vulnerabilities can escalate into:
    a. Session hijacking
    b. Keylogging
    c. FTP injection
    d. Router manipulation
    Answer: ahornetsecurity+1​
  44. URL redirect abuse provides benefits to attackers because:
    a. Uses domain trust
    b. Encrypts their payloads
    c. Hides file extensions
    d. Generates traffic logs
    Answer: astackhawk+1​
  45. Proper testing for redirects begins by identifying:
    a. Parameters controlling URLs or paths
    b. SSL handshake failures
    c. Firewall filter lists
    d. Email traffic origins
    Answer: aowasp​
  46. Which example best reflects a malicious redirect attempt?
    a. “/dashboard/home?next=https://login.fake.com”
    b. “/index.html”
    c. “/logout.php”
    d. “/favicon.ico”
    Answer: astackhawk​
  47. If a redirect points to “javascript:alert(1)”, this can lead to:
    a. DOM-based XSS
    b. DNS rebinding
    c. CSRF
    d. SSRF
    Answer: aowasp​
  48. Open redirect vulnerabilities may exist in which modern web frameworks?
    a. Angular and React
    b. COBOL systems
    c. Oracle DB
    d. MS Access
    Answer: astackhawk​
  49. An input parameter “continue=” should always be:
    a. Validated against allowed destinations
    b. Escaped in SQL
    c. Ignored
    d. Base64-encrypted
    Answer: atrustwave+1​
  50. URL redirection vulnerabilities are significant because they:
    a. Enable attackers to bypass trust and commit phishing
    b. Protect user data automatically
    c. Reduce server load
    d. Shorten URLs for convenience
    Answer: acwe.mitre+3​
  1. https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/11-Client-side_Testing/04-Testing_for_Client-side_URL_Redirect
  2. https://www.stackhawk.com/blog/what-is-open-redirect/
  3. https://www.invicti.com/learn/unvalidated-redirects-and-forwards
  4. https://cwe.mitre.org/data/definitions/601.html
  5. https://www.appknox.com/cyber-security-jargons/open-redirects
  6. https://www.hornetsecurity.com/en/knowledge-base/open-redirect-attack/
  7. https://compyl.com/blog/what-is-a-url-redirection-attack/
  8. https://learn.snyk.io/lesson/open-redirect/
  9. https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/understanding-and-discovering-open-redirect-vulnerabilities/
  10. https://brightsec.com/blog/open-redirect-vulnerabilities/
  11. https://www.ndss-symposium.org/wp-content/uploads/2025-523-paper.pdf
  12. https://www.sanfoundry.com/tricky-cyber-security-questions-answers/
  13. https://www.sanfoundry.com/cyber-security-questions-answers-dns-hacking-security/
  14. https://itexamanswers.net/4-6-3-quiz-social-engineering-attacks-answers.html
  15. https://mcqmate.com/discussion/175168/in-some-cyber-criminals-redirect-the-legitimate-users-to-different-phishing-sites-and-web-pages-via-emails-ims-ads-and-spyware
  16. https://www.yeahhub.com/20-multiple-choice-questions-on-website-security/
  17. https://www.freetimelearning.com/online-quiz/cyber-security-quiz
  18. https://inspiredelearning.com/blog/phishing-quiz-for-employees/
  19. https://inspiredelearning.com/courses/open-redirect/
  20. https://infosecwriteups.com/the-art-of-exploiting-open-redirects-a-hackers-playbook-5591242f7ebd

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!