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. What describes a Server-Side Request Forgery (SSRF) in cybersecurity?
    a. Manipulating a client to send forged requests
    b. Manipulating a server to send requests on its behalf
    c. Modifying DNS records for redirection
    d. Encrypting user requests for protection
    Answer: b. Manipulating a server to send requests on its behalfexamradar+1​
  2. Which network component can SSRF commonly bypass?
    a. Intrusion Detection Systems
    b. Network Firewalls
    c. Load Balancers
    d. DNS Servers
    Answer: b. Network Firewallsradware+1​
  3. In an SSRF attack, what type of service can an attacker target within a cloud environment?
    a. Cloud metadata endpoint
    b. SMTP mail relay
    c. Web application firewall
    d. DNS resolver
    Answer: a. Cloud metadata endpointgeeksforgeeks+1​
  4. What is the most common cause of SSRF vulnerabilities?
    a. Improper user authentication
    b. Unvalidated user-supplied URLs used in requests
    c. Encrypted data transmission
    d. Incorrect DNS resolution
    Answer: b. Unvalidated user-supplied URLs used in requestsimperva+1​
  5. Which IP address is often targeted to reach internal systems in SSRF exploits?
    a. 8.8.8.8
    b. 172.16.0.1
    c. 127.0.0.1
    d. 255.255.255.255
    Answer: c. 127.0.0.1portswigger​
  6. What is a ‘blind SSRF’ vulnerability?
    a. When responses are returned to the attacker
    b. When requests are made but responses are not visible
    c. When requests use alternate protocols
    d. When SSRF uses authentication tokens
    Answer: b. When requests are made but responses are not visibleportswigger​
  7. Which protocol schemas can be abused in SSRF attacks?
    a. file://
    b. ftp://
    c. gopher://
    d. All of the above
    Answer: d. All of the aboveexamradar+1​
  8. What kind of internal data can attackers potentially access via SSRF?
    a. CPU usage data
    b. Application configuration files
    c. Local printer logs
    d. Hardware temperature logs
    Answer: b. Application configuration filesheimdalsecurity+1​
  9. What type of web feature commonly leads to SSRF when misconfigured?
    a. URL fetch or import function
    b. Login forms
    c. CAPTCHA verifier
    d. Log analyzers
    Answer: a. URL fetch or import functiongeeksforgeeks+1​
  10. How can attackers use SSRF to perform port scanning?
    a. By sending server requests to different internal ports
    b. By spoofing user credentials
    c. By injecting malicious cookies
    d. By bypassing DNS
    Answer: a. By sending server requests to different internal portsexamradar​
  11. Which cloud IP address range is sensitive in SSRF exploitation?
    a. 192.0.2.0/24
    b. 169.254.169.254
    c. 10.255.255.1
    d. 208.67.222.222
    Answer: b. 169.254.169.254wiz+1​
  12. What OWASP Top 10 category does SSRF correspond to?
    a. A10:2021 Server-Side Request Forgery
    b. A06:2021 Injection
    c. A04:2021 Insecure Design
    d. A02:2021 Cryptographic Failures
    Answer: a. A10:2021 Server-Side Request Forgeryowasp+1​
  13. Which IP filtering rule helps mitigate SSRF?
    a. Blacklisting localhost
    b. Allowlisting approved domains only
    c. Opening all outbound ports
    d. Limiting inbound requests
    Answer: b. Allowlisting approved domains onlyvectra+1​
  14. What can SSRF enable attackers to do in cloud environments?
    a. Request AWS instance metadata
    b. Add new firewall rules
    c. Modify VPC routing
    d. Add IAM roles directly
    Answer: a. Request AWS instance metadataheimdalsecurity+1​
  15. What does a loopback SSRF attack target?
    a. DNS relay
    b. The same host’s local interface
    c. Proxy configuration
    d. Remote FTP server
    Answer: b. The same host’s local interfaceportswigger​
  16. How can URL encoding be abused in SSRF payloads?
    a. To bypass input filters
    b. To encrypt URLs
    c. To mask credentials
    d. To inject SQL commands
    Answer: a. To bypass input filtersportswigger​
  17. Which type of SSRF filters is easiest to bypass?
    a. Whitelist filters
    b. Blacklist filters
    c. Domain filters
    d. Header-based filters
    Answer: b. Blacklist filtersportswigger​
  18. Which request header has been linked to SSRF exploitation?
    a. User-Agent
    b. Referer
    c. Host
    d. Accept
    Answer: b. Refererportswigger​
  19. What function of the server is misused during an SSRF attack?
    a. Request-making capabilities
    b. Data encryption
    c. Rate-limiting
    d. Storage capacity
    Answer: a. Request-making capabilitiesradware+1​
  20. What is the potential impact of SSRF exploitation?
    a. Remote Code Execution
    b. Browser Hijacking
    c. Session Timeout
    d. DNS poisoning
    Answer: a. Remote Code Executionvectra+1​
  21. What technique helps attackers bypass domain-based filtering?
    a. URL redirection chaining
    b. Strong encryption
    c. Cross-site embedding
    d. Base64 encoding headers
    Answer: a. URL redirection chainingportswigger​
  22. How can network segmentation reduce SSRF impact?
    a. By isolating internal services
    b. By slowing traffic
    c. By reducing server capacity
    d. By disabling logging
    Answer: a. By isolating internal servicesbrightsec+1​
  23. What internal IP class is usually inaccessible except through SSRF?
    a. Public
    b. Private
    c. Reserved multicast
    d. Broadcast
    Answer: b. Privatevectra+1​
  24. Which open-source tool detects SSRF attack vectors?
    a. SSRFire
    b. Wireshark
    c. Nmap
    d. ZAP
    Answer: a. SSRFirewiz​
  25. Which mitigation method validates response content to reduce SSRF?
    a. Response sanitization
    b. Client-side validation
    c. Rate limiting
    d. CAPTCHA
    Answer: a. Response sanitizationvectra​
  26. How can DNS filtering help prevent SSRF?
    a. Blocking resolution of internal hostnames
    b. Detecting port scanning
    c. Restricting SSL certificates
    d. Filtering HTTPS only
    Answer: a. Blocking resolution of internal hostnamesvectra​
  27. Which type of SSRF involves external redirection via trusted URLs?
    a. Open redirect SSRF
    b. Indirect SSRF
    c. Localhost SSRF
    d. Blind SSRF
    Answer: a. Open redirect SSRFportswigger​
  28. Which mitigation technique enforces defined access domains?
    a. URL allowlists
    b. DNS rebinding
    c. SSL enforcement
    d. Rate policies
    Answer: a. URL allowlistsbrightsec​
  29. What can result from SSRF combined with misconfigured authentication?
    a. Privilege escalation
    b. User logout loop
    c. Session reset
    d. Timeout issues
    Answer: a. Privilege escalationimperva+1​
  30. Which part of XML handling is associated with SSRF attacks?
    a. External Entity processing
    b. Schema validation
    c. Tag parsing
    d. Namespace handling
    Answer: a. External Entity processinggeeksforgeeks+1​
  31. What does RFC1918 define which is targeted in SSRF scanning?
    a. Private IP ranges
    b. Proxy formats
    c. Domain rules
    d. Encryption keys
    Answer: a. Private IP rangeswiz​
  32. Which HTTP method is often used in SSRF payloads?
    a. POST
    b. PUT
    c. PATCH
    d. DELETE
    Answer: a. POSTportswigger​
  33. Which part of a URL can hide malicious inputs in SSRF?
    a. Fragment section (#)
    b. Query string
    c. Protocol
    d. Header
    Answer: a. Fragment section (#)portswigger​
  34. What server assumption makes SSRF particularly dangerous?
    a. That local requests are trusted
    b. That URLs are always safe
    c. That cookies are encrypted
    d. That ports are closed
    Answer: a. That local requests are trustedportswigger​
  35. What is the main difference between SSRF and CSRF?
    a. SSRF targets servers; CSRF targets users
    b. SSRF requires credentials
    c. CSRF can’t use HTTP
    d. SSRF only affects localhost
    Answer: a. SSRF targets servers; CSRF targets usersimperva+1​
  36. Which HTTP response code can signal an open redirection used for SSRF?
    a. 301 or 302
    b. 404
    c. 500
    d. 403
    Answer: a. 301 or 302portswigger​
  37. Which cloud provider’s metadata endpoint is most often targeted?
    a. AWS
    b. Google Cloud
    c. Azure
    d. DigitalOcean
    Answer: a. AWSheimdalsecurity+1​
  38. What mitigation mechanism prevents SSRF at the network level?
    a. Egress filtering
    b. Input encoding
    c. Session tokens
    d. Cookie flags
    Answer: a. Egress filteringbrightsec+1​
  39. Why are internal admin panels at risk from SSRF?
    a. They trust internal requests
    b. They disable logging
    c. They use static DNS
    d. They require HTTPS only
    Answer: a. They trust internal requestsportswigger​
  40. What is a common sign of SSRF attempt in server logs?
    a. Requests to private IP ranges
    b. Requests without headers
    c. Repeated GETs to index pages
    d. Long user-agent strings
    Answer: a. Requests to private IP rangeswiz​
  41. What SSRF payload tries to read local files?
    a. file://etc/passwd
    b. http://localhost:80
    c. ftp://127.0.0.1/admin
    d. data://text/plain;base64
    Answer: a. file://etc/passwdexamradar+1​
  42. Why are metadata APIs high-value SSRF targets?
    a. They expose credentials and instance data
    b. They store logs
    c. They provide user cookies
    d. They monitor ports
    Answer: a. They expose credentials and instance dataheimdalsecurity​
  43. How can organizations detect SSRF attempts?
    a. Monitor egress requests to internal IPs
    b. Scan input fields
    c. Allow open ports
    d. Disable web application firewalls
    Answer: a. Monitor egress requests to internal IPswiz​
  44. What is the main business impact of SSRF exploitation?
    a. Data exposure and unauthorized operations
    b. Increased bandwidth
    c. Service redundancy
    d. Delayed responses
    Answer: a. Data exposure and unauthorized operationsradware+1​
  45. Which user-supplied parameter should always be sanitized against SSRF?
    a. URL input fields
    b. Password boxes
    c. API keys
    d. Session headers
    Answer: a. URL input fieldsbrightsec+1​
  46. What kind of SSRF enables chaining into Remote Code Execution (RCE)?
    a. Blind SSRF on vulnerable backends
    b. DNS rebinding SSRF
    c. Timeout-based SSRF
    d. Cookie-bypass SSRF
    Answer: a. Blind SSRF on vulnerable backendsradware+1​
  47. What is SSRF’s main differentiator from injection attacks?
    a. It abuses server trust relationships
    b. It manipulates SQL databases
    c. It executes code directly
    d. It encrypts connections
    Answer: a. It abuses server trust relationshipsradware+1​
  48. Which testing tool suite includes SSRF labs?
    a. Burp Suite
    b. Nessus
    c. Wireshark
    d. OpenVAS
    Answer: a. Burp Suiteportswigger​
  49. What SSRF payload trick is used to evade blacklists?
    a. Numeric IP encoding
    b. Long URL padding
    c. Padding with NULL bytes
    d. Reverse DNS injection
    Answer: a. Numeric IP encodingportswigger​
  50. Why should SSRF defenses be continuously updated?
    a. Attack patterns evolve and filters can be bypassed
    b. Logs fill up quickly
    c. Latency affects validation
    d. Servers stop trusting outgoing requests
    Answer: a. Attack patterns evolve and filters can be bypassedwiz+1​
  1. https://examradar.com/server-side-request-forgery-ssrf-on-back-end-components-mcqs/
  2. https://portswigger.net/web-security/ssrf
  3. https://www.radware.com/cyberpedia/application-security/server-side-request-forgery/
  4. https://heimdalsecurity.com/blog/server-side-request-forgery-attack/
  5. https://www.geeksforgeeks.org/ethical-hacking/server-side-request-forgery-ssrf-in-depth/
  6. https://www.imperva.com/learn/application-security/server-side-request-forgery-ssrf/
  7. https://www.wiz.io/academy/server-side-request-forgery
  8. https://owasp.org/Top10/A10_2021-Server-Side_Request_Forgery_(SSRF)/
  9. https://www.securityjourney.com/post/owasp-top-10-server-side-request-forgery-explained
  10. https://www.vectra.ai/topics/server-side-request-forgery
  11. https://brightsec.com/blog/7-ssrf-mitigation-techniques-you-must-know/
  12. https://www.scribd.com/document/883813869/23-06-2025-f671593bad88bd114b5ed1d6c6aac0c5
  13. https://www.invicti.com/learn/server-side-request-forgery-ssrf
  14. https://wayground.com/admin/quiz/651e170047919d3ddad18ea6/top-10-server-side-request-forgery-ssrf
  15. https://allabouttesting.org/owasp-top-10-mcq-with-answers/
  16. https://www.youtube.com/watch?v=68UbnP3H0QU
  17. https://cwe.mitre.org/data/definitions/918.html
  18. https://www.f5.com/glossary/ssrf
  19. https://owasp.org/www-community/attacks/Server_Side_Request_Forgery
  20. https://www.youtube.com/watch?v=4qZv_LACsAk

Leave a Reply

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

error: Content is protected !!