CVE-2018-25115

D-Link DIR-110/412/600/615/645/815 RCE via service.cgi

10.0 critical EPSS 19.5%

Published 27 Aug 2025 Updated 17 Nov 2026 CNA: VulnCheck

Description

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.

Severity (CVSS)

10.0 critical CVSS 4.0 from VulnCheck (CNA)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Attack requirements
none: an attack works without special conditions on the target
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality high, integrity high, availability high: what an attacker can read, change or stop beyond it

Exploitation

EPSS 19.5%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.9% of all scored CVEs. Scores of 27 Nov 2026.

The assessment of CISA (SSVC, 28 Aug 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

Affected products

As the CNA lists them.

ProductVersions
DIR-110
affected all versions
Other versions: unknown
DIR-412
affected all versions
Other versions: unknown
DIR-600
affected all versions
Other versions: unknown
DIR-615
affected all versions
Other versions: unknown
DIR-645
affected all versions
Other versions: unknown
DIR-815
affected 1.03
Other versions: unknown

Is my server affected?

This CVE is in DIR-110 of D-Link, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Exploits and proof of concept

Other references

Source: the record CVE-2018-25115 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.