Tuesday, November 26, 2024
HomeCVE/vulnerabilityCritical Vulnerability with NETGEAR WNR2000 Discloses admin credentials

Critical Vulnerability with NETGEAR WNR2000 Discloses admin credentials

Published on

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.

- Advertisement - SIEM as a Service

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
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.

Latest articles

Multiple Flaws With Android & Google Pixel Devices Let Attackers Elevate Privileges

Several high-severity vulnerabilities have been identified in Android and Google Pixel devices, exposing millions...

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...

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...

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...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Multiple Flaws With Android & Google Pixel Devices Let Attackers Elevate Privileges

Several high-severity vulnerabilities have been identified in Android and Google Pixel devices, exposing millions...

7-Zip RCE Vulnerability Let Attackers Execute Remote Code

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

Helldown Ransomware Attacking VMware ESXi And Linux Servers

Helldown, a new ransomware group, actively exploits vulnerabilities to breach networks, as since August...