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

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

Test Case IDCandidate156957
Bad / Good / MixedBadBad test case
AuthorIARPA STONESOUP Test and Evaluation team
Test suite: 102  
Application: 14  
Added byCharles Oliveira
Type of test caseSource Code
Input string
Expected Output
See src/BUILD.txt file for instructions on how to install.
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.

- Base program: Apache Lucene
- Source Taint: SOCKET
- Data Type: SIMPLE
- Data Flow: INDEX_ALIAS_1

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

File Contains:
CWE-041: Improper Resolution of Path Equivalence on line(s): 86, 87, 88, 89, 90, 91, 92, 93