Displaying test cases 1801 - 1825 of 113211 in total
-
Hardcoded string input Xpath replace char sink : SQL query
-
Hardcoded string input Xpath replace char sink : SQL query
-
Hardcoded string input Xpath replace char sink : SQL query
-
input : shell commands Xpath replace char sink : SQL query
-
input : shell commands Xpath replace char sink : SQL query
-
Command line args filtering : remove all '\', '*', '(', ')', 'u0000', '/' in parameter sink : SQL query
-
input : shell commands filtering : remove all '\', '*', '(', ')', 'u0000', '/' in parameter sink : SQL query
-
input : shell commands filtering : remove all '\', '*', '(', ')', 'u0000', '/' in parameter sink : SQL query
-
Command line args filtering : remove semi-colon and all invalid filenames and chars in paths sink : SQL query
-
Hardcoded string input filtering : remove semi-colon and all invalid filenames and chars in paths sink : SQL query
-
input : direct user input in string filtering : remove semi-colon and all invalid filenames and chars in paths sink : SQL query
-
Command line args filtering : check if there is only numbers sink : SQL query
-
Hardcoded string input filtering : check if there is only numbers sink : SQL query
-
Hardcoded string input filtering : check if there is only numbers sink : SQL query
-
input : direct user input in string filtering : check if there is only numbers sink : SQL query
-
input : shell commands filtering : check if there is only numbers sink : SQL query
-
input : direct user input in string no filtering sink : SQL query
-
input : shell commands no filtering sink : SQL query
-
CWE: 89 SQL Injection BadSource: URLConnection Read data from a web server with URLConnection GoodSource: A hardcoded string Sinks: executeBatch GoodSink: Use prepared statement and executeBatch (properly) BadSink : data concatenated into SQL statement used in executeBatch(), which could res...
-
CWE: 89 SQL Injection BadSource: Property Read data from a system property GoodSource: A hardcoded string Sinks: prepareStatement GoodSink: Use prepared statement and execute (properly) BadSink : data concatenated into SQL statement used in prepareStatement() call, which could result in SQL ...
-
CWE: 89 SQL Injection BadSource: getQueryString_Servlet Parse id param out of the URL query string (without using getParameter()) GoodSource: A hardcoded string Sinks: executeQuery GoodSink: Use prepared statement and executeQuery (properly) BadSink : data concatenated into SQL statement use...
-
CWE: 89 SQL Injection BadSource: getCookies_Servlet Read data from the first cookie using getCookies() GoodSource: A hardcoded string Sinks: prepareStatement GoodSink: Use prepared statement and execute (properly) BadSink : data concatenated into SQL statement used in prepareStatement() call...
-
CWE: 89 SQL Injection BadSource: File Read data from file (named c:\data.txt) GoodSource: A hardcoded string Sinks: executeQuery GoodSink: Use prepared statement and executeQuery (properly) BadSink : data concatenated into SQL statement used in executeQuery(), which could result in SQL Injec...
-
CWE: 89 SQL Injection BadSource: Environment Read data from an environment variable GoodSource: A hardcoded string Sinks: prepareStatement GoodSink: Use prepared statement and execute (properly) BadSink : data concatenated into SQL statement used in prepareStatement() call, which could resul...
-
CWE: 89 SQL Injection BadSource: console_readLine Read data from the console using readLine() GoodSource: A hardcoded string Sinks: executeBatch GoodSink: Use prepared statement and executeBatch (properly) BadSink : data concatenated into SQL statement used in executeBatch(), which could res...