cve.bz

CAPEC-593

Session Hijacking

Very High severityHigh likelihoodStandard pattern

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.

On this page

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-593: Session Hijacking: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/593.html and https://cve.bz/cve/capec/593?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.

How the attack unfolds

  1. Explore

    The attacker looks for a way in.

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

  2. Experiment

    They probe what they found.

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

  3. Exploit

    They carry out the attack.

    1. [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 skill

    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

What a successful attack can lead to
ImpactAffectsNote
Gain PrivilegesConfidentiality, Integrity, AvailabilityA 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.

Weaknesses it exploits

Recent CVEs with these weaknesses

  1. 5.1CVE-2026-119012

    Vulnerability of improper authentication in the DSoftBus module. Impact: Successful exploitation of this vulnerability will affect availability.

  2. 5.3CVE-2026-139894

    A vulnerability was found in davila7 claude-code-templates up to 1.29.6. The affected element is an unknown function of the file cli-tool/src/claude-api-proxy.js of the component Claude API proxy. Performing a manipulation results in missi…

  3. 9.3CVE-2026-138670

    A weakness has been identified in TOTOLINK X6000R up to 9.4.0cu.1458_B20250708. The impacted element is the function setStaticDhcpRules/arp_bind of the file /usr/sbin/shttpd. Executing a manipulation of the argument ip can lead to authenti…

  4. 9.1CVE-2026-137179

    arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Prior to 3.3.12 and in 4.0.0-alpha1, WebServer::authenticate(const char *username, const char *password) parses an arbitr…

  5. 3.7CVE-2026-137029

    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.53.0 and enclave-cluster version 0.8.0, Enclave OS Mini's FIDO2 clone-detection guard skipped comparis…

  6. 9.8CVE-2026-137018

    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to base version 0.25.0 and vault version 0.33.0, Enclave OS Mini's verify_oidc_token function in builds without the wasm feature decoded…

  7. 5.5CVE-2026-138434

    A vulnerability was found in Zylon PrivateGPT up to 1.0.1. Affected is the function authenticated of the file private_gpt/server/utils/auth.py of the component API Authentication. Performing a manipulation of the argument server.auth.enabl…

  8. 5.5CVE-2026-138429

    A weakness has been identified in sosedoff pgweb up to 0.17.0. Impacted is the function RunQuery of the file pkg/api/routes.go of the component API. Executing a manipulation of the argument Query can lead to missing authentication. The att…

The newest records naming one of them. Each weakness's page lists them all.

Part of
  • CAPEC-21 Exploitation of Trusted Identifiers
More specific patterns

MITRE's words, unchanged: CAPEC-593 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.