Unauthenticated code execution via service command injection
Published Mar 22, 2024 · Updated Aug 23, 2024
OS command injection in D-Link DIR-845L firmware 1.01KRb03 and earlier allows remote attackers to execute code via crafted requests. The soapcgi_main function takes the service value following ?service= in REQUEST_URI, formats it into a command string, and passes it to system(). No authentication or user interaction is required, and successful exploitation runs attacker-supplied operating-system commands on the router.
Summary
What happened
OS command injection in D-Link DIR-845L firmware 1.01KRb03 and earlier allows remote attackers to execute code via crafted requests. The soapcgi_main function takes the service value following ?service= in REQUEST_URI, formats it into a command string, and passes it to system(). No authentication or user interaction is required, and successful exploitation runs attacker-supplied operating-system commands on the router.
The record
- CVE
- CVE-2024-29385
- Published
- Mar 22, 2024
- Updated
- Aug 23, 2024
- Vendor
- D-Link
- Product
- DIR-845L Firmware
- Classifications
- CWE-77, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 22, 2024CVE publishedPublication date reported by the CVE source.
- Aug 23, 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.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 soapcgi_main proof of conceptproof of concept · 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