Impact
Default emails in Dancer2::Plugin::Auth::Extensible contain a link formed from the request Host header or X-Forwarded‑Host when behind a proxy. An attacker can set this header to any value, causing password‑reset or welcome emails to reference a host controlled by the attacker. When a user clicks the forged link, the attacker receives a valid reset code and can change the account password, effectively taking over the account without needing the original credentials.
Affected Systems
The vulnerability affects all installations of ABEVERLEY's Dancer2::Plugin::Auth::Extensible through version 0.713. Earlier releases (0.711 and below) read untrusted host information directly, while 0.712 and 0.713 provide a configurable uri_base but, if left unset, also default to the untrusted request data.
Risk and Exploitability
The security impact is high: any user of the affected application can be compromised by merely following an email link. Exploitation requires only the ability to forge a Host header, which is trivial for an attacker posing as the mail sender or an intermediary. The CVSS score is 9.8. The EPSS score is < 1%. The vulnerability is not currently in CISA’s KEV catalogue, yet it remains a significant risk for any exposed instance.
OpenCVE Enrichment