33 lines
833 B
YAML
Executable File
33 lines
833 B
YAML
Executable File
id: jolokia-logback-jndi-rce
|
|
|
|
info:
|
|
name: Jolokia Logback JNDI - Remote Code Execution
|
|
author: SleepingBag945
|
|
severity: high
|
|
reference:
|
|
- https://thinkloveshare.com/hacking/ssrf_to_rce_with_jolokia_and_mbeans/
|
|
- https://github.com/laluka/jolokia-exploitation-toolkit
|
|
- https://github.com/LandGrey/SpringBootVulExploit#0x04jolokia-logback-jndi-rce
|
|
metadata:
|
|
max-request: 2
|
|
tags: jolokia,springboot,tomcat,rce
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/jolokia/list"
|
|
- "{{BaseURL}}/actuator/jolokia/list"
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'ch.qos.logback.classic.jmx.JMXConfigurator'
|
|
- 'reloadByURL'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200 |