CVE-2018-25120
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-29

Last updated on: 2025-11-28

Assigner: VulnCheck

Description
D-Link DNS-343 ShareCenter devices running firmware versions up to and including 1.05 contain a command injection vulnerability in the Mail Test functionality. The web maintenance script posts to the internal goForm endpoint '/goform/Mail_Test' and uses several form parameters directly in a call to a system email utility without proper input validation. An unauthenticated remote attacker can supply crafted form data that injects shell commands, resulting in execution as root on the device. NOTE: The DNS-343 product line has been declared end-of-life.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-29
Last Modified
2025-11-28
Generated
2026-06-16
AI Q&A
2025-10-29
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
dlink dns-343_firmware to 1.0.5 (inc)
dlink dns-343 *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product 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.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in D-Link DNS-343 ShareCenter devices running firmware up to version 1.05. It is a command injection flaw in the Mail Test functionality, where the web maintenance script uses form parameters directly in a system email utility call without proper input validation. An unauthenticated remote attacker can exploit this by sending crafted form data that injects shell commands, leading to execution of those commands as root on the device.

Impact Analysis

The vulnerability allows an unauthenticated remote attacker to execute arbitrary commands with root privileges on the affected device. This can lead to full compromise of the device, unauthorized access, data theft, disruption of services, or use of the device as a foothold for further attacks within a network.

Mitigation Strategies

Since the DNS-343 product line is end-of-life and contains a critical command injection vulnerability in the Mail Test functionality, immediate mitigation steps include discontinuing use of the affected devices, isolating them from the network to prevent remote exploitation, and replacing them with supported hardware. There is no indication of available patches or updates for this vulnerability.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2018-25120. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart