Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2021-41506: Backdoor Root Credentials in Xiongmai DVR/NVR/IP Camera Firmware

Published Jun 30, 2022 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS2.4%84th percentile
CISA KEVNoNot listed
In the wildReported2 exploitation records in Mallory
Vendor
Xiongmaitech
IdentifiersCVE-2021-41506CWE-798

CVE-2021-41506 affects multiple Xiongmai-based DVR, NVR, and IP camera firmware builds. The provided content states the issue is a backdoor in the macGuarder and dvrHelper binaries caused by static root account credentials embedded in the system. The same supporting material further characterizes this as a debug interface exposed on TCP port 9527 that permits command execution when those default credentials are used. In practice, the vulnerability stems from hard-coded privileged credentials in vendor firmware components, creating an undocumented administrative access path on affected devices.

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.

Successful exploitation can give an attacker privileged access to the device through the exposed debug service and enable command execution as root or equivalent system-level context. This can allow full compromise of the surveillance device, including arbitrary command execution, configuration manipulation, deployment of follow-on access mechanisms such as telnet, use of the device in botnet activity, and potential pivoting into adjacent networks.

Mitigation

If you can’t patch tonight, do this now.

If a patched firmware image is not available, block external and untrusted internal access to TCP port 9527, disable or restrict management exposure to trusted administration networks only, and place affected devices behind firewalls/VPNs rather than exposing them directly to the internet. Monitor for unexpected access to port 9527 and for signs of post-exploitation activity such as newly opened telnet services or unauthorized command execution. Replace default or static-access pathways where possible and consider device replacement if the vendor cannot provide a fix.

Remediation

Patch, then assume compromise.

Upgrade affected Xiongmai firmware to a vendor-fixed release if one is available for the specific OEM/rebranded device model. Because the issue is rooted in static credentials and a debug interface within firmware components, remediation requires removing or disabling the backdoor mechanism in the affected binaries and eliminating exposure of the port 9527 service. For rebranded devices, obtain firmware only from the device vendor or OEM support channel that explicitly addresses CVE-2021-41506.

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
XiongmaitechAhb7008t-Mh-V2 Firmwareoperating_system
XiongmaitechAhb7804r-Els Firmwareoperating_system
XiongmaitechAhb7804r-Lms Firmwareoperating_system
XiongmaitechAhb7804r-Mh-V2 Firmwareoperating_system
XiongmaitechAhb7808r-Ms Firmwareoperating_system
XiongmaitechAhb7808r-Ms-V2 Firmwareoperating_system
XiongmaitechAhb7808t-Ms-V2 Firmwareoperating_system
XiongmaitechHi3518e 50h10l S39 Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2021-41506 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-41506?
Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2021-41506.
Is there a patch for CVE-2021-41506?
Upgrade affected Xiongmai firmware to a vendor-fixed release if one is available for the specific OEM/rebranded device model. Because the issue is rooted in static credentials and a debug interface within firmware components, remediation requires removing or disabling the backdoor mechanism in the affected binaries and eliminating exposure of the port 9527 service.
What products are affected by CVE-2021-41506?
Xiongmaitech Ahb7008t-Mh-V2 Firmware, Xiongmaitech Ahb7804r-Els Firmware, Xiongmaitech Ahb7804r-Lms Firmware, Xiongmaitech Ahb7804r-Mh-V2 Firmware, Xiongmaitech Ahb7808r-Ms Firmware, and 3 more.
How severe is CVE-2021-41506?
CVE-2021-41506 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 2.4% (84th 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 signaturesYARA, 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.