1. CVE archive
  2. 2018
  3. CVE-2018-17153

CVE-2018-17153

9.8 Critical severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critical

Description

It was discovered that the Western Digital My Cloud device before 2.30.196 is affected by an authentication bypass vulnerability. An unauthenticated attacker can exploit this vulnerability to authenticate as an admin user without needing to provide a password, thereby gaining full control of the device. (Whenever an admin logs into My Cloud, a server-side session is created that is bound to the user's IP address. After the session is created, it is possible to call authenticated CGI modules by sending the cookie username=admin in the HTTP request. The invoked CGI will check if a valid session is present and bound to the user's IP address.) It was found that it is possible for an unauthenticated attacker to create a valid session without a login. The network_mgr.cgi CGI module contains a command called "cgi_get_ipv6" that starts an admin session -- tied to the IP address of the user making the request -- if the additional parameter "flag" with the value "1" is provided. Subsequent invocation of commands that would normally require admin privileges now succeed if an attacker sets the username=admin cookie.

Affected products

VendorProductVersionPlatform
western digital my cloud dl2100 < 2.30.196 –
western digital my cloud dl4100 firmware < 2.30.196 –
western digital my cloud ex2 firmware < 2.30.196 –
western digital my cloud ex2 ultra firmware < 2.30.196 –
western digital my cloud ex2100 firmware < 2.30.196 –
western digital my cloud ex4 firmware < 2.30.196 –
western digital my cloud ex4100 < 2.30.196 –
western digital my cloud mirror firmware < 2.30.196 –
western digital my cloud mirror gen 2 firmware < 2.30.196 –
western digital my cloud pr2100 firmware < 2.30.196 –
western digital my cloud pr4100 < 2.30.196 –
western digital my cloud wdbctl0020hwt firmware < 2.30.196 –

Vulnerability type

CWE-287 Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control Read Application Data, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands
This weakness can lead to the exposure of resources or functionality to unintended actors, possibly providing attackers with sensitive information or even execute arbitrary code.

How to prevent it

Architecture and Design · Libraries or Frameworks Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

All 5,272 CWE-287 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org