Quick answers
- Is CVE-2022-23064 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-23064 being exploited in the wild.
- How severe is CVE-2022-23064?
- High severity, with a CVSS score of 8.8, published 3 May 2022.
- Which products and versions are affected?
- snipe/snipe-it (Packagist) >= 3.0-alpha, <= 5.3.7, ECOSYSTEM:introduced=3.0-alpha,fixed=5.3.8.
- Is there a fix for CVE-2022-23064?
- Yes. snipe/snipe-it (Packagist): upgrade to 5.3.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2022-23064 attacked?
- It is attacked over the network, in a web application.
- Am I affected by CVE-2022-23064?
- Check whether you run snipe/snipe-it (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- snipe/snipe-it (Packagist): upgrade to 5.3.8 or later
composer require snipe/snipe-it:^5.3.8
Technical details
The vulnerability is a host header injection (CWE-74) in Snipe-IT's password reset functionality. When generating password reset links, the application insufficiently validates the HTTP Host header provided in the request, allowing an attacker to inject an arbitrary host value. An attacker with network access can send a specially crafted password reset request with a malicious Host header; the application then embeds this attacker-controlled host in the reset link sent to the user's email. When the user clicks the link, they are redirected to the attacker's server, exposing the reset token in the URL. The vulnerability requires user interaction (clicking the reset link) but no prior authentication or special privileges. Patch version 5.3.8 addresses this issue; all versions from 3.0-alpha through 5.3.7 are affected.
Affected products
- Snipe Snipe-IT 3.0-alpha through 5.3.7
Identifiers
- CVE-2022-23064
- GHSA-9vh6-qfv6-vcqp
Timeline
- 2022-05-03: disclosed
- 2022: patched: Fixed in version 5.3.8