Umbra Wiki weakness weakness/CWE-614
Back to wiki

CWE-614 — Sensitive Cookie in HTTPS Session Without 'Secure' Attribute

provenance: imported · CWE: CWE-614

CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute

MITRE CWE weakness

Kind Weakness
Abstraction Variant
Status Draft
Likelihood of exploit

Description

The Secure attribute for sensitive cookies in HTTPS sessions is not set.

Common consequences

  • Confidentiality: Read Application Data

Mitigations

Implementation — Always set the secure attribute when the cookie should be sent via HTTPS only.

References

  • CWE page: https://cwe.mitre.org/data/definitions/614.html
  • CWE list: https://cwe.mitre.org/data/index.html