Back to the previous page
| Test Case ID | 156893 |
| 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 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: Elastic Search - Source Taint: SOCKET - Data Type: ARRAY - Data Flow: BASIC - Control Flow: INDIRECTLY_RECURSIVE |
| File(s) |
|
| Flaw |
There are no comments
Have any comments on this test case? Please,
.
- TribeService.java
- runFifos.py
- service_mon.sh
- J-C036A-ELAS-10-ST03-DT01-DF11-CF02-01.xml
- J-C036A-ELAS-10-ST03-DT01-DF11-CF02-01.yaml
File Contains:
CWE-036: Absolute Path Traversal on line(s): 130, 131, 132
CWE-036: Absolute Path Traversal on line(s): 130, 131, 132

