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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:hongdian:h8922_firmware:3.0.5:*:*:*:*:*:*:*
cpe:2.3:h:hongdian:h8922:-:*:*:*:*:*:*:*

History

No history.

Information

Published : 2021-05-06 16:15

Updated : 2024-02-04 21:47


NVD link : CVE-2021-28149

Mitre link : CVE-2021-28149

CVE.ORG link : CVE-2021-28149


JSON object : View

Products Affected

hongdian

  • h8922
  • h8922_firmware
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')