PT0-001 · Question #142
Joe, an attacker, intends to transfer funds discreetly from a victim's account to his own. Which of the following URLs can he use to accomplish this attack?
The correct answer is B. https://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-. This scenario describes a Cross-Site Request Forgery (CSRF) attack where a crafted URL silently triggers a fund transfer using the victim's authenticated session.
Question
Joe, an attacker, intends to transfer funds discreetly from a victim's account to his own. Which of the following URLs can he use to accomplish this attack?
Options
- Ahttps://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-
- Bhttps://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-
- Chttps://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-
- Dhttps://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-
How the community answered
(44 responses)- A2% (1)
- B77% (34)
- C14% (6)
- D7% (3)
Why each option
This scenario describes a Cross-Site Request Forgery (CSRF) attack where a crafted URL silently triggers a fund transfer using the victim's authenticated session.
This URL variant does not correctly encode the transfer destination to route funds to the attacker's account, so the transaction would either fail or not benefit the attacker.
In a CSRF attack, the attacker crafts a URL containing all the parameters needed to perform a privileged action - here, an ACH fund transfer - and tricks the victim's browser into submitting it while the victim is authenticated. Answer B represents the URL variant where the destination account parameter points to the attacker's own account rather than the victim's, completing the fraudulent transfer without the victim's knowledge.
This URL variant contains a parameter configuration that would not successfully authorize or direct the fund transfer to the attacker's controlled account.
This URL variant does not properly specify the attacker's account as the transfer destination, meaning funds would not be redirected as intended.
Concept tested: Cross-Site Request Forgery (CSRF) fund transfer via crafted URL
Source: https://owasp.org/www-community/attacks/csrf
Topics
Community Discussion
No community discussion yet for this question.