PT-2024-12818 · Npm · @Perfood/Couch-Auth

Florian Walter

·

Published

2024-01-03

·

Updated

2024-01-09

·

CVE-2023-39655

CVSS v3.1

9.6

Critical

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions @perfood/couch-auth versions <= 0.20.0
Description A host header injection issue exists in the NPM package @perfood/couch-auth. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.
Recommendations For @perfood/couch-auth versions <= 0.20.0, consider disabling the forgot password feature until a patch is available. Restrict access to the forgot password request to minimize the risk of exploitation. Avoid using the host header in the forgot password request until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Special Elements Injection

Weakness Enumeration

Related Identifiers

CVE-2023-39655
GHSA-FQH6-6H6C-366M

Affected Products

@Perfood/Couch-Auth