1. Archivio CVE
  2. 2026
  3. CVE-2026-15689

CVE-2026-15689

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

Descrizione

Dancer2::Plugin::Auth::Extensible versions through 0.713 for Perl allow password reset link poisoning via the request Host header in _default_email_password_reset and _default_welcome_send. Both default emails emit a link of the form `$base/login/$code`, whose authority comes from the request Host header, or from X-Forwarded-Host under behind_proxy (obtained from Dancer2's request->base function). A POST to /login carrying submit_reset and a username needs no authentication: it stores a fresh reset code against that account and mails the account holder a link to a host of the sender's choosing. The welcome mail takes the same path when the application calls create_user with email_welcome set. Through 0.711 the handlers read `request->uri_base` and `request->base` directly; Versions 0.712 and later provide an uri_base configuration key that defaults to the untrusted `request->uri_base` when unset. The default configuration with reset_password_handler enabled and the default message text, a recipient who follows the link hands a working reset code to the sender's host, which is enough to take over the account.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
abeverley dancer2::plugin::auth::extensible <= 0.713 –

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