CWE-836: Use of Password Hash Instead of Password for Authentication

What is CWE-836?

CWE-836 is Use of Password Hash Instead of Password for Authentication. The flaw arises when the product includes a client that computes a hash of a password and sends the hash to another component, which compares the supplied hash to the hash obtained from a data store of password hashes. The database currently holds 6 vulnerabilities mapped to CWE-836 and none of them are in the CISA Known Exploited Vulnerabilities catalog.

OWASP Top 10 Rank-
Related CVES (365 days)6
AbstractionBase
Likelihood of exploit-

Vulnerabilities mapped to CWE-836

6 vulnerabilities

No data

No vulnerability data in CISA KEV for CWE-836

Official definition

ByMitre CWE

The product includes a client that computes a hash of a password and sends the hash to another component, which compares the supplied hash to the hash obtained from a data store of password hashes.

Characteristics

Modes of introduction

  • Implementation: REALIZATION: This weakness is caused during implementation of an architectural security tactic.
  • Architecture and Design: Some authentication mechanisms rely on the client to generate the hash for a password, possibly to reduce load on the server or avoid sending the password across the network.

Common consequences

ImpactScopeExplanation
Bypass Protection Mechanism, Gain Privileges or Assume IdentityAccess Control, AuthenticationAn attacker could bypass the authentication routine without knowing the original password. The attacker could obtain a copy of the hash (e.g., through a separate weakness against a database of authentication credentials), then use a modified client to replay the stolen hash. As a result, the server-side comparison against a client-side hash does not provide any more security than the use of passwords without hashing.

Representative vulnerabilities

Sources (2)

CWE™ Program, operated by The MITRE Corporation. Copyright © 2006–2026, The MITRE Corporation. The MITRE Corporation hereby grants you a non-exclusive, royalty-free license to use CWE for research, development, and commercial purposes. CWE Terms of Use.

Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.