CVE-2018-25120
critical · 9.3D-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: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
Weaknesses
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| dlink | dns-343_firmware | <= 1.0.5 |
| dlink | dns-343 | all versions |
Check a specific version with /api/v1/cve/match.
References
- https://github.com/jamesbercegay/advisories/blob/master/%5BGTSA-00128%5D%20D-Link%20DNS-343%20ShareCenter%201.05%20Remote%20Root.txt
- https://qkl.seebug.org/vuldb/ssvid-97088
- https://www.dlink.com/al/sq/products/dns-343-sharecenter-4-bay-network-storage-enclosure
- https://www.exploit-db.com/exploits/43845
- https://www.vulncheck.com/advisories/dlink-dns343-sharecenter-command-injection-via-goform-mail-test
Query this programmatically:
curl https://evil-db.io/api/v1/cve/CVE-2018-25120