Directory Traversal in Hongdian H8922 log_download.cgi
CVE-2021-28149 is a directory traversal vulnerability in the log export handler of Hongdian H8922 3.0.5 devices. The /log_download.cgi endpoint does not validate user-controlled input in the type parameter. An authenticated remote attacker with minimal privileges can supply directory-traversal sequences to request files outside the intended log-export location, including system files such as /etc/passwd.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
An attacker can download arbitrary files accessible to the web-server process from the affected device. This can expose sensitive system configuration, account, and other locally readable data.
If you can’t patch tonight, do this now.
Restrict access to the device's web administration interface to trusted management networks only, disable external exposure of the management plane, and limit accounts with access to the interface to the minimum necessary. Monitor for abnormal file download activity via the log export endpoint and review device access logs for attempts to request unexpected files. Where immediate patching is not possible, place the interface behind network access controls or a VPN and reduce the privileges of accounts that can authenticate to the appliance.
Patch, then assume compromise.
Upgrade affected Hongdian H8922 devices to a vendor-fixed release if one is available. The vulnerable log export functionality should be corrected so that user-controlled input cannot influence filesystem paths outside the intended log directory. Proper remediation requires strict server-side canonicalization and validation of requested paths, rejection of traversal sequences, and enforcement of an allowlist of permitted downloadable files.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.