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

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

Test Case IDAccepted123227
Bad / Good / MixedMixedMixed test case
AuthorNSA/Center for Assured Software
Associations
Test suite: 86  108  
Added byCharles Oliveira
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2013-05-21
DescriptionCWE: 90 LDAP Injection
BadSource: environment Read input from an environment variable
GoodSource: Use a fixed string
Sinks:
BadSink : data concatenated into LDAP search, which could result in LDAP Injection
Flow Variant: 81 Data flow: data passed in a parameter to an virtual method called via a reference
File(s)
Flaw

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


					
				
File Contains:
CWE-090: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') on line(s): 51

					
				

					
				

					
				

					
				

					
				

					
				

Contact: :: Created: Jan. 2006 :: Updated: Nov. 2017 :: Version: 4.9