Authenticated root code execution via unsanitized IP fields
Published Oct 10, 2023 · Updated Sep 18, 2024
Command injection in D-Link DSL-3782 firmware 1.03 and earlier allows remote authenticated users to execute arbitrary code as root. The network settings handler accepts metacharacters in Router IP Address fields, stores the values through cfg_manager, and interpolates them into a shell command passed to system(). Access to the web-based configuration interface and valid credentials are required; successful injection grants root-level command execution on the router.
Summary
What happened
Command injection in D-Link DSL-3782 firmware 1.03 and earlier allows remote authenticated users to execute arbitrary code as root. The network settings handler accepts metacharacters in Router IP Address fields, stores the values through cfg_manager, and interpolates them into a shell command passed to system(). Access to the web-based configuration interface and valid credentials are required; successful injection grants root-level command execution on the router.
The record
- CVE
- CVE-2023-44959
- Published
- Oct 10, 2023
- Updated
- Sep 18, 2024
- Vendor
- D-Link Corporation
- Product
- D-Link DSL-3782 Firmware
- Classifications
- CWE-77, T1059.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 10, 2023CVE publishedPublication date reported by the CVE source.
- Sep 18, 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=0 <=1.03
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
- DSL-3782 Router command-injection 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