Skip to content

PenTest+ PT0-003 practice question 11: Attacks

A web application lets a user change the number in /invoice?id=1043 to 1044 and see another customer's invoice. Which flaw does this show?

The options

  • A. Clickjacking
  • B. A weak TLS cipher suite
  • C. Cross-site request forgery
  • D. Broken access control through an insecure direct object reference

Answer and why

The correct answer is D: Broken access control through an insecure direct object reference

A. Clickjacking tricks a user into clicking a hidden element, which is not shown here.

B. Encryption strength does not affect whether the server checks ownership.

C. CSRF abuses a victim's session to send actions, not a tester changing an identifier.

D. The server never checks that the requested record belongs to the requester.

What Attacks tests

Attacks and exploits is the heaviest domain at 35%. It covers network, web, authentication, wireless and social engineering attacks. Match the weakness the stem exposes to the technique that abuses it, not to the most famous tool.

Attacks and exploits is 35% of the PT0-003 exam. The exam has 90 questions in 165 minutes, so this question is a slice of the real mix, not a prediction of your result.

Try these next

Each one is a free question from the same practice test, with the answer and the reason for every option on its own page.

Keep going

This is question 11 of 15 in the free PenTest+ PT0-003 practice test. If you missed it, say why in one sentence before you read on: the reason is what transfers to a differently worded question.