Deprecated test case
Description
CWE: 113 HTTP Response Splitting
BadSource: fromFile Read data from file (named c:\data.txt)
GoodSource: A hardcoded string
Sinks: setHeaderServlet
GoodSink: URLEncode input
BadSink : querystring to setHeader()
Flow Variant: 12 Control flow: if(IO.static_returns_t_or_f())
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.