CVE-2024-4146CWE-863

Incorrect Authorization in lunary-ai/lunary

Critical · published June 8, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
44.8
In the wild
Unconfirmed
What it is

🚨 An authorization oversight in lunary-ai version 1.2.13 lets unauthorized users slip through the cracks — imagine a party where anyone can walk into VIP rooms without a pass! Think of it like a hotel where the front desk only checks if someone has a room under their name without verifying if they should be in the suite — anyone with access to the lobby can waltz into the penthouse! This critical vulnerability allows attackers to access and manipulate sensitive projects within an organization, giving them the power to create, update, read, or delete crucial resources without permission. The implications could be absolutely devastating, potentially exposing sensitive data and compromising the entire organization’s security. 🤯

Put simply

Think of it like a hotel where the front desk only checks if someone has a room under their name without verifying if they should be in the suite — anyone with access to the lobby can waltz into the penthouse! In lunary-ai, the `checkProjectAccess` method fails to verify individual project permissions and only checks if the user belongs to the organization owning the project, skipping necessary checks against the `account_project` table.

What to do

This critical vulnerability allows attackers to access and manipulate sensitive projects within an organization, giving them the power to create, update, read, or delete crucial resources without permission. The implications could be absolutely devastating, potentially exposing sensitive data and compromising the entire organization’s security. 🤯 To secure your system, immediately patch to version 1.2.14 where this vulnerability is fixed. Additionally, conduct an audit of user access permissions to ensure that everyone has the right permissions in place. 🔥 You’ve got this! Follow these steps and you’ll be well on your way to securing your projects like a pro! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00542 · 44.8th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2024-06-08T19:41Z
EPSS history
Timeline
  • 08 JUN 19:41Z
    Incorrect Authorization in lunary-ai/lunary
    cvelistv5