Part-DB Part-DB-server
Part-DB: Password Reset Link Poisoning via Host Header Injection leads to pre-authentication Account Takeover
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.13.3
Fixed in 2.13.3
Mitigation
Upgrade Part-DB-server to 2.13.3 or later.
References
- Vendor advisory github.com/Part-DB/Part-DB-server/security/adv…
- Release notes github.com/Part-DB/Part-DB-server/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.