Back to the previous page
Test Case ID | ![]() |
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 software uses external input to construct a pathname that should be within a restricted directory, but it does not neutralize absolute path sequences such as '/abs/path' that can resolve to a location that is outside of that directory. This test takes in a filename to read. Since the provided filename isn't checked to ensure it doesn't contain an absolute path, it allows reading of any file on the system. Metadata - Base program: Coffee MUD - Source Taint: SOCKET - Data Type: SIMPLE - Data Flow: VAR_ARG_LIST - Control Flow: INTERRUPT |
File(s) |
|
Flaw |
There are no comments
Have any comments on this test case? Please,
.
- WaterFowl.java
- runFifos.py
- service_mon.sh
- J-C036A-CMUD-09-ST03-DT02-DF12-CF16-01.yaml
- J-C036A-CMUD-09-ST03-DT02-DF12-CF16-01.xml
File Contains:
CWE-036: Absolute Path Traversal on line(s): 391, 392, 393, 394
CWE-036: Absolute Path Traversal on line(s): 391, 392, 393, 394