{"schemaVersion":3,"id":"CVE-2018-25120","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-10-29T18:39:03.581Z","modified":"2026-05-14T02:06:31.335Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.3,"severity":"critical","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.09806,"percentile":0.95512,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.09806},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.09806,"percentile":0.95512}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.09806,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.09806,"percentile":0.95512}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"43845","name":"D-Link DNS-343 ShareCenter < 1.05 - Command Injection","source":"exploit-database","url":"https://www.exploit-db.com/exploits/43845","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/43845.txt","codes":["GTSA-00128"]},"metasploit":null},{"id":"GITHUB_JAMESBERCEGAY_ADVISORIES","name":"Advisories","source":"github","url":"https://github.com/jamesbercegay/advisories/blob/master/%5BGTSA-00128%5D%20D-Link%20DNS-343%20ShareCenter%201.05%20Remote%20Root.txt","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_9FBF6FE085C0C454","name":"Exploit Reference (qkl.seebug.org)","source":"reference","url":"https://qkl.seebug.org/vuldb/ssvid-97088","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":3,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"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.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"d-link","product":"dns-343 sharecenter","name":"DNS-343 ShareCenter","label":"dns-343 sharecenter","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.05","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.05","eol":null,"hubHref":"/vendor/d-link/dns-343_sharecenter"},{"vendor":"dlink","product":"dns-343_firmware","name":"dns-343 firmware","label":"dns-343_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≤ 1.0.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.0.5","eol":null,"hubHref":"/vendor/dlink/dns-343"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.exploit-db.com/exploits/43845","label":"www.exploit-db.com/exploits/43845","hostname":"www.exploit-db.com","tags":["Exploit"]},{"url":"https://qkl.seebug.org/vuldb/ssvid-97088","label":"qkl.seebug.org/vuldb/ssvid-97088","hostname":"qkl.seebug.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.dlink.com/al/sq/products/dns-343-sharecenter-4-bay-network-storage-enclosure","label":"www.dlink.com/al/sq/products/dns-343-sharecenter-4-bay-network-storage-enclosure","hostname":"www.dlink.com","tags":["Product"]},{"url":"https://github.com/jamesbercegay/advisories/blob/master/%5BGTSA-00128%5D%20D-Link%20DNS-343%20ShareCenter%201.05%20Remote%20Root.txt","label":"github.com/jamesbercegay/…","hostname":"github.com","tags":["Technical Description","Exploit","Third Party Advisory"]},{"url":"https://www.vulncheck.com/advisories/dlink-dns343-sharecenter-command-injection-via-goform-mail-test","label":"www.vulncheck.com/advisories/dlink-dns343-sharecenter-command-injection-via-goform-mail-test","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-10-29T18:39:03.581Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-14T02:06:31.335Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T15:03:09.431Z","stale":false,"partial":false}}