Back to the previous page
| Test Case ID | 156746 |
| Bad / Good / Mixed | Bad |
| Author | IARPA STONESOUP Test and Evaluation team |
| Associations | Test suite: 102 Application: 10 |
| Added by | Charles Oliveira |
| Language | Java |
| Type of test case | Source Code |
| Input string | |
| Expected Output | |
| Instructions | See src/build.xml and src/maven-build.xml. |
| Submission date | 2015-10-06 |
| Description | The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service because of excessive looping. This test will try to access a user-controlled file, repeatedly trying if the access fails. The user provides an intentionally bad path, forcing the software to wait forever. Metadata - Base program: Elastic Search - Source Taint: FILE_CONTENTS - Data Type: SIMPLE - Data Flow: ADDRESS_AS_CONSTANT - Control Flow: RECURSIVE |
| File(s) |
|
| Flaw |
There are no comments
Have any comments on this test case? Please,
.
- IndexCacheModule.java
- runFifos.py
- service_mon.sh
- J-C606A-ELAS-05-ST02-DT02-DF05-CF19-01.xml
- J-C606A-ELAS-05-ST02-DT02-DF05-CF19-01.yaml
File Contains:
CWE-606: Unchecked Input for Loop Condition on line(s): 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81
CWE-606: Unchecked Input for Loop Condition on line(s): 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81

