What it is
The product relies on the existence or values of cookies when performing security-critical operations, but it does not properly ensure that the setting is valid for the associated user.
Impact on systems
| Scope | Impact |
|---|---|
| Confidentiality, Integrity, Availability | Modify Application Data, Execute Unauthorized Code or Commands Attackers can easily modify cookies, within the browser or by implementing the client-side code outside of the browser. Reliance on cookies without detailed validation and integrity checking can allow attackers to bypass authentication, conduct injection attacks such as SQL injection and cross-site scripting, or otherwise modify inputs in unexpected ways. |
| Access Control | Gain Privileges or Assume Identity It is dangerous to use cookies to set a user's privileges. The cookie can be manipulated to escalate an attacker's privileges to an administrative level. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website