High, CVSS 8.2npmAmendedPublished
Redwood is vulnerable to account takeover via dbAuth "forgot-password"
GHSA-3qmc-2r76-4rqp
- Affected
- npm @redwoodjs/api >= 0.38.0, < 2.2.5; >= 3.0.0, < 3.3.1
- Fixed in
- 3.3.12.2.5· Vendor fix available
- Issue
- Impact What kind of vulnerability is it? Who is impacted? This is an API vulnerability in Redwood's [dbAuth], specifically the dbAuth forgot password feature: - only projects with the dbAuth "forgot password" feature are affected - this vulnerability was introduced in v0.38.0 User Accounts are Vulnerable to Takeover (Hijacking) A reset token for any user can be obtained given knowledge of their username or email via the forgot-password API. With the leaked reset token, a malicious user could request to reset a user's password, changing their credentials and gaining access to their account. How to Determine if Projects have been Attacked To determine if a project has been attacked, we recommend checking logs for suspicious activity; namely, the volume of requests to the forgot-password API using emails that don't exist. Another indication is if users inform you that they can't access their accounts. If you have question or concerns, reach out via the "For More Information" section…
Recommended action: Upgrade to 3.3.1 or 2.2.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.