2022-09-08 13:28:46 +00:00
|
|
|
id: jolokia-info-disclosure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Jolokia - Information disclosure
|
|
|
|
author: pussycat0x
|
|
|
|
severity: medium
|
2024-01-03 06:08:41 +00:00
|
|
|
description: Jolokia - Information is exposed.
|
2022-09-08 13:28:46 +00:00
|
|
|
reference:
|
|
|
|
- https://thinkloveshare.com/hacking/ssrf_to_rce_with_jolokia_and_mbeans/
|
|
|
|
- https://github.com/laluka/jolokia-exploitation-toolkit
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 16
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: jolokia,springboot,mbean,tomcat,misconfig
|
2022-09-08 13:28:46 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-09-08 13:28:46 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2024-04-12 10:31:51 +00:00
|
|
|
- "{{BaseURL}}{{paths}}"
|
|
|
|
payloads:
|
|
|
|
paths:
|
|
|
|
- "/actuator/jolokia/read/JMImplementation:type=MBeanServerDelegate/ImplementationName"
|
|
|
|
- "/actuator/jolokia/read/JMImplementation:type=MBeanServerDelegate/ImplementationVendor"
|
|
|
|
- "/actuator/jolokia/read/JMImplementation:type=MBeanServerDelegate/ImplementationVersion"
|
|
|
|
- "/actuator/jolokia/read/JMImplementation:type=MBeanServerDelegate/MBeanServerId"
|
|
|
|
- "/actuator/jolokia/read/JMImplementation:type=MBeanServerDelegate/SpecificationName"
|
|
|
|
- "/actuator/jolokia/read/JMImplementation:type=MBeanServerDelegate/SpecificationVendor"
|
|
|
|
- "/actuator/jolokia/read/JMImplementation:type=MBeanServerDelegate/SpecificationVersion"
|
|
|
|
- "/actuator/jolokia/read/java.lang:type=Memory"
|
|
|
|
- "/jolokia/read/java.lang:type=Memory"
|
|
|
|
- "/jolokia/read/JMImplementation:type=MBeanServerDelegate/ImplementationName"
|
|
|
|
- "/jolokia/read/JMImplementation:type=MBeanServerDelegate/ImplementationVendor"
|
|
|
|
- "/jolokia/read/JMImplementation:type=MBeanServerDelegate/ImplementationVersion"
|
|
|
|
- "/jolokia/read/JMImplementation:type=MBeanServerDelegate/MBeanServerId"
|
|
|
|
- "/jolokia/read/JMImplementation:type=MBeanServerDelegate/SpecificationName"
|
|
|
|
- "/jolokia/read/JMImplementation:type=MBeanServerDelegate/SpecificationVendor"
|
|
|
|
- "/jolokia/read/JMImplementation:type=MBeanServerDelegate/SpecificationVersion"
|
2022-09-08 13:28:46 +00:00
|
|
|
|
|
|
|
matchers-condition: or
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
name: memory
|
|
|
|
words:
|
|
|
|
- '"mbean":"java.lang:type=Memory"'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: implementation-vendor
|
|
|
|
words:
|
|
|
|
- '"attribute":"ImplementationVendor"'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: implementation-version
|
|
|
|
words:
|
|
|
|
- '"attribute":"ImplementationVersion"'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: implementation-name
|
|
|
|
words:
|
|
|
|
- '"attribute":"ImplementationName"'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: specification-vendor
|
|
|
|
words:
|
|
|
|
- '"attribute":"SpecificationVendor"'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: mbean-serverid
|
|
|
|
words:
|
|
|
|
- '"attribute":"MBeanServerId"'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: specification-name
|
|
|
|
words:
|
|
|
|
- '"attribute":"SpecificationName"'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
name: specification-version
|
|
|
|
words:
|
|
|
|
- '"attribute":"SpecificationVersion'
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 4a0a0047304502207984bf6600398a0c8338aa2a4956522136a6622c2a965d06c8d1aaf27b6b61b0022100a268e04e524bc184772b97a9486cdaea3d0284a2e621f37b339c5cd27a938723:922c64590222798bb761d5b6d8e72950
|