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.
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)- A91% (32)
- C9% (3)
Why each option
Session hijacking can be achieved through multiple techniques that steal, forge, or fix session tokens to impersonate an authenticated user.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.