Property
Languagepython
Severitylow
CWECWE-1004: Sensitive Cookie Without ‘HttpOnly’ Flag
OWASPA05:2021 - Security Misconfiguration
Confidence LevelMedium
Impact LevelLow
Likelihood LevelLow

Description#

The Pyramid AuthTkt cookie is being set without the ‘httponly’ flag enabled. This makes the authentication cookie accessible to client-side scripts, increasing the risk of it being stolen through cross-site scripting (XSS) attacks.

Impact#

If exploited, an attacker could steal a user’s authentication cookie via malicious scripts, potentially allowing them to hijack user sessions and gain unauthorized access to sensitive parts of your application. This compromises user data and could lead to further attacks within your system.