SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #64: Java Test Suite for Source Code Analyzer - false positive

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
21662010-02-02JavaSource CodeAccepted This servlet implements a fixed SQL injection vulnerability with ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Good test case
21652010-02-02JavaSource CodeAccepted This servlet implements a fixed SQL injection vulnerability with ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Good test case
21642010-02-02JavaSource CodeAccepted This servlet implements a fixed SQL injection vulnerability: a ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Good test case
21602010-02-02JavaSource CodeAccepted This servlet implements a fixed Cross-Site Scripting ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Good test case
21592010-02-02JavaSource CodeAccepted This servlet implements a fixed Cross-Site Scripting ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Good test case
21582010-02-02JavaSource CodeAccepted This servlet implements a fixed Cross-Site Scripting ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Good test case
21572010-02-02JavaSource CodeAccepted This servlet implements a fixed Cross-Site Scripting ...CWE-079: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Good test case
21292009-10-15JavaSource CodeAccepted Basically developer can debug his code by typing ...CWE-489: Leftover Debug Code
Good test case
21282009-10-15JavaSource CodeAccepted Here we try to get the system property from a specified key and thenrCWE-476: NULL Pointer Dereference
Good test case
21272009-10-15JavaSource CodeAccepted Here we try to get the system property from a specified key and thenrCWE-476: NULL Pointer Dereference
Good test case
21262009-10-15JavaSource CodeAccepted Here we try to get the system property from a specified key and thenrCWE-476: NULL Pointer Dereference
Good test case
21252009-10-15JavaSource CodeAccepted Here we try to get the system property from a specified key and thenrCWE-476: NULL Pointer Dereference
Good test case
21242009-10-15JavaSource CodeAccepted Suppose the file /tmp/resourceLock is used as a resource lock. ...CWE-412: Unrestricted Externally Accessible Lock
Good test case
21232009-10-15JavaSource CodeAccepted A FileInputStream such as image data is tried to be created. ...CWE-391: Unchecked Error Condition
Good test case
21222009-10-15JavaSource CodeAccepted It checks the state of the file myfile.txt. Its state can change ...CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
Good test case
21212009-10-15JavaSource CodeAccepted The password to know if the user is authorized to do high-level workiCWE-259: Use of Hard-coded Password
Good test case
21202009-10-15JavaSource CodeAccepted The password to know if the user is authorized to do high-level workiCWE-259: Use of Hard-coded Password
Good test case
21192009-10-15JavaSource CodeAccepted The password to know if the user is authorized to do high-level workiCWE-259: Use of Hard-coded Password
Good test case
21182009-10-15JavaSource CodeAccepted The password to know if the user is authorized to do high-level workiCWE-259: Use of Hard-coded Password
Good test case
21172009-10-15JavaSource CodeAccepted The password to know if the user is authorized to do high-level workiCWE-259: Use of Hard-coded Password
Good test case
1 2
Total of selected test cases: 27
Total pages: 2