OpenReception 確認メールのリンクを攻撃者に差し替えられアカウントを乗っ取られるおそれ
Summary
攻撃者は偽装した Host ヘッダーを使い、招待された未確認ユーザーに攻撃者のサーバーを指す確認メールを送らせることができます。リンクをクリックされると確認トークンが攻撃者に渡り、アカウントを乗っ取られるおそれがあります。影響を受けるのは v1.1.0 までの全版で、修正版は 2.0.0 です。2.0.0 以降へ更新してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
攻撃者は偽装した Host ヘッダーを使い、招待された未確認ユーザーに攻撃者のサーバーを指す確認メールを送らせることができます。リンクをクリックされると確認トークンが攻撃者に渡り、アカウントを乗っ取られるおそれがあります。影響を受けるのは v1.1.0 までの全版で、修正版は 2.0.0 です。2.0.0 以降へ更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| open-reception | appointment-booking-software | — | — |
Original description The description as published by the source.
OpenReception's appointment booking software provides an end-to-end encrypted appointment booking platform. Prior to version 2.0.0, the account-confirmation link in emails is built from the request Host header, with no allowlist. The unauthenticated POST /api/auth/resend-confirmation rotates a pending invitee's confirmation token and emails a link whose host comes from the request. An attacker who sends one resend-confirmation with Host: attacker.example and a pending invitee's email causes that invitee to receive a confirmation email whose only link points to the attacker. If the invitee clicks, the one-time confirmation token reaches the attacker, who then confirms the account on the real tenant domain and registers a passkey they control, taking over the account before the legitimate invitee ever uses it. All released versions through v1.1.0 are affected; no patched version exists yet. Reaching the app with a spoofed Host depends on the front proxy: the stock Caddy catch-all forwards it, while an operator who configures explicit per-tenant proxy blocks is not affected (see Details 4). The invite path builds links from the trusted tenant.domain (invite/+server.ts:204-210); the resend-confirmation path builds them from the request Host. This issue has been patched in version 2.0.0.
Source: CVE.org (CVE Program・cvelistV5) NVD