Advisory

GHSA-fqh6-6h6c-366m

Also known as: CVE-2023-39655

Summary

CouchAuth host header injection vulnerability leaks the password reset token

Details

A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions <= 0.20.0. 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-01-03 15:30 UTC
Modified
2024-01-03 22:41 UTC

Affected packages and fixes

@perfood/couch-auth

npm · All systems

Affected

  • introduced 0, last affected 0.20.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences