National Institute of Standards and Technology
Package illustrating a test case

Test case 128400

Description

CWE: 15 External Control of System or Configuration Setting
BadSource: getQueryString_Servlet Parse id param out of the URL query string (without using getParameter())
GoodSource: A hardcoded string
BadSink: Set the catalog name with the value of data
Flow Variant: 51 Data flow: data passed as an argument from one function to another in different classes in the same package

Flaws

Test Suites

Documentation

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