1. Archivio CVE
  2. 2023
  3. CVE-2023-31287

CVE-2023-31287

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

An issue was discovered in Serenity Serene (and StartSharp) before 6.7.0. Password reset links are sent by email. A link contains a token that is used to reset the password. This token remains valid even after the password reset and can be used a second time to change the password of the corresponding user. The token expires only 3 hours after issuance and is sent as a query parameter when resetting. An attacker with access to the browser history can thus use the token again to change the password in order to take over the account.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
serenity serene < 6.7.0 –
serenity startsharp < 6.7.0 –

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

AmbitoImpatto
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.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 333 CVE di tipo CWE-640, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org