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

CVE-2018-25396

7.5 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 7.5 – High

Description

Heatmiser Wifi Thermostat 1.7 contains a credential disclosure vulnerability that allows unauthenticated attackers to retrieve administrative credentials by accessing the networkSetup.htm page. Attackers can request the networkSetup.htm endpoint and extract plaintext username and password values from HTML form fields to gain administrative access to the thermostat.

Affected products

VendorProductVersionPlatform
redhat thermostat 1.7 –

Vulnerability type

CWE-256 Plaintext Storage of a Password

The product stores a password in plaintext within resources such as memory or files.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity
Storing a plaintext password in a configuration file allows anyone who can read the file to access the password-protected resource. In some contexts, even storage of a plaintext password in memory is considered a security risk if the password is not cleared immediately after it is used.

How to prevent it

Architecture and Design Avoid storing passwords in easily accessible locations.
Architecture and Design Consider storing cryptographic hashes of passwords as an alternative to storing in plaintext.
A programmer might attempt to remedy the password management problem by obscuring the password with an encoding function, such as base 64 encoding, but this effort does not adequately protect the password because the encoding can be detected and decoded easily.

All 151 CWE-256 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org