nerdexam
CompTIA

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.

Attacks and exploits

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

How the community answered

(44 responses)
  • A
    2% (1)
  • B
    77% (34)
  • C
    14% (6)
  • D
    7% (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.

Ahttps://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-

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.

Bhttps://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-Correct

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.

Chttps://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-

This URL variant contains a parameter configuration that would not successfully authorize or direct the fund transfer to the attacker's controlled account.

Dhttps://testbank.com/BankingApp/ACH.aspx?CustID=435345&accountType=F&action-

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

#CSRF#web application attack#URL manipulation#fund transfer

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice