CVE-2018-25120

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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:dlink:dns-343_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:dlink:dns-343:-:*:*:*:*:*:*:*

History

28 Nov 2025, 17:01

Type Values Removed Values Added
First Time Dlink dns-343 Firmware
Dlink
Dlink dns-343
CPE cpe:2.3:h:dlink:dns-343:-:*:*:*:*:*:*:*
cpe:2.3:o:dlink:dns-343_firmware:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References () https://github.com/jamesbercegay/advisories/blob/master/%5BGTSA-00128%5D%20D-Link%20DNS-343%20ShareCenter%201.05%20Remote%20Root.txt - () https://github.com/jamesbercegay/advisories/blob/master/%5BGTSA-00128%5D%20D-Link%20DNS-343%20ShareCenter%201.05%20Remote%20Root.txt - Third Party Advisory
References () https://qkl.seebug.org/vuldb/ssvid-97088 - () https://qkl.seebug.org/vuldb/ssvid-97088 - Third Party Advisory
References () https://www.dlink.com/al/sq/products/dns-343-sharecenter-4-bay-network-storage-enclosure - () https://www.dlink.com/al/sq/products/dns-343-sharecenter-4-bay-network-storage-enclosure - Product
References () https://www.exploit-db.com/exploits/43845 - () https://www.exploit-db.com/exploits/43845 - Exploit
References () https://www.vulncheck.com/advisories/dlink-dns343-sharecenter-command-injection-via-goform-mail-test - () https://www.vulncheck.com/advisories/dlink-dns343-sharecenter-command-injection-via-goform-mail-test - Third Party Advisory

Information

Published : 2025-10-29 19:15

Updated : 2025-11-28 17:01


NVD link : CVE-2018-25120

Mitre link : CVE-2018-25120

CVE.ORG link : CVE-2018-25120


JSON object : View

Products Affected

dlink

  • dns-343
  • dns-343_firmware
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')