nerdexam
GIAC

GCIH · Question #82

Which of the following can be used to perform session hijacking? Each correct answer represents a complete solution. Choose all that apply.

The correct answer is A. Cross-site scripting B. Session fixation D. Session sidejacking. Session hijacking can be achieved through multiple techniques that steal, forge, or fix session tokens to impersonate an authenticated user.

Web Application Attacks & Post-Exploitation

Question

Which of the following can be used to perform session hijacking? Each correct answer represents a complete solution. Choose all that apply.

Options

  • ACross-site scripting
  • BSession fixation
  • CARP spoofing
  • DSession sidejacking

How the community answered

(35 responses)
  • A
    91% (32)
  • C
    9% (3)

Why each option

Session hijacking can be achieved through multiple techniques that steal, forge, or fix session tokens to impersonate an authenticated user.

ACross-site scriptingCorrect

Cross-site scripting (XSS) injects malicious scripts into web pages that execute in a victim's browser and can steal session cookies via document.cookie, sending them to an attacker.

BSession fixationCorrect

Session fixation forces a known session ID onto a victim before authentication, so once the victim logs in, the attacker can reuse that same session ID to hijack the authenticated session.

CARP spoofing

ARP spoofing is a network-layer attack that redirects traffic for man-in-the-middle positioning but is not itself a session hijacking technique - it is a precursor that may enable other attacks.

DSession sidejackingCorrect

Session sidejacking captures an unencrypted session token by sniffing network traffic over HTTP, allowing the attacker to reuse the token and impersonate the authenticated user.

Concept tested: Session hijacking attack techniques and vectors

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

Topics

#session hijacking#session fixation#session sidejacking#XSS

Community Discussion

No community discussion yet for this question.

Full GCIH Practice