CVE-2024-5248

Medium

Description

In lunary-ai/lunary version 1.2.5, an improper access control vulnerability exists due to a missing permission check in the `GET /v1/users/me/org` endpoint. The platform's role definitions restrict the `Prompt Editor` role to prompt management and project viewing/listing capabilities, explicitly excluding access to user information. However, the endpoint fails to enforce this restriction, allowing users with the `Prompt Editor` role to access the full list of users in the organization. This vulnerability allows unauthorized access to sensitive user information, violating the intended access controls.

SeverityMedium
CVSS6.5
Exploit probability—
ProductLunary
PublishedJun 6, 2024
First seenJun 6, 2024

How to fix

Update
  • lunary lunary1.4.9 or later

Affected products

ProductAffected versionsFixed in
lunary lunary1.2.5 ≤ v < 1.4.91.4.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.