PEN-200 Web Application Attacks Practice Question
An application is vulnerable to Server-Side Request Forgery (SSRF). You want to use this to scan the internal network. Which target should you attempt to access first to verify the vulnerability?
⚠ Common exam trap
Candidates often attempt to scan external targets immediately, missing the fundamental step of confirming the vulnerability by hitting the local loopback, which proves the server is making the requests.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The local loopback address (127.0.0.1) or localhost.
The local loopback address is the most reliable target for verifying SSRF. If the server fetches content from 127.0.0.1, it confirms that the application is making requests on behalf of the user. This is a critical prerequisite before attempting to pivot into the internal network, as it proves that the application's request-handling mechanism can be subverted to interact with restricted infrastructure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A known external public domain like google.com.
Why it's wrong here
While this might confirm that the server can make external requests, it does not confirm the server's ability to access internal or restricted resources. Many applications are intentionally allowed to make external requests, so this is not a valid proof-of-concept for internal SSRF.
- ✓
The local loopback address (127.0.0.1) or localhost.
Why this is correct
Accessing 127.0.0.1 confirms that the application can reach its own local services. Since the local interface is usually trusted, this is a highly reliable way to confirm the SSRF vulnerability and potentially uncover local administrative services or configuration endpoints.
- ✗
The default gateway IP of the server's network.
Why it's wrong here
Targeting the gateway is risky and may trigger network intrusion detection systems. Furthermore, internal routers often don't respond to standard HTTP requests in a way that confirms SSRF. The loopback address is a much safer and more reliable indicator for initial testing.
- ✗
An arbitrary private IP address like 10.0.0.1.
Why it's wrong here
An arbitrary IP might be unreachable or filtered by firewalls. Testing against an unknown internal host does not definitively prove SSRF. The loopback address is the only consistent target that exists on all systems, making it the superior choice for initial verification.
About these practice questions
Courseiva writes every PEN-200 question from scratch — 285 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official OffSec exam blueprint
This PEN-200 practice question is part of Courseiva's free OffSec certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PEN-200 exam.