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

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

Test Case IDDeprecated122726
Bad / Good / MixedMixedMixed test case
Author
Associations
Replaced by: 248706  
Test suite: 86  
Added bySAMATE Team Staff
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2013-05-21
DescriptionCWE: 78 OS Command Injection
BadSource: listen_socket Read data using a listen socket (server side)
GoodSource: Fixed string
Sink: w32_spawnvp
BadSink : execute command with wspawnvp
Flow Variant: 53 Data flow: data passed as an argument from one function through two others to a fourth; all four functions are in different source files
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): 69