CVE-2021-28149: Directory Traversal in Hongdian H8922 log_download.cgi
- Vendor
- Hongdian
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.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
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.
Mitigation
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.
Remediation
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-28149 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-28149?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2021-28149.
- Is there a patch for CVE-2021-28149?
- 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.
- What products are affected by CVE-2021-28149?
- Hongdian H8922 Firmware.
- How severe is CVE-2021-28149?
- CVE-2021-28149 has a CVSS v3.1 score of 6.5 (Medium) and an EPSS score of 15.3% (97th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.