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

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

Test Case IDAccepted2084
Bad / Good / MixedBadBad test case
AuthorCharline Cleraux
Associations
Test suite: 63  65  
Added byCharline Cleraux
LanguageJava
Type of test caseSource Code
Input stringfile.txt
Expected Output
Instructions
Submission date2009-08-21
DescriptionThe code tries to execute a system command, read from the input buffer, without any validation.
File(s)
Flaw

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

File Contains:
CWE-078: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') on line(s): 48