nerdexam
EC-Council

312-50V11 · Question #7

What type of vulnerability/attack is it when the malicious person forces the user's browser to send an authenticated request to a server?

The correct answer is A. Cross-site request forgery. Cross-site request forgery (CSRF) tricks an authenticated user's browser into unknowingly sending a forged request to a web server on the attacker's behalf.

Hacking Web Applications

Question

What type of vulnerability/attack is it when the malicious person forces the user's browser to send an authenticated request to a server?

Options

  • ACross-site request forgery
  • BCross-site scripting
  • CSession hijacking
  • DServer side request forgery

How the community answered

(28 responses)
  • A
    86% (24)
  • B
    4% (1)
  • C
    7% (2)
  • D
    4% (1)

Why each option

Cross-site request forgery (CSRF) tricks an authenticated user's browser into unknowingly sending a forged request to a web server on the attacker's behalf.

ACross-site request forgeryCorrect

In a CSRF attack, the attacker exploits the trust a web server has in the user's authenticated session by embedding a malicious request in a page or link that the victim's browser executes while already authenticated. Because the browser automatically appends session cookies, the server processes the forged request as legitimate. The key distinguishing factor is that the request originates from the victim's own browser using their credentials.

BCross-site scripting

Cross-site scripting (XSS) injects malicious scripts into a trusted website that then execute in other users' browsers, rather than forging authenticated requests.

CSession hijacking

Session hijacking involves stealing or intercepting an active session token to impersonate a user, which is a different mechanism from forcing the browser to send a crafted request.

DServer side request forgery

Server-side request forgery (SSRF) forces the server itself to make requests to internal or external resources, not the client's browser.

Concept tested: Cross-site request forgery attack mechanism

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

Topics

#CSRF#cross-site request forgery#authenticated request#web attacks

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice