CVE-2024-33112: Command Injection in D-Link DIR-845L hnap_main()
- Vendor
- D-Link
A command injection vulnerability exists in D-Link DIR-845L router firmware version 1.01KRb03 and earlier. The vulnerability is present in the hnap_main() function, which fails to properly sanitize user-supplied input, allowing attackers to inject and execute arbitrary system commands on the device.
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 allows remote attackers to execute arbitrary commands on the router with the privileges of the web server process, potentially leading to full device compromise, unauthorized configuration changes, or use of the device as a pivot point for further attacks.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to the router's management interface to trusted hosts only. Disable remote management if not required. Employ network segmentation and monitoring to detect suspicious activity targeting the device.
Remediation
Patch, then assume compromise.
Upgrade the D-Link DIR-845L router to a firmware version that addresses this vulnerability. If no patched firmware is available, contact D-Link support for further guidance.
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.
Frequently asked questions
- Is CVE-2024-33112 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-2024-33112?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2024-33112.
- Is there a patch for CVE-2024-33112?
- Upgrade the D-Link DIR-845L router to a firmware version that addresses this vulnerability. If no patched firmware is available, contact D-Link support for further guidance.
- What products are affected by CVE-2024-33112?
- D-Link Dir-845l and D-Link Dir-845l Firmware.
- How severe is CVE-2024-33112?
- CVE-2024-33112 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 6.5% (94th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.