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
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-18 03:22:06 +00:00
|
|
|
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:
|
2023-10-14 11:27:55 +00:00
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402203d501f0329191bf32196da4c587926250f7bb3b69c60c65238b0ab9e36b90e7102201fdbbf50986ae7e38cd9dcccf4ebbdd5f945af9f272b6ff00380909e75da6e0a:922c64590222798bb761d5b6d8e72950
|