National Institute of Standards and Technology
Package illustrating a test case

Test case 55869

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: 566 Access through SQL primary
BadSource: user id taken from url parameter
GoodSource: hardcoded user id
Sinks: writeConsole
GoodSink: user permissions checked
BadSink : user authorization not checked
Flow Variant: 53 Data flow: data passed as an argument from one method through two others to a fourth; all four functions are in different classes in the same package

Flaws

Test Suites

Documentation

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