Account takeover via password-reset host header injection
Published Jun 22, 2022 · Updated Sep 16, 2024
Host header injection in Motor Admin 0.0.1 through 0.2.56 allows remote attackers to take over accounts through password-reset email links. The password-reset controllers copy the untrusted HTTP Host value into Devise mailer URL options, causing generated reset links to use an attacker-controlled host. A victim must follow the poisoned link, which discloses the reset token to the attacker-controlled host and enables the account password to be replaced.
Summary
What happened
Host header injection in Motor Admin 0.0.1 through 0.2.56 allows remote attackers to take over accounts through password-reset email links. The password-reset controllers copy the untrusted HTTP Host value into Devise mailer URL options, causing generated reset links to use an attacker-controlled host. A victim must follow the poisoned link, which discloses the reset token to the attacker-controlled host and enables the account password to be replaced.
The record
- CVE
- CVE-2022-23079
- Published
- Jun 22, 2022
- Updated
- Sep 16, 2024
- Vendor
- Motor Admin
- Product
- Motor Admin
- Classifications
- CWE-116, T1566.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 22, 2022CVE publishedPublication date reported by the CVE source.
- Sep 16, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.0.1 <unspecified
- Affected versionversion=unspecified <=0.2.56
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo