An authenticated OS command injection vulnerability exists in Netgear routers (tested on the DGN2200B model) firmware versions 1.0.0.36 and prior via the pppoe.cgi endpoint. A remote attacker with valid credentials can execute arbitrary commands via crafted input to the pppoe_username parameter. This flaw allows full compromise of the device and may persist across reboots unless configuration is restored.
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.
Link | Tags |
---|---|
https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/netgear_dgn2200b_pppoe_exec.rb | exploit |
https://www.exploit-db.com/exploits/24513 | exploit |
https://www.exploit-db.com/exploits/24974 | exploit |
https://web.archive.org/web/20170422033239/http://www.s3cur1ty.de/m1adv2013-015 | exploit technical description |
https://www.vulncheck.com/advisories/netgear-legacy-routers-rce | third party advisory |