Katalog CVE

CVE-2026-15689

KrytyczneCVSS 9.8
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.28%

Percentyl 20 - wyżej niż 20% wszystkich znanych CVE

Streszczenie

Podatność w Dancer2::Plugin::Auth::Extensible (do wersji 0.713) dla Perla pozwala na zatrucie linku resetowania hasła poprzez nagłówek Host w żądaniu w funkcjach _default_email_password_reset i _default_welcome_send. Domyślne wiadomości e-mail zawierają link z hostem pochodzącym z nagłówka Host lub X-Forwarded-Host (przy behind_proxy). Atakujący może wysłać POST do /login z submit_reset i nazwą użytkownika bez uwierzytelnienia, co generuje nowy kod resetujący i wysyła link do hosta wybranego przez atakującego. Jeśli ofiara kliknie link, przekaże działający kod resetujący do hosta atakującego, co umożliwia przejęcie konta.

Ocena ryzyka

Ryzyko obejmuje możliwość przejęcia kont użytkowników poprzez podstępne linki resetowania hasła. Atak nie wymaga uwierzytelnienia i może być przeprowadzony zdalnie, co stanowi poważne zagrożenie dla integralności kont.

Rekomendacja

Zaleca się aktualizację Dancer2::Plugin::Auth::Extensible do wersji nowszej niż 0.713, jeśli dostępna. Należy również skonfigurować jawnie opcję uri_base, aby nie polegać na niezaufanym nagłówku Host, oraz rozważyć walidację nagłówka Host.

Oryginalny opis (angielski, źródło NVD)

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.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS