2021-06-22 17:43:31 +00:00
|
|
|
id: jolokia-heap-info-disclosure
|
|
|
|
|
|
|
|
info:
|
2021-06-22 17:46:57 +00:00
|
|
|
name: Jolokia Java Heap Information Disclosure
|
2021-06-22 17:43:31 +00:00
|
|
|
author: milo2012
|
|
|
|
severity: info
|
2021-06-30 10:06:25 +00:00
|
|
|
tags: jolokia,disclosure
|
2021-06-22 17:43:31 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
2021-07-02 12:54:31 +00:00
|
|
|
POST /jolokia/ HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
2021-09-08 12:17:19 +00:00
|
|
|
|
2021-06-22 17:43:31 +00:00
|
|
|
|
2021-07-02 12:54:31 +00:00
|
|
|
{
|
|
|
|
"type":"EXEC",
|
|
|
|
"mbean":"com.sun.management:type=HotSpotDiagnostic",
|
|
|
|
"operation":"dumpHeap",
|
|
|
|
"arguments":[
|
|
|
|
"/tmp1234/test1.hprof",
|
|
|
|
0
|
|
|
|
]
|
|
|
|
}
|
2021-06-22 17:43:31 +00:00
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'stacktrace":"java.io.IOException: No such file or directory'
|
2021-06-22 17:46:57 +00:00
|
|
|
part: body
|