312-50V11 · Question #739
While performing online banking using a Web browser, a user receives an email that contains a link to an interesting Web site. When the user clicks on the link, another Web browser session starts…
The correct answer is C. Cross-Sire Request Forgery. The attack described is Cross-Site Request Forgery (CSRF), where a malicious site silently leverages the user's active authenticated banking session to submit unauthorized transactions.
Question
While performing online banking using a Web browser, a user receives an email that contains a link to an interesting Web site. When the user clicks on the link, another Web browser session starts and displays a video of cats playing a piano. The next business day, the user receives what looks like an email from his bank, indicating that his bank account has been accessed from a foreign country. The email asks the user to call his bank and verify the authorization of a funds transfer that took place. What Web browser-based security vulnerability was exploited to compromise the user?
Options
- AClickjacking
- BCross-Sire Scripting
- CCross-Sire Request Forgery
- DWeb form input validation
How the community answered
(29 responses)- A14% (4)
- B7% (2)
- C76% (22)
- D3% (1)
Why each option
The attack described is Cross-Site Request Forgery (CSRF), where a malicious site silently leverages the user's active authenticated banking session to submit unauthorized transactions.
Clickjacking tricks a user into clicking on a hidden or transparent UI element overlaid on a legitimate page, which does not match this scenario where a link opened a separate browser session displaying unrelated content.
Cross-Site Scripting (XSS) involves injecting malicious scripts into the output of a trusted website that then execute in other users' browsers - it is an injection attack on the target site itself, not a forged request originating from an external malicious site.
CSRF exploits the trust a web application places in an authenticated user's browser by causing the browser to send a forged HTTP request to the banking site while a valid session cookie is present. When the user clicked the malicious link, the attacker's site triggered a background request to the bank using the user's live session credentials, authorizing a funds transfer without the user's knowledge. The bank's server had no way to distinguish this forged request from a legitimate one because it carried the user's valid session token.
Web form input validation is a defensive control used to sanitize user-supplied data and prevent injection attacks; it is not an attack vector and does not describe the compromise that occurred in this scenario.
Concept tested: Cross-Site Request Forgery CSRF session exploitation
Source: https://owasp.org/www-community/attacks/csrf
Topics
Community Discussion
No community discussion yet for this question.