{"vuid":"VU#582384","idnumber":"582384","name":"Multiple Netgear routers are vulnerable to arbitrary command injection","keywords":["netgear","router","command injection"],"overview":"Netgear R6250, R6400, R6700, R6900, R7000, R7100LG, R7300DST, R7900, R8000, D6220, and D6400 routers and possibly other models are vulnerable to arbitrary command injection.","clean_desc":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), CWE-306: Missing Authentication for Critical Function, and CWE-352: Cross-Site Request Forgery (CSRF) R6250, R6400, R6700, R6900, R7000, R7100LG, R7300, R7900, R8000, D6220, and D6400 contain an unauthenticated command injection vulnerability that may be executed directly or via cross-domain requests. Known affected firmware versions include Netgear R7000 version 1.0.7.2_1.1.93, R6400 version 1.0.1.12_1.0.11, and R8000 version 1.0.3.4_1.1.2. Earlier versions may also be affected. The command injection vulnerability has been assigned CVE-2016-6277. By convincing a user to visit a specially crafted web site, a remote, unauthenticated attacker may execute arbitrary commands with root privileges on affected routers. An unauthenticated, LAN-based attacker may do the same by issuing a direct request, e.g. by visiting: http://<router_IP>/cgi-bin/;COMMAND An exploit demonstrating these vulnerabilities has been publicly disclosed. Netgear's advisory indicates that the R6250, R6400, R6700, R6900, R7000, R7100LG, R7300DST, R7900, R8000, D6220, and D6400 are vulnerable, though affected firmware versions are not enumerated. The vendor has indicated in their advisory that all listed models now have firmware updates available.","impact":"By convincing a user to visit a specially crafted web site, a remote unauthenticated attacker may execute arbitrary commands with root privileges on affected routers.","resolution":"Apply an update Netgear has released firmware updates for the affected models specified in their advisory. Users are strongly encouraged to update as soon as possible. For users unable or unwilling to apply a firmware fix, we recommend the following workarounds.","workarounds":"Disable web server The very vulnerabilities that exist on affected routers may be used to temporarily disable the vulnerable web server until the device is restarted: http://<router_IP>/cgi-bin/;killall$IFS'httpd'\nNote that after performing this step, your router's web administration not be available until the device is restarted. Please see Bas' Blog for more details. Do not enable remote administration Enabling remote administration allows affected routers to be exploited via direct requests from the WAN. As such, users are strongly advised to leave remote administration disabled, or disable it if is has been enabled previously.","sysaffected":"","thanks":"Thanks to Chad Dougherty for alerting us to this vulnerability.","author":"This document was written by Joel Land.","public":["http://kb.netgear.com/000036386/CVE-2016-582384","https://www.exploit-db.com/exploits/40889/","https://cwe.mitre.org/data/definitions/77.html","http://www.sj-vs.net/a-temporary-fix-for-cert-vu582384-cwe-77-on-netgear-r7000-and-r6400-routers/","https://kalypto.org/research/netgear-vulnerability-expanded/"],"cveids":["CVE-2016-6277"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2016-12-09T16:53:01Z","publicdate":"2016-12-07T00:00:00Z","datefirstpublished":"2016-12-09T18:10:49Z","dateupdated":"2017-01-03T20:56:03Z","revision":66,"vrda_d1_directreport":"0","vrda_d1_population":"2","vrda_d1_impact":"4","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"","cvss_accessvector":"N","cvss_accesscomplexity":"M","cvss_authentication":null,"cvss_confidentialityimpact":"C","cvss_integrityimpact":"C","cvss_availabilityimpact":"C","cvss_exploitablity":null,"cvss_remediationlevel":"U","cvss_reportconfidence":"C","cvss_collateraldamagepotential":"ND","cvss_targetdistribution":"M","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"9.3","cvss_basevector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","cvss_temporalscore":"9.3","cvss_environmentalscore":"6.99912864","cvss_environmentalvector":"CDP:ND/TD:M/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":null}