Categories: CVE/vulnerability

Critical Vulnerability with NETGEAR WNR2000 Discloses admin credentials

Critical Vulnerability with NETGEAR WNR2000 was disclosed by security experts from Agile Information Security.

SUMMARY

NETGEAR WNR2000 permits a administrator to play out various sensitive functions in the web interface through an obvious CGI script named apply.cgi.

This script is invoked while changing Internet settings, WLAN settings, re-establish to industrial facility settings, reboot the switch, and so on.

However apply.cgi is not really a script, yet a function that is invoked in the HTTP server (uhttpd) when it gets that string in the URL.

At the point when figuring out uhttpd, it was found that it additionally permits an unauthenticated client to play out a similar administrator role if apply_noauth.cgi is invoked instead.

Sensitive functions, for example, rebooting the router, changing Internet, WLAN settings or recovering the administrative password, require the hacker to send a “timestamp” variable connected to the URL.

This timestamp is produced each time the objective page is gotten to and works as a kind of hostile to CSRF token.

The timestamp creating capacity was figured out and because of off base utilization of arbitrary number era (points of interest underneath) it is conceivable to recognize the token in under 1000 endeavors with no different previous learning.

By combining this knowledge with an information leakage, it is possible to recover the administrator password. This password is then used to enable telnet functionality in the router and obtain a root shell if the attacker is in the LAN.

Finally, a stack buffer overflow was also discovered, which combined with the apply_noauth.cgi vulnerability and the timestamp identification attack allows an unauthenticated attacker to take full control of the device and execute code remotely in the LAN and in the WAN.

NETGEAR has recognised the flaw and released beta firmware for the affected routers, which can be obtained. NETGEAR has also indicated that the password recovery attack can only be done if the password recovery questions were never set by the user before, but according to Agile Information Security tests, this is not the case, and the password is still recoverable even if the password recovery questions were previously set.

Vulnerability details

Vulnerability: Information leakage(CVE-2016-10175)

Attack Vector: Remote
Constraints: Can be exploited by an unauthenticated attacker. See below for other constraints.
Affected versions:
– WNR2000v5, all firmware versions (confirmed in hardware)
– WNR2000v4, all firmware versions possibly affected (confirmed only by static analysis)
– WNR2000v3, all firmware versions possibly affected (confirmed only by static analysis)

The device leaks its serial number when performing a request to http://<device_web_portal>/BRS_netgear_success.html:

Vulnerability: Improper access control(CVE-2016-10176)

Attack Vector: Remote
Constraints: Can be exploited by an unauthenticated attacker. See below for other constraints.
Affected versions:
– WNR2000v5, all firmware versions (confirmed in hardware)
– WNR2000v4, all firmware versions possibly affected (confirmed only by static analysis)
– WNR2000v3, all firmware versions possibly affected (confirmed only by static analysis)

Vulnerability: Stack buffer overflow(CVE-2016-10174)

Attack Vector: Remote
Constraints: Can be exploited by an unauthenticated attacker. See below for other constraints.
Affected versions:
– WNR2000v5, all firmware versions (confirmed in hardware)
– WNR2000v4, all firmware versions possibly affected (confirmed only by static analysis)
– WNR2000v3, all firmware versions possibly affected (confirmed only by static analysis)

Fix:
NETGEAR did not respond to any emails, so THERE IS NO FIX for this
vulnerability.It is recommended to replace this router with another make and model
that supports OpenWRT firmware.

Read More : 

https://raw.githubusercontent.com/pedrib/PoC/master/advisories/netgear-wnr2000.txt

http://cdn.imgtec.com/mips-training/mips-basic-training-course/slides/Memory_Map.pdf

http://kb.netgear.com/000036549/Insecure-Remote-Access-and-Command-Execution-Security-Vulnerability

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Threat Actors Exploit Google Docs And Weebly Services For Malware Attacks

Phishing attackers used Google Docs to deliver malicious links, bypassing security measures and redirecting victims…

12 hours ago

Python NodeStealer: Targeting Facebook Business Accounts to Harvest Login Credentials

The Python-based NodeStealer, a sophisticated info-stealer, has evolved to target new information and employ advanced…

12 hours ago

XSS Vulnerability in Bing.com Let Attackers Send Crafted Malicious Requests

A significant XSS vulnerability was recently uncovered in Microsoft’s Bing.com, potentially allowing attackers to execute…

15 hours ago

Meta Removed 2 Million Account Linked to Malicious Activities

 Meta has announced the removal of over 2 million accounts connected to malicious activities, including…

18 hours ago

Veritas Enterprise Vault Vulnerabilities Lets Attackers Execute Arbitrary Code Remotely

Critical security vulnerability has been identified in Veritas Enterprise Vault, a widely-used archiving and content…

19 hours ago

7-Zip RCE Vulnerability Let Attackers Execute Remote Code

A critical security vulnerability has been disclosed in the popular file archiving tool 7-Zip, allowing…

19 hours ago