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 226 - 250 of 42212 in total
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : use in_array to check if $tainted is in the white list construction : interpretation with simple quote
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : use in_array to check if $tainted is in the white list construction : concatenation with simple quote
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : use in_array to check if $tainted is in the white list construction : fopen
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : use in_array to check if $tainted is in the white list construction : right verification
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : use in_array to check if $tainted is in the white list construction : prepared query and no right verification
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : use in_array to check if $tainted is in the white list construction : prepared query and right verification
-
Safe sample input : get the UserData field of $_SESSION 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 : get the UserData field of $_SESSION SANITIZE : uses of ESAPI, an OWASP API construction : interpretation with simple quote
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : uses of ESAPI, an OWASP API construction : right verification
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : uses of ESAPI, an OWASP API construction : prepared query and no right verification
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : uses of ESAPI, an OWASP API construction : prepared query and right verification
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : uses indirect reference construction : interpretation with simple quote
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : uses indirect reference construction : right verification
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : uses indirect reference construction : prepared query and no right verification
-
Safe sample input : get the UserData field of $_SESSION SANITIZE : uses indirect reference construction : prepared query and right verification
-
Unsafe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : cast into int construction : interpretation with simple quote
-
Unsafe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : cast into int construction : concatenation with simple quote
-
Safe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : cast into int construction : right verification
-
Unsafe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : cast into int construction : prepared query and no right verification
-
Safe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : cast into int construction : prepared query and right verification
-
Safe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : cast into int construction : concatenation and checks if the user is allowed to see this data
-
Unsafe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : none construction : fopen
-
Unsafe sample input : use shell_exec to cat /tmp/tainted.txt SANITIZE : use of preg_replace construction : fopen
-
Safe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : use of ternary condition construction : interpretation with simple quote
-
Safe sample input : use shell_exec to cat /tmp/tainted.txt sanitize : use of ternary condition construction : concatenation with simple quote