Unauthenticated command execution via HNAP SOAPAction
Published May 6, 2024 · Updated Jan 7, 2025
OS command injection in D-Link DIR-845L 1.01KRb03 and earlier allows remote attackers to execute commands through HNAP requests. The hnap_main function accepts a SOAPAction containing the GetDeviceSettings URI, then treats trailing action text as a shell command without neutralizing metacharacters. The unauthenticated proof of concept writes a file and starts a telnet service, while published impact evidence does not establish data disclosure.
Summary
What happened
OS command injection in D-Link DIR-845L 1.01KRb03 and earlier allows remote attackers to execute commands through HNAP requests. The hnap_main function accepts a SOAPAction containing the GetDeviceSettings URI, then treats trailing action text as a shell command without neutralizing metacharacters. The unauthenticated proof of concept writes a file and starts a telnet service, while published impact evidence does not establish data disclosure.
The record
- CVE
- CVE-2024-33112
- Published
- May 6, 2024
- Updated
- Jan 7, 2025
- Vendor
- D-Link
- Product
- DIR-845L
- Classifications
- CWE-77, CWE-78, T1190, T1059.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 6, 2024CVE publishedPublication date reported by the CVE source.
- Oct 21, 2024Exploitation reportedCAPSAICIN botnet exploitation of the D-Link HNAP weakness
- Jan 7, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.01KRb03
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- DIR-845L HNAP SOAPAction command-injection proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo