CVE-2024-1741CWE-863

Improper Authorization in lunary-ai/lunary

Critical · published April 10, 2024

CVSS v3.0
9.1
EPSS
1%
Percentile
47.3
In the wild
Unconfirmed
What it is

⚠️ Once removed from an organization, ex-members can still access sensitive data with nothing more than an old authorization token — it's like a guest keeping a key after they’ve checked out! 🔥 Think of this as someone who leaves a restaurant but still has the power to reorder the chef’s special with an old receipt. Even though they’re no longer on the guest list, they can still whip up a feast or, worse, mess with someone else’s order! If an attacker exploits this vulnerability, they could read, create, modify, or delete prompt templates, leading to unauthorized access and potential manipulation of critical data. This could have devastating consequences for your organization’s operations, possibly resulting in data breaches, misinformation, or loss of data integrity.

Put simply

Think of this as someone who leaves a restaurant but still has the power to reorder the chef’s special with an old receipt. Even though they’re no longer on the guest list, they can still whip up a feast or, worse, mess with someone else’s order! This vulnerability in lunary version 1.0.1 occurs due to improper authorization checks that allow removed members to use previously captured authorization tokens, effectively bypassing security protocols. As a result, they can perform sensitive actions on prompt templates even after leaving an organization.

What to do

If an attacker exploits this vulnerability, they could read, create, modify, or delete prompt templates, leading to unauthorized access and potential manipulation of critical data. This could have devastating consequences for your organization’s operations, possibly resulting in data breaches, misinformation, or loss of data integrity. Immediately upgrade to lunary version 1.0.2, where this issue is fixed. Additionally, review your authorization processes to ensure old tokens are invalidated upon a user’s departure to prevent unauthorized access in the future. Regular audits of active tokens can further enhance your security posture. You’ve got this! With these steps, you’ll lock down your sensitive data and keep those ex-members from pulling any more sneaky moves. 🛡️

The record
Technical detail
CVSS v3.0
9.1 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00586 · 47.3th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2024-04-10T17:08Z
EPSS history
Timeline
  • 10 APR 17:08Z
    Improper Authorization in lunary-ai/lunary
    cvelistv5