Path Traversal in Hongdian H8922 Firmware
CVE-2021-28149
Hongdian H8922 3.0.5 devices allow Directory Traversal. The /log_download.cgi log export handler does not validate user input and allows a remote attacker with minimal privileges to download any file from the device by substituting ../ (e.g., ../../etc/passwd) This can be carried out with a web browser by changing the file name accordingly. Upon visiting log_download.cgi?type=../../etc/passwd and logging in, the web server will allow a download of the contents of the /etc/passwd file.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.153, 96.8th percentile (scored ); down from 0.159 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.159 · newest: 0.153 · change: -0.006
Affected products
- Hongdian H8922 Firmware — versions 3.0.5
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 17 other repositories (0day404/vulnerability-poc, 20142995/nuclei-templates, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- en.hongdian.com/Products/Details/H8922 (Product, Vendor Advisory)
- ssd-disclosure.com/ssd-advisory-hongdian-h8922-multiple-vulnerabilities/ (Exploit, Third Party Advisory)