Securin Zero-Days

CVE-2016-11014 – Authentication Bypass in Netgear Router

Severity:High

Vendor

NetGear

Affected Product

JNR1010_firmware

CVE

CVE-2016-11014

Securin ID

2016-CSW-01-1015

Status

Fixed

Date

October 28, 2018

Description

An authentication bypass vulnerability was identified on the Netgear JNR1010 devices before 1.0.0.32 which had incorrect access control because the ok value of the auth cookie is a special case that allows remote attackers to bypass authentication mechanisms via unspecified vectors.

Proof of Concept (POC):

Authentication Bypass: Try Accessing the URL in which the regular user has no longer access without credentials with auth token value as “ok” and HTTP Basic Authentication header with password value.

Improper Session Management: Create a fake Session ID and submit the request to the server with the credentials. At the same time, you can see that the session id has no change even after getting logged-in and during the logout process.

Figure 01: Session id created by an attacker before login.

Figure 02: Attacker Session id is not changed even after login.

Figure 3: Session id remains the same, even after logging out from the current session.

Figure 04: Back button history of the accessed router after logging out.

Figure 05: auth token is set to “ok” once after logging into the router. But we could not access any pages just by pressing the back button after logging out.

Figure 06: Changing the auth token value from “ok” to “nok” and removing extra session tokens gives access to the unauthorized page with the same session id created by an attacker.

Figure 07: Authentication logic is bypassed, and an attacker can access any pages inside login without credentials.

Impact

By leveraging this vulnerablitiy, an attacker can bypass authentication mechanisms via unspecified vectors.

Remediations

Download the latest version of firmware and update it as per vendor advisory.

Timeline

Oct 28, 2015: Discovered in Netgear Router Firmware Version 1.0.0.24
Oct 28, 2015: Reported to vendor
Nov 03, 2015: Netgear technical team started addressing the issue after several follow-ups.
Dec 13, 2015: Vulnerability was fixed.
Dec 30, 2015: The updated Netgear Router JNR1010 version 1.0.0.32 was released.

Let Securin level up your security posture!