National Institute of Standards and Technology
Package illustrating a test case

Test case 156874

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: Apache Lucene
- Source Taint: SOCKET
- Data Type: VOID_POINTER
- Data Flow: ADDRESS_AS_CONSTANT
- Control Flow: INTERRUPT

Flaws

Test Suites

Documentation

Have any comments on this test case? Please, send us an email.