CVE-2024-5248

Improper Access Control in lunary-ai/lunary

State
Published
Severity
6.5 Medium
Published
Jun 6, 2024
Updated
Nov 3, 2024
Reserved
May 22, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.06.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N@huntr_ai

Weaknesses

Affected Products

ProductVersions
lunary-ai/lunarylunary-ai
  • before 1.4.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.