Descrizione
The SignUp & SignIn plugin for WordPress is vulnerable to Authentication Bypass via Weak Password Reset Validation leading to Account Takeover in versions up to, and including, 1.0.0. This is due to the `pravel_change_password()` AJAX handler — registered via `wp_ajax_nopriv_pravel_change_password` and therefore accessible to unauthenticated users — performing no nonce verification, no capability check, and only a loose equality check between an attacker-supplied `reset_activation_code` POST parameter and the target user's `forgot_email` user meta value; when a user has never initiated a password reset, `get_user_meta()` returns an empty string that trivially satisfies this check against an omitted or empty attacker-supplied code. This makes it possible for unauthenticated attackers to change the password of any WordPress user, including administrators, by sending a crafted POST request to `admin-ajax.php` with `action=pravel_change_password`, `reset_user_id` set to the target account's user ID, and `new_password_custom` set to an attacker-chosen password. Successful exploitation allows the attacker to authenticate with the newly set password and fully take over the targeted account, achieving administrator-level privilege escalation on the affected site.
Tipo di vulnerabilità
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.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità |
| Disponibilità |
Interruzione del servizio: esaurimento di risorse |
| Integrità, Altro |
Altro |
Come si previene
Architettura e progettazione
Make sure that all input supplied by the user to the password recovery mechanism is thoroughly filtered and validated.
Architettura e progettazione
Do not use standard weak security questions and use several security questions.
Architettura e progettazione
Make sure that there is throttling on the number of incorrect answers to a security question. Disable the password recovery functionality after a certain (small) number of incorrect guesses.
Architettura e progettazione
Require that the user properly answers the security question prior to resetting their password and sending the new password to the e-mail address of record.
Architettura e progettazione
Never allow the user to control what e-mail address the new password will be sent to in the password recovery mechanism.
Architettura e progettazione
Assign a new temporary password rather than revealing the original password.
Tutte le 333 CVE di tipo CWE-640, con andamento e prevenzione