7.5
CWE
821
Advisory Published
Updated

CVE-2024-1902: Session Reuse Vulnerability in lunary-ai/lunary

First published: Wed Apr 10 2024(Updated: )

lunary-ai/lunary is vulnerable to a session reuse attack, allowing a removed user to change the organization name without proper authorization. The vulnerability stems from the lack of validation to check if a user is still part of an organization before allowing them to make changes. An attacker can exploit this by using an old authorization token to send a PATCH request, modifying the organization's name even after being removed from the organization. This issue is due to incorrect synchronization and affects the orgs.patch route.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
lunary lunary<1.2.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-1902?

    CVE-2024-1902 is rated as a high severity vulnerability due to its potential to allow unauthorized changes.

  • How do I fix CVE-2024-1902?

    To fix CVE-2024-1902, implement user validation checks to verify that a user is still part of the organization before allowing changes.

  • Who is affected by CVE-2024-1902?

    CVE-2024-1902 affects all versions of lunary prior to 1.2.8.

  • What kind of attack does CVE-2024-1902 enable?

    CVE-2024-1902 enables session reuse attacks where a removed user can change the organization name without authorization.

  • What is the main cause of CVE-2024-1902?

    The main cause of CVE-2024-1902 is a lack of validation for user organization membership before allowing changes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203