Home

Description

In lunary-ai/lunary version 1.2.2, an account hijacking vulnerability exists due to a password reset token leak. A user with a 'viewer' role can exploit this vulnerability to hijack another user's account by obtaining the password reset token. The vulnerability is triggered when the 'viewer' role user sends a specific request to the server, which responds with a password reset token in the 'recoveryToken' parameter. This token can then be used to reset the password of another user's account without authorization. The issue results from an excessive attack surface, allowing lower-privileged users to escalate their privileges and take over accounts.

PUBLISHED Reserved 2024-05-25 | Published 2026-02-02 | Updated 2026-02-02 | Assigner @huntr_ai




CRITICAL: 9.6CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Problem types

CWE-1125 Excessive Attack Surface

Product status

Any version before 1.2.14
affected

References

huntr.com/bounties/602eb4a1-305d-46d6-b975-5a5d8b040ad1

github.com/...ommit/fc7ab3d5621c18992da5dab3a2a9a8d227d42311

cve.org (CVE-2024-5386)

nvd.nist.gov (CVE-2024-5386)

Download JSON