SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #63: Java Test Suite for Source Code Analyzer - weakness

Results: 27 test cases in 2 pages. Pages: 1 2
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
21632010-02-02JavaSource CodeAccepted This servlet implements an SQL injection vulnerability with a ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
21622010-02-02JavaSource CodeAccepted This servlet implements an SQL injection vulnerability with an arrayiCWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
21612010-02-02JavaSource CodeAccepted This servlet implements an SQL injection vulnerability: an ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
21562010-02-02JavaSource CodeAccepted This servlet implements a Cross-Site Scripting vulnerability ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Bad test case
21552010-02-02JavaSource CodeAccepted This servlet implements a Cross-Site Scripting vulnerability ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Bad test case
21542010-02-02JavaSource CodeAccepted This servlet implements a Cross-Site Scripting vulnerability ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Bad test case
21532010-02-02JavaSource CodeAccepted This servlet implements a Cross-Site Scripting vulnerability ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Bad test case
21072009-08-24JavaSource CodeAccepted This test is an example of a "potential" null pointer ...CWE-476: NULL Pointer Dereference
Bad test case
21062009-08-24JavaSource CodeAccepted This test is an example of a "potential" null pointer ...CWE-476: NULL Pointer Dereference
Bad test case
21052009-08-24JavaSource CodeAccepted This test is an example of a "potential" null pointer ...CWE-476: NULL Pointer Dereference
Bad test case
21042009-08-22JavaSource CodeAccepted This is an example of what could be a critical resource lock ...CWE-412: Unrestricted Externally Accessible Lock
Bad test case
21032009-08-22JavaSource CodeAccepted This test illustrates an "unchecked error condition" ...CWE-391: Unchecked Error Condition
Bad test case
20992009-08-22JavaSource CodeAccepted This test is an example of a "potential" null pointer ...CWE-476: NULL Pointer Dereference
Bad test case
20982009-08-22JavaSource CodeAccepted This test illustrates the potential to create entry points in ...CWE-489: Leftover Debug Code
Bad test case
20962009-08-21JavaSource CodeAccepted The code checks the state of a file to use but its state can ...CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Bad test case
20952009-08-21JavaSource CodeAccepted Authorization is given by an hard-coded password, which is built ...CWE-259: Use of Hard-coded Password
Bad test case
20942009-08-21JavaSource CodeAccepted Authorization is given by an hard-coded password, which is built ...CWE-259: Use of Hard-coded Password
Bad test case
20932009-08-21JavaSource CodeAccepted Authorization is given by an hard-coded password, which is built ...CWE-259: Use of Hard-coded Password
Bad test case
20922009-08-21JavaSource CodeAccepted Authorization is given by an hard-coded password, which is built ...CWE-259: Use of Hard-coded Password
Bad test case
20912009-08-21JavaSource CodeAccepted Authorization is given by an hard-coded password, which is built ...CWE-259: Use of Hard-coded Password
Bad test case
1 2
Total of selected test cases: 27
Total pages: 2