CVE-2011-3887 - Reliance on Cookies without Validation and Integrity Checking

Severity

50%

Complexity

99%

Confidentiality

48%

Google Chrome before 15.0.874.102 does not properly handle javascript: URLs, which allows remote attackers to bypass intended access restrictions and read cookies via unspecified vectors.

Google Chrome before 15.0.874.102 does not properly handle javascript: URLs, which allows remote attackers to bypass intended access restrictions and read cookies via unspecified vectors.

CVSS 2.0 Base Score 5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N).

Demo Examples

Reliance on Cookies without Validation and Integrity Checking

CWE-565

The following code excerpt reads a value from a browser cookie to determine the role of the user.


               
}
}
userRole = c.getValue();

It is easy for an attacker to modify the "role" value found in the locally stored cookie, allowing privilege escalation.

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.