2023-08-18 03:22:06 +00:00
|
|
|
id: jolokia-logback-jndi-rce
|
|
|
|
|
|
|
|
info:
|
2023-09-08 11:25:00 +00:00
|
|
|
name: Jolokia Logback JNDI - Remote Code Execution
|
2023-08-18 03:22:06 +00:00
|
|
|
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
|
2023-09-08 11:25:00 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
|
|
|
tags: jolokia,springboot,tomcat,rce
|
2023-08-18 03:22:06 +00:00
|
|
|
|
|
|
|
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'
|
2023-09-08 11:25:00 +00:00
|
|
|
- 'reloadByURL'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|