PHP Vulnerability Test Suite Test suite #103
DownloadDescription
Bertrand C. Stivalet and Aurelien Delaitre designed the architecture and oversaw development of a test generator by Telecom Nancy students to create 42 212 test cases in PHP, covering the most common security weakness categories, including XSS, SQL injection, URL redirection, etc. See Bertrand Stivalet and Elizabeth Fong, "Large Scale Generation of Complex and Faulty PHP Test Cases," 2016 IEEE International Conference on Software Testing, Verification and Validation (ICST), Chicago, IL.
Displaying test cases 201 - 225 of 42212 in total
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : use in_array to check if $tainted is in the white list construction : prepared query and right verification
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : use in_array to check if $tainted is in the white list construction : concatenation and checks if the user is allowed to see this data
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : uses of ESAPI, an OWASP API construction : interpretation with simple quote
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : uses of ESAPI, an OWASP API construction : right verification
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : uses of ESAPI, an OWASP API construction : prepared query and no right verification
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : uses of ESAPI, an OWASP API construction : prepared query and right verification
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : uses indirect reference construction : interpretation with simple quote
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : uses indirect reference construction : right verification
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : uses indirect reference construction : prepared query and no right verification
-
Safe sample input : use proc_open to read /tmp/tainted.txt SANITIZE : uses indirect reference construction : prepared query and right verification
-
Unsafe sample input : get the UserData field of $_SESSION sanitize : cast into int construction : interpretation with simple quote
-
Unsafe sample input : get the UserData field of $_SESSION sanitize : cast into int construction : concatenation with simple quote
-
Safe sample input : get the UserData field of $_SESSION sanitize : cast into int construction : right verification
-
Unsafe sample input : get the UserData field of $_SESSION sanitize : cast into int construction : prepared query and no right verification
-
Safe sample input : get the UserData field of $_SESSION sanitize : cast into int construction : prepared query and right verification
-
Safe sample input : get the UserData field of $_SESSION sanitize : cast into int construction : concatenation and checks if the user is allowed to see this data
-
Unsafe sample input : get the UserData field of $_SESSION sanitize : none construction : fopen
-
Unsafe sample input : get the UserData field of $_SESSION SANITIZE : use of preg_replace construction : fopen
-
Safe sample input : get the UserData field of $_SESSION sanitize : use of ternary condition construction : interpretation with simple quote
-
Safe sample input : get the UserData field of $_SESSION sanitize : use of ternary condition construction : concatenation with simple quote
-
Safe sample input : get the UserData field of $_SESSION sanitize : use of ternary condition construction : fopen
-
Safe sample input : get the UserData field of $_SESSION sanitize : use of ternary condition construction : right verification
-
Safe sample input : get the UserData field of $_SESSION sanitize : use of ternary condition construction : prepared query and no right verification
-
Safe sample input : get the UserData field of $_SESSION sanitize : use of ternary condition construction : prepared query and right verification
-
Safe sample input : get the UserData field of $_SESSION sanitize : use of ternary condition construction : concatenation and checks if the user is allowed to see this data