---
title: "CAPEC-593: Session Hijacking"
url: https://radicalnotion.ai/capec/capec-593
type: capec
description: "This type of attack involves an adversary that exploits weaknesses in an application's use of sessions in performing authentication. The adversary is able to steal or manipulate an active session and use it to gain unathorized access to the application."
updated: 2026-06-01
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CAPEC-593: Session Hijacking

- **Abstraction:** Standard
- **Status:** Stable
- **Typical severity:** Very High
- **Likelihood of attack:** High
- **CAPEC catalog version:** 3.9

## Description

This type of attack involves an adversary that exploits weaknesses in an application's use of sessions in performing authentication. The adversary is able to steal or manipulate an active session and use it to gain unathorized access to the application.

## Execution flow

### Step 1: Explore

\[Discover Existing Session Token\] Through varrying means, an adversary will discover and store an existing session token for some other authenticated user session.

### Step 2: Experiment

\[Insert Found Session Token\] The attacker attempts to insert a found session token into communication with the targeted application to confirm viability for exploitation.

### Step 3: Exploit

\[Session Token Exploitation\] The attacker leverages the captured session token to interact with the targeted application in a malicious fashion, impersonating the victim.

## Prerequisites

- An application that leverages sessions to perform authentication.

## Skills required

- **Low:** Exploiting a poorly protected identity token is a well understood attack with many helpful resources available.

## Resources required

- The adversary must have the ability to communicate with the application over the network.

## Consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability | Gain Privileges | A successful attack can enable an adversary to gain unauthorized access to an application. |

## Mitigations

- Properly encrypt and sign identity tokens in transit, and use industry standard session key generation mechanisms that utilize high amount of entropy to generate the session key. Many standard web and application servers will perform this task on your behalf. Utilize a session timeout for all sessions. If the user does not explicitly logout, terminate their session after this period of inactivity. If the user logs back in then a new session key should be generated.

## Related weaknesses (CWE)

- [CWE-287](https://radicalnotion.ai/cwe/cwe-287): Improper Authentication

## Related attack patterns

| Relationship | CAPEC | Name |
| --- | --- | --- |
| Parent | [CAPEC-21](https://radicalnotion.ai/capec/capec-21) | Exploitation of Trusted Identifiers |
| Child | [CAPEC-60](https://radicalnotion.ai/capec/capec-60) | Reusing Session IDs (aka Session Replay) |
| Child | [CAPEC-61](https://radicalnotion.ai/capec/capec-61) | Session Fixation |
| Child | [CAPEC-102](https://radicalnotion.ai/capec/capec-102) | Session Sidejacking |
| Child | [CAPEC-107](https://radicalnotion.ai/capec/capec-107) | Cross Site Tracing |
| Related | [CAPEC-33](https://radicalnotion.ai/capec/capec-33) | HTTP Request Smuggling |
| Related | [CAPEC-34](https://radicalnotion.ai/capec/capec-34) | HTTP Response Splitting |
| Related | [CAPEC-105](https://radicalnotion.ai/capec/capec-105) | HTTP Request Splitting |
| Related | [CAPEC-273](https://radicalnotion.ai/capec/capec-273) | HTTP Response Smuggling |

## Taxonomy mappings

| Taxonomy | Entry | Id |
| --- | --- | --- |
| ATTACK | Browser Session Hijacking | 1185 |
| ATTACK | Use Alternate Authentication Material:Application Access Token | 1550.001 |
| ATTACK | Remote Service Session Hijacking | 1563 |
| OWASP Attacks | Session hijacking attack | - |

## Frequently asked questions

### What is CAPEC-593?

This type of attack involves an adversary that exploits weaknesses in an application's use of sessions in performing authentication. The adversary is able to steal or manipulate an active session and use it to gain unathorized access to the application.

### How does a Session Hijacking attack work?

It typically unfolds over 3 phases. It begins with: \[Discover Existing Session Token\] Through varrying means, an adversary will discover and store an existing session token for some other authenticated user session.

### How do you prevent CAPEC-593?

Properly encrypt and sign identity tokens in transit, and use industry standard session key generation mechanisms that utilize high amount of entropy to generate the session key. Many standard web and application servers will perform this task on your behalf. Utilize a session timeout for all sessions. If the user does not explicitly logout, terminate their session after this period of inactivity. If the user logs back in then a new session key should be generated.

### What weaknesses does CAPEC-593 target?

CAPEC-593 exploits one CWE weakness: CWE-287 (Improper Authentication).

### How severe is CAPEC-593?

MITRE rates CAPEC-593 as Very High severity with high likelihood of attack.

Primary source: [MITRE CAPEC](https://capec.mitre.org/data/definitions/593.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/capec/capec-593). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
