Unauthenticated command execution via unsanitized IPsec parameters
Published Jun 4, 2025 · Updated Jun 5, 2025
OS command injection in D-Link DIR-816 1.10CNB05 allows remote attackers to execute arbitrary commands through its web interface. The setipsec_config handler stores unchecked localIP or remoteIP values in NVRAM, and IpsecAction later inserts the stored input into an OS command. No authentication is required; crafted HTTP requests can start an arbitrary service or otherwise read, modify, or interrupt the router.
Summary
What happened
OS command injection in D-Link DIR-816 1.10CNB05 allows remote attackers to execute arbitrary commands through its web interface. The setipsec_config handler stores unchecked localIP or remoteIP values in NVRAM, and IpsecAction later inserts the stored input into an OS command. No authentication is required; crafted HTTP requests can start an arbitrary service or otherwise read, modify, or interrupt the router.
The record
- CVE
- CVE-2025-5620
- Published
- Jun 4, 2025
- Updated
- Jun 5, 2025
- Vendor
- D-Link
- Product
- DIR-816
- Classifications
- CWE-77, CWE-78, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 4, 2025CVE publishedPublication date reported by the CVE source.
- Jun 5, 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.10CNB05
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
- Unauthenticated two-request telnet-shell 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