Unauthenticated command execution via HNAP IPAddress injection
Published Feb 21, 2024 · Updated Aug 2, 2024
Command injection in D-Link DIR-882 Firmware DIR882A1_FW130B06 allows remote attackers to execute arbitrary commands via HNAP. The SetNetworkSettings handler passes the IPAddress element through sprintf into a command string that system() executes without neutralization. The HNAP service must be reachable from an adjacent network; no credentials or user interaction are required, and commands run on the router.
Summary
What happened
Command injection in D-Link DIR-882 Firmware DIR882A1_FW130B06 allows remote attackers to execute arbitrary commands via HNAP. The SetNetworkSettings handler passes the IPAddress element through sprintf into a command string that system() executes without neutralization. The HNAP service must be reachable from an adjacent network; no credentials or user interaction are required, and commands run on the router.
The record
- CVE
- CVE-2023-24330
- Published
- Feb 21, 2024
- Updated
- Aug 2, 2024
- Vendor
- D-Link
- Product
- DIR-882 Firmware
- Classifications
- CWE-77, T1059.008
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record 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=DIR882A1_FW130B06
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-882 HNAP SetNetworkSettings proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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