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

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

Test Case IDDeprecated61750
Bad / Good / MixedMixedMixed test case
Author
Associations
Test suite: 69  
Added bySAMATE Team Staff
LanguageJava
Type of test caseSource Code
Input string
Expected Output
Instructions
Submission date2011-04-08
DescriptionCWE: 90 LDAP Injection
BadSource: listen_tcp Read data using a listening tcp connection
GoodSource: A hardcoded string
BadSink: unchecked data leads to LDAP injection
Flow Variant: 19 Control flow: Dead code after an if(true) return
File(s)
Flaw

There is 1 comment
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): 124, 162