Back to the previous page
| Test Case ID | 61668 |
| Bad / Good / Mixed | Mixed |
| Author | |
| Associations | Test suite: 69 |
| Added by | SAMATE Team Staff |
| Language | Java |
| Type of test case | Source Code |
| Input string | |
| Expected Output | |
| Instructions | |
| Submission date | 2011-04-08 |
| Description | CWE: 90 LDAP Injection BadSource: getCookiesServlet Read data from the first cookie GoodSource: A hardcoded string Sinks: BadSink : unchecked data leads to LDAP injection Flow Variant: 71 Data flow: data passed as an Object reference argument from one method to another in different classes in the same package |
| File(s) |
|
| Flaw |
There is 1 comment
Have any comments on this test case? Please,
.
- IO.java
- AbstractTestCaseServlet.java
- CWE90_LDAP_Injection__Servlet_getCookiesServlet_71a.java
- CWE90_LDAP_Injection__Servlet_getCookiesServlet_71b.java
File Contains:
CWE-090: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') on line(s): 42
CWE-090: Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') on line(s): 42

