CVE-2018-25115
D-Link DIR-110/412/600/615/645/815 RCE via service.cgi
Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check whether you run any of these D-Link router models: dir-645, dir-600, dir-110, dir-412, dir-610, dir-615, dir-815 (including dir-110 firmware, dir-412 firmware, dir-600 firmware) and confirm the router is running a vulnerable firmware version.
- If you are unsure or can’t verify quickly, treat it as affected: assume service.cgi is reachable and that an attacker on the network could reach it.
- Remove internet exposure to the router’s web/maintenance services (apply firewall rules so the router can’t be reached from the public internet).
- Update/replace the router with a safe, supported model/firmware that is not vulnerable; if your device is out of support, plan a replacement as the permanent fix.
- After changes, verify that the router is no longer reachable from outside your network (for example, only admin access from your office IP/VPN is allowed).
What it is
From the CVE record
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.
In plain language
Written by AI from the recordThis is a serious “send a bad web request to your router” flaw that lets an attacker take full control of certain D-Link DIR routers over the internet—if your business still uses affected DIR-110/412/600/615/645/815 (and DIR-110/DIR-412/DIR-600 firmware) and the router is reachable online, you should act now.
Unauthenticated remote command execution via the D-Link router’s service.cgi endpoint (EVENT=CHECKFW handling) allows an attacker to inject commands that execute with root privileges when the device is reachable over the network.
If you're affected
- Full router takeover
- Traffic interception or redirection
- Device settings manipulation
- Disruption of network operations
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
10% chance of exploitation activity in the next 30 days, which ranks it in the 96th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 163 days before any public exploit.
- EPSS band changelow → moderateepss band change
- OpenVAS check added
- Public exploit / PoCsource: github-poc
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 6 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored 9.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/Cr0n1c/dlink_shell_poc/blob/master/dlink_auth_rce
- legacy.us.dlink.com
- support.dlink.com/EndOfLifePolicy.aspx
And 2 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for DIR-645, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI