Descrizione
Concrete CMS below 9.5.3 stores user validation hashes for multiple purposes (email/registration validation, password reset, and persistent login) in a single table with a type column, but the redemption path resolves a hash by value alone and does not verify its type. As a result, a hash issued for one purpose can be redeemed for another: a long-lived registration hash (60-day expiry) can be submitted to the password-change endpoint to set a new password on the target account, and a password-reset hash can be submitted to the email-validation endpoint to activate an account. Exploitation requires the attacker to first obtain a valid hash through a separate channel (for example email interception, log exposure, or SSRF against an internal mail relay), so the flaw amplifies the impact of any hash disclosure rather than creating a standalone entry point. The Concrete CMS security team gave this vulnerability a CVSS v4.0 score of 6.3 with vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N. Thanks Yonatan Drori from Tenzai for reporting.
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