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: 19 Control flow: Dead code after an if(true) return
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.