nerdexam
EC-Council

312-50V12 · Question #7

Boney, a professional hacker, targets an organization for financial benefits. He performs an attack by sending his session ID using an MITM attack technique. Boney first obtains a valid session ID by

The correct answer is C. Session donation attack. This question tests knowledge of session-based web attacks, specifically how an attacker can manipulate session handling to capture victim data into their own account.

Submitted by saadiq_pk· Mar 4, 2026Fundamentals

Question

Boney, a professional hacker, targets an organization for financial benefits. He performs an attack by sending his session ID using an MITM attack technique. Boney first obtains a valid session ID by logging into a service and later feeds the same session ID to the target employee. The session ID links the target employee to Boney's account page without disclosing any information to the victim. When the target employee clicks on the link, all the sensitive payment details entered in a form are linked to Boney's account. What is the attack performed by Boney in the above scenario?

Options

  • AForbidden attack
  • BCRIME attack
  • CSession donation attack
  • DSession fixation attack

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    90% (19)

Why each option

This question tests knowledge of session-based web attacks, specifically how an attacker can manipulate session handling to capture victim data into their own account.

AForbidden attack

A forbidden attack exploits weaknesses in CBC-mode encryption using a known IV to forge authentication tokens, which is unrelated to session ID sharing or account linking.

BCRIME attack

The CRIME (Compression Ratio Info-leak Made Easy) attack exploits TLS/SSL data compression to recover session cookies by analyzing compressed ciphertext size, which is not related to sharing a session ID with a victim via a link.

CSession donation attackCorrect

A session donation attack occurs when an attacker 'donates' their own valid session ID to a victim, tricking the victim into operating under the attacker's session context. Unlike session fixation where the goal is to hijack the victim's authenticated session, session donation causes the victim to unknowingly submit data (such as payment information) that gets associated with the attacker's account, giving the attacker direct financial benefit without the victim realizing the session belongs to someone else.

DSession fixation attack

Session fixation involves the attacker forcing a victim to use a specific session ID so that once the victim authenticates, the attacker can hijack that now-authenticated session - the key difference is the attacker gains access to the victim's authenticated account, whereas in session donation the victim is linked to the attacker's account.

Concept tested: Session donation attack vs session fixation distinction

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

Topics

#Session hijacking#Session donation#Web application security

Community Discussion

No community discussion yet for this question.

Full 312-50V12 Practice