CVE-2024-5277 Weak Password Recovery Mechanism in lunary-ai/lunary

Medium 6.4 Published Updated

Attackers can reuse password reset tokens to repeatedly change victim passwords, leading to unauthorized account access in Lunary AI.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-5277?

CVE-2024-5277 is a medium-severity vulnerability in Lunary Lunary, published on 6 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In lunary-ai/lunary version 1.2.4, a vulnerability exists in the password recovery mechanism where the reset password token is not invalidated after use. This allows an attacker who compromises the recovery token to repeatedly change the password of a victim's account. The issue lies in the backend's handling of the reset password process, where the token, once used, is not discarded or invalidated, enabling its reuse. This vulnerability could lead to unauthorized account access if an attacker obtains the recovery token.

Weakness: CWE-640

Which versions are affected by CVE-2024-5277?

It affects 1 product.

Products include Lunary Lunary.

How do I fix CVE-2024-5277?

No fix has been published for CVE-2024-5277 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-5277 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5277 exists.

All Lunary Lunary vulnerabilities

Sources

Also known as GHSA-jjfr-89c6-m7cf.

Is CVE-2024-5277 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free