Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Attack Patterns CAPEC-59 — Session Credential Falsification through Prediction
CAPEC-59

Session Credential Falsification through Prediction

TLP:CLEAR

Description

Typical severity: High. Likelihood of attack: High. This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.

Mitigation

Use a strong source of randomness to generate a session ID. | Use adequate length session IDs | Do not use information available to the user in order to generate session ID (e.g., time). | Ideas for creating random numbers are offered by Eastlake [RFC1750] | Encrypt the session ID if you expose it to the user. For instance session ID can be stored in a cookie in encrypted format.

Details

Platforms
Software
Added
Jul 14, 2026
Leaving Threaticon

This link opens an external site that isn't part of the platform.