Part-DB パスワード再設定リンクの改ざんによりアカウントを乗っ取られるおそれ
Summary
Part-DBには、パスワード再設定メールのリンク先がHostヘッダーから作られる不具合があり、未認証の攻撃者が再設定トークンを盗み取り、管理者アカウントを乗っ取るおそれがあります。影響を受けるのはバージョン2.13.3より前のPart-DB-serverです。2.13.3以降の版に更新してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Part-DBには、パスワード再設定メールのリンク先がHostヘッダーから作られる不具合があり、未認証の攻撃者が再設定トークンを盗み取り、管理者アカウントを乗っ取るおそれがあります。影響を受けるのはバージョン2.13.3より前のPart-DB-serverです。2.13.3以降の版に更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| Part-DB | Part-DB-server | — | — |
Original description The description as published by the source.
Part-DB is an open source inventory management system for electronic components. Prior to version 2.13.3, Part-DB builds the absolute URL of the password-reset link it emails to a user from the client-supplied HTTP Host header, with no trusted-host validation. An unauthenticated attacker who submits a forgot-password request for a known account while sending a spoofed Host header causes Part-DB to email that account a reset link whose hostname is attacker-controlled, while still embedding the genuine reset token. When the victim opens the link (or an automated inbound mail-security scanner dereferences it), the valid token is disclosed to the attacker, who replays it against the real instance to set a new password and take over the account. Because the seeded admin account can be targeted, this yields full pre-authentication administrative account takeover. This issue has been patched in version 2.13.3.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com