nerdexam
EC-Council

312-50V11 · Question #29

Which of the following attacks exploits web age vulnerabilities that allow an attacker to force an unsuspecting user's browser to send malicious requests they did not intend?

The correct answer is C. Cross-Site Request Forgery (CSRF). Cross-Site Request Forgery (CSRF) tricks an authenticated user's browser into sending unauthorized requests to a trusted site by exploiting the browser's automatic inclusion of session cookies. The victim performs actions they never intended.

Hacking Web Applications

Question

Which of the following attacks exploits web age vulnerabilities that allow an attacker to force an unsuspecting user's browser to send malicious requests they did not intend?

Options

  • ACommand Injection Attacks
  • BFile Injection Attack
  • CCross-Site Request Forgery (CSRF)
  • DHidden Field Manipulation Attack

How the community answered

(43 responses)
  • A
    7% (3)
  • B
    2% (1)
  • C
    88% (38)
  • D
    2% (1)

Why each option

Cross-Site Request Forgery (CSRF) tricks an authenticated user's browser into sending unauthorized requests to a trusted site by exploiting the browser's automatic inclusion of session cookies. The victim performs actions they never intended.

ACommand Injection Attacks

Command injection attacks insert operating system commands into vulnerable input fields to execute them on the server, which does not involve forging requests from a victim's browser.

BFile Injection Attack

File injection attacks exploit insecure file inclusion or upload functionality to execute malicious files server-side, not to forge browser-based requests from victims.

CCross-Site Request Forgery (CSRF)Correct

CSRF exploits the trust a web application places in a user's browser by crafting a malicious request (such as a forged form submission or image tag) that the victim's browser sends along with valid session credentials. Because the browser automatically attaches cookies, the server cannot distinguish the forged request from a legitimate one, allowing attackers to perform unauthorized state-changing actions such as fund transfers or password changes on behalf of the victim.

DHidden Field Manipulation Attack

Hidden field manipulation involves an attacker directly modifying hidden HTML form values before submission, which is a client-side tampering attack and does not force an unsuspecting third-party user's browser to send requests.

Concept tested: Cross-Site Request Forgery attack mechanism

Source: https://owasp.org/www-community/attacks/csrf

Topics

#CSRF#cross-site request forgery#web vulnerabilities#browser-based attack

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice