nerdexam
CompTIA

PT0-001 · Question #218

A penetration tester is performing a black-box test of a client web application, and the scan host is unable to access it. The client has sent screenshots showing the system is functioning…

The correct answer is B. The penetration tester needs an OAuth bearer token. The scan host cannot reach the web application while the client sees it working normally; the most likely cause is that the application requires an OAuth bearer token for access that the tester was not provided.

Engagement management

Question

A penetration tester is performing a black-box test of a client web application, and the scan host is unable to access it. The client has sent screenshots showing the system is functioning correctly. Which of the following is MOST likely the issue?

Options

  • AThe penetration tester was not provided with a WSDL file.
  • BThe penetration tester needs an OAuth bearer token.
  • CThe tester has provided an incorrect password for the application.
  • DAn IPS/WAF whitelist is in place to protect the environment.

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    79% (19)
  • C
    13% (3)
  • D
    4% (1)

Why each option

The scan host cannot reach the web application while the client sees it working normally; the most likely cause is that the application requires an OAuth bearer token for access that the tester was not provided.

AThe penetration tester was not provided with a WSDL file.

A WSDL file describes the interface of a SOAP web service; its absence would prevent the tester from understanding service endpoints but would not prevent the scan host from reaching the application.

BThe penetration tester needs an OAuth bearer token.Correct

Modern web applications and APIs commonly require a valid OAuth 2.0 bearer token in the Authorization header before serving any content or allowing any interaction. Without this token, the tester's scan host is denied access entirely, while the client - who holds valid credentials and is authenticated - sees the application functioning correctly. In a black-box engagement, failing to supply OAuth credentials is a common access barrier.

CThe tester has provided an incorrect password for the application.

An incorrect password applies only to form-based or basic authentication scenarios and would result in a login failure response rather than a complete inability to access the application.

DAn IPS/WAF whitelist is in place to protect the environment.

An IPS/WAF whitelist blocking the scan host is possible but less likely in a formal engagement, as rules of engagement typically require the client to whitelist the tester's source IP before testing begins.

Concept tested: OAuth bearer token requirement blocking unauthenticated scanner access

Source: https://datatracker.ietf.org/doc/html/rfc6750

Topics

#OAuth#bearer token#web application testing#authentication

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice