Description
HortusFox (hortusfox-web) through 6.4 contains a password reset poisoning vulnerability in UserModel::restorePassword that builds reset links from the client-controlled Host header. Unauthenticated attackers can request a reset with a forged Host header to capture the victim's reset token and take over accounts including administrators.
Affected products and versions
danielbrendel hortusfox-web≤ 6.4
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- None
Weakness type (CWE)
- CWE-640 Weak Password Recovery Mechanism for Forgotten Password
References
- github.com/danielbrendel/hortusfox-web/security/advisories/GHSA-vm86-2cw8-5mc2 vendor advisory
- github.com/danielbrendel/hortusfox-web/blob/v6.4/app/models/UserModel.php#L154-L171
- github.com/danielbrendel/hortusfox-web/blob/v6.4/app/helper/AppHelper.php#L126-L134
- github.com/danielbrendel/hortusfox-web/blob/v6.4/app/views/mail/mailreset.php#L4
- github.com/danielbrendel/dnyAsatruPHP-Framework/blob/bbc50e0399ebd52e717ee0c8f75a3e2726d96
- www.vulncheck.com/advisories/hortusfox-through-6.4-password-reset-poisoning-via-host-heade
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.