Part-DB-server: Part-DB: Password Reset Link Poisoning via Host Header Injection leads to pre-authentication Account Takeover
What fixes it
- 2.13.3+part-db/part-db-server, composerGitHub
composer require "part-db/part-db-server:^2.13.3+"
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Reports 1
1 outlet mention it. Reports are not confirmation; each links to its source.
Description
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.
Text from CVE List
Affected versions 2
- Part-DB-serveraffected: < 2.13.3CVE List
- part-db/part-db-server, composer<= 2.13.2GitHub