Back to the previous page
| Test Case ID | 156974 |
| Bad / Good / Mixed | Bad |
| Author | IARPA STONESOUP Test and Evaluation team |
| Associations | Test suite: 102 Application: 9 |
| Added by | Charles Oliveira |
| Language | Java |
| Type of test case | Source Code |
| Input string | |
| Expected Output | |
| Instructions | See src/Makefile file. |
| 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: Coffee MUD - Source Taint: SOCKET - Data Type: VOID_POINTER - Data Flow: ADDRESS_AS_FUNCTION_RETURN_VALUE - Control Flow: INDIRECTLY_RECURSIVE |
| File(s) |
|
| Flaw |
There are no comments
Have any comments on this test case? Please,
.
- CMClass.java
- runFifos.py
- service_mon.sh
- J-C606A-CMUD-04-ST03-DT03-DF06-CF02-01.xml
- J-C606A-CMUD-04-ST03-DT03-DF06-CF02-01.yaml
File Contains:
CWE-606: Unchecked Input for Loop Condition on line(s): 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118
CWE-606: Unchecked Input for Loop Condition on line(s): 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118

