PT0-001 · Question #139
A penetration tester has been asked to conduct a penetration test on a REST-based web service. Which of the following items is required?
The correct answer is B. A list of sample application requests. REST API penetration testing requires sample application requests to understand endpoint structure, HTTP methods, parameters, and authentication flows that define the attack surface.
Question
A penetration tester has been asked to conduct a penetration test on a REST-based web service. Which of the following items is required?
Options
- AThe latest vulnerability scan results
- BA list of sample application requests
- CAn up-to-date list of possible exploits
- DA list of sample test accounts
How the community answered
(48 responses)- A2% (1)
- B88% (42)
- C8% (4)
- D2% (1)
Why each option
REST API penetration testing requires sample application requests to understand endpoint structure, HTTP methods, parameters, and authentication flows that define the attack surface.
Vulnerability scan results reflect findings from automated tools against known signatures and do not reveal the application-specific logic, endpoints, or authentication flows of a REST API.
REST APIs do not have a standardized discovery mechanism like WSDL used in SOAP services, so the tester must have sample requests to understand available endpoints, expected input formats, authentication headers, and data structures. Without sample requests, the tester cannot craft meaningful fuzzing payloads, test for injection flaws, or assess authorization logic. Sample requests serve as the foundational map of the API's attack surface.
A list of possible exploits is not required upfront because REST API testing is highly application-specific, and generic exploit lists do not map directly to custom API logic or business rules.
Sample test accounts may be useful for authentication testing but are not universally required and cannot substitute for understanding the API request structure itself.
Concept tested: REST API attack surface mapping using sample requests
Source: https://owasp.org/www-project-api-security/
Topics
Community Discussion
No community discussion yet for this question.