Password Reset with Code for WordPress REST API <= 0.0.15 - Weak Password Recovery Mechanism

2023-08-14 00:00
Jonas Höbenreich

Strategic Overview

Status
Patched in 0.0.16
Affected Version<= 0.0.15
CVSS9.8Critical
CVECVE-2023-35039
View all Password Reset with Code for WordPress REST API vulnerabilities

Vulnerability Overview

The Password Reset with Code for WordPress REST API is vulnerable to a Weak Password Recovery Mechanism in versions up to, and including, 0.0.15. This allows unauthenticated attackers to set a 4-digit password recovery code for arbitrary users that, if guessed correctly, will allow them to reset the password for that user. Although each code is only allowed 3 tries by default, there is no restriction on the number of code generation attempts allowed, effectively reducing the entropy of the password reset mechanism to 4 digits. Additionally the code generation mechanism uses str_shuffle which does not use a cryptographically secure PNRG.

Technical Analysis

REMEDIATION: Update to version 0.0.16, or a newer patched version --- IDENTIFIER: CWE-640 (Weak Password Recovery Mechanism for Forgotten Password) The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C