Tuesday, December 3, 2024
HomeCVE/vulnerabilityCritical Vulnerability with NETGEAR WNR2000 Discloses admin credentials

Critical Vulnerability with NETGEAR WNR2000 Discloses admin credentials

Published on

SIEM as a Service

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

PEFT-As-An-Attack, Jailbreaking Language Models For Malicious Prompts

Federated Parameter-Efficient Fine-Tuning (FedPEFT) is a technique that combines parameter-efficient fine-tuning (PEFT) with federated...

Hackers Cloning Websites, Exploiting RCE Flaws To Gain Access To Shopping Platforms

Cybercriminals are leveraging AI-powered phishing attacks, website cloning tools, and RCE exploits to target...

Hackers Exploited Windows Event Logs Tool log Manipulation, And Data Exfiltration

wevtutil.exe, a Windows Event Log management tool, can be abused for LOLBAS attacks. By...

Threat Actors Allegedly Claims Breach of EazyDiner Reservation Platform

Reports have emerged of a potential data breach involving EazyDiner, a leading restaurant reservation...

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

Salesforce Applications Vulnerability Could Allow Full Account Takeover

A critical vulnerability has been discovered in Salesforce applications that could potentially allow a...

TP-Link HomeShield Function Vulnerability Let Attackers Inject Malicious Commands

A significant vulnerability has been identified in TP-Link's HomeShield function, affecting a range of...

HPE IceWall Flaw Let Attackers cause Unauthorized Data Modification

Hewlett Packard Enterprise (HPE) has issued an urgent security bulletin addressing a critical vulnerability...