SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #157026

Back to the previous page... Back to the previous page

Test Case IDCandidate157026
Bad / Good / MixedBadBad test case
AuthorBertrand Stivalet and Aurelien Delaitre
Associations
Test suite: 103  
Added byCharles Oliveira
LanguagePHP
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2015-10-20
DescriptionUnsafe sample
input : backticks interpretation, reading the file /tmp/tainted.txt
SANITIZE : use of preg_replace
construction : fopen
File(s)
Flaw

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-862: Missing Authorization on line(s): 51