Skip to content

Security+ SY0-801 practice question 5: Threats and attacks

After a user clicks a link, a rogue site performs a transfer using the user's still-active banking session, because the bank accepts the request without any per-request token. Which attack is this?

The options

  • A. Cross-site request forgery
  • B. Session fixation by the user
  • C. Cross-site scripting stored in a comment
  • D. A downgrade attack on TLS

Answer and why

The correct answer is A: Cross-site request forgery

A. The attacker's page makes the browser send an authenticated request the user never intended, which is CSRF.

B. Fixation plants a known session ID before login, while here an existing valid session is simply reused by the browser.

C. Stored XSS runs script in other users' pages; here no injected script is needed, only a forged request.

D. A downgrade forces weaker encryption, but nothing in the stem involves the protocol version.

What Threats and attacks tests

Threats, vulnerabilities and attacks is about recognizing the attack from its symptoms and picking the mitigation that breaks it. Read what was abused, the person, the protocol or the code, before you read the options.

Threats, vulnerabilities, and attacks is 24% of the SY0-801 exam. The exam has 90 questions in 90 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 5 of 15 in the free Security+ SY0-801 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.