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

9.8
Weak Password Recovery Mechanism for Forgotten Password
CVE CVE-2023-35039
CVSS 9.8 (Critical)
Publicly Published August 14, 2023
Last Updated January 22, 2024
Researcher Jonas Höbenreich

Description

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.

References

Share

Vulnerability Details for Password Reset with Code for WordPress REST API

Software Type Plugin
Software Slug bdvs-password-reset (view on wordpress.org)
Patched? Yes
Remediation Update to version 0.0.16, or a newer patched version
Affected Version
  • <= 0.0.15
Patched Version
  • 0.0.16

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation