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: SIMPLE
- Data Flow: ADDRESS_AS_FUNCTION_RETURN_VALUE
- Control Flow: RECURSIVE
Flaws
Test Suites
Documentation
Have any comments on this test case? Please, send us an email.