Ash Authentication Email Link Auto-Click Account Confirmation Vulnerability

Vulnerability

A vulnerability in the Ash Authentication library for the Ash framework allows for unintended account confirmations. The issue arises because the account creation confirmation process uses a GET request activated by clicking a link in a confirmation email. Some email clients and security tools, such as Outlook and various virus scanners, may automatically follow these links, thereby confirming the account without the user's knowledge. This flaw enables an attacker to register an account using someone else's email address, potentially leading to the account being confirmed by the victim's email client. However, this vulnerability does not allow access to existing accounts or private data, and only affects the confirmation of new accounts.

Impact

Exploitation of this vulnerability could result in unauthorized account confirmations, allowing attackers to create accounts in another user's name without their consent.

Reproduction

To reproduce this vulnerability, register an account using an email address that the target user has access to. Once the account is created, the confirmation link will be sent via email. If the target user opens this email, their email client may automatically follow the link and confirm the account, without any interaction from them.

Remediation

Users are advised to upgrade to Ash Authentication version 4.7.0 or later. If using Ash Authentication Phoenix, upgrade to version 2.6.0 or later. After upgrading, set 'require_interaction? true' in the confirmation strategy and add 'confirm_route' to the router, above 'auth_routes'.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
7.7
remediation
7.7
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.