Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 9 min 121 bronnen 1 kritiek 7 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-15689

CRITICAL · 9.8 CVSS Gepubliceerd: CWE-640

Beschrijving NL

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. Beide standaard e-mails zenden een link uit van het formulier `$base/login/$code`, waarvan de bevoegdheid afkomstig is van de request Host-header, of van X-Forwarded-Host onder behind_proxy (verkregen uit de request-> base-functie van Dancer2). Een POST naar /login met submit_reset en een gebruikersnaam heeft geen authenticatie nodig: het slaat een nieuwe resetcode op voor dat account en mailt de accounthouder een link naar een host naar keuze van de afzender. De welkomstmail volgt hetzelfde pad wanneer de applicatie create_user aanroept met email_welcome ingesteld. Via 0.711 lezen de handlers `request->uri_base` en `request->base` rechtstreeks; versies 0.712 en hoger bieden een URI_base configuratiesleutel die standaard wordt ingesteld op de niet-vertrouwde `request->URI_base` wanneer deze niet wordt ingesteld. De standaardconfiguratie met reset_password_handler ingeschakeld en de standaardberichttekst, een ontvanger die de link volgt, overhandigt een werkende resetcode aan de host van de afzender, wat voldoende is om het account over te nemen.

Origineel (Engels) tonen

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.

References