D-Link DIR routers v1.03 arbitrary cmd exec via service.cgi CVE-2018-25115
CVE-2018-25115 Published on August 27, 2025
D-Link DIR-110/412/600/615/645/815 RCE via service.cgi
Multiple D-Link DIR-series routers, including DIR-110, DIR-412, DIR-600, DIR-610, DIR-615, DIR-645, and DIR-815 firmware version 1.03, contain a vulnerability in the service.cgi endpoint that allows remote attackers to execute arbitrary system commands without authentication. The flaw stems from improper input handling in the EVENT=CHECKFW parameter, which is passed directly to the system shell without sanitization. A crafted HTTP POST request can inject commands that are executed with root privileges, resulting in full device compromise. These router models are no longer supported at the time of assignment and affected version ranges may vary. Exploitation evidence was first observed by the Shadowserver Foundation on 2025-08-21 UTC.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2018-25115 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2018-25115
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2018-25115 are published in these products:
Affected Versions
D-Link DIR-110:- Version * is affected.
- Version * is affected.
- Version * is affected.
- Version * is affected.
- Version * is affected.
- Version *, <= Version A 1.3 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.