SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #156942

Back to the previous page... Back to the previous page

Test Case IDCandidate156942
Bad / Good / MixedBadBad test case
AuthorIARPA STONESOUP Test and Evaluation team
Associations
Test suite: 102  
Application: 10  
Added byCharles Oliveira
LanguageJava
Type of test caseSource Code
Input string
Expected Output
Instructions
See src/build.xml and src/maven-build.xml.
Submission date2015-10-06
DescriptionThe system or application is vulnerable to file system contents
disclosure through path equivalence. Path equivalence involves the
use of special characters in file and directory names. The associated
manipulations are intended to generate multiple names for the same
object. This test will accept input of a file to read, but prohibits access
to file in the /etc directory. The input generates an equivalent name
/////etc/////passwd which bypasses the filter.

Metadata
- Base program: Elastic Search
- Source Taint: SOCKET
- Data Type: ARRAY
- Data Flow: JAVA_GENERICS
- Control Flow: BREAK_WITH_LABEL
File(s)
Flaw

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-041: Improper Resolution of Path Equivalence on line(s): 524, 525, 526, 527, 528, 529, 530, 531, 532, 533