Directory Indexing |
Attack Pattern ID: 127 (Standard Attack Pattern Completeness: Stub) | Typical Severity: Medium | Status: Draft |
Directory Indexing |
Attack Pattern ID: 127 (Standard Attack Pattern Completeness: Stub) | Typical Severity: Medium | Status: Draft |
Summary
An attacker crafts a request to a target that results in the target listing the content of a directory as output. One common method of triggering directory contents as output is to construct a request containing a path that terminates in a directory name rather than a file name since many applications are configured to provide a list of the directory's contents when such a request is received. An attacker can use this to explore the directory tree on a target as well as learn the names of files. This can often end up revealing test files, configuration files, as well as naming patterns, all of which can be used by an attacker to mount additional attacks.
The target must be configured to return a list of a directory's contents when it receives a request that ends in a directory name rather than a file name.
The attacker must be able to control the path of a request processed by the target.
Nature | Type | ID | Name | Description | View(s) this relationship pertains to![]() |
---|---|---|---|---|---|
ChildOf | ![]() | 154 | Resource Location Attacks | Mechanism of Attack (primary)1000 | |
ChildOf | ![]() | 349 | WASC Threat Classification 2.0 - WASC-16 - Directory Indexing | WASC Threat Classification 2.0333 |
Security-Database help your corporation foresee and avoid any security risks that may impact your IT infrastructure and business applications.