Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2021-28149: Directory Traversal in Hongdian H8922 log_download.cgi

Published May 6, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.5Medium · v3.1
EPSS15.3%97th percentile
CISA KEVNoNot listed
In the wildReported306 exploitation records in Mallory
Vendor
Hongdian
IdentifiersCVE-2021-28149CWE-22 · Improper Limitation of a Pathname…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
HongdianH8922 Firmwareoperating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.