-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
metadata: | ||
language: v1-beta | ||
name: "Filesystem exposure via /home/000~ROOT~000/" | ||
description: "Tests for exposed 000~ROOT~000 in current path and at the root directory of site" | ||
author: "r3nt0n" | ||
tags: "exposure", "path traversal" | ||
|
||
run for each: | ||
payloads_array = | ||
"/home/000~ROOT~000/", | ||
`{base.request.url.path}/home/000~ROOT~000/` | ||
|
||
given request then | ||
send request: | ||
replacing path: `{payloads_array}` | ||
|
||
if "Index of" in {latest.response} then | ||
report issue: | ||
severity: high | ||
confidence: firm | ||
detail: "Potential exposure of entire filesystem via \"/home/000~ROOT~000\" path" | ||
end if |