National Institute of Standards and Technology
Package illustrating a test case

Test case 55833

Deprecated test case

This version contains mistakes, making it deprecated. Deprecated test cases should not be used for new work. However, They remain in the SARD as a reference to redo previous work.

Description

CWE: 565 Cookies used to make a security decision; in this case a cookie is used to tell whether someone has administrator privileges
Sinks: cookieInSecurityDecisionServlet
GoodSink: Uses isUserInRole() to authorize user
BadSink : Uses the cookie to authorize user
Flow Variant: 08 Control flow: if(private_returns_t()) and if(private_returns_f())

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.