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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: jolokia,disclosure,java
|
2021-06-22 17:43:31 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-06-22 17:43:31 +00:00
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100985f2a90699aad1afbc847de3b25248de89a27e7acfdffd679273904893ece72022100dfd178a372da3a28fae73e84630e9dbef40c26a64ef275108bac16a3c5ea9e1b:922c64590222798bb761d5b6d8e72950
|