{"id":"CVE-2024-5131","state":"PUBLISHED","title":"Improper Access Control in lunary-ai/lunary","description":"An Improper Access Control vulnerability exists in the lunary-ai/lunary repository, affecting versions up to and including 1.2.2. The vulnerability allows unauthorized users to view any prompts in any projects by supplying a specific prompt ID to an endpoint that does not adequately verify the ownership of the prompt ID. This issue was fixed in version 1.2.25.","publishedAt":"2024-06-06T18:31:16.725Z","updatedAt":"2024-11-03T18:27:24.663Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["lunary-ai lunary-ai/lunary"],"affected":[{"vendor":"lunary-ai","product":"lunary-ai/lunary","versions":[{"version":"unspecified","status":"affected","lessThan":"1.2.25","versionType":"custom"}]}],"references":["https://huntr.com/bounties/52c129f2-114e-492f-aee8-32c78f75ac4f","https://github.com/lunary-ai/lunary/commit/ddfd497afd017a6946c582a1a806687fdac888bf"],"weaknesses":["CWE-639"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/5xxx/CVE-2024-5131.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5131","state":"PUBLISHED","datePublished":"2024-06-06T18:31:16.725Z","dateUpdated":"2024-11-03T18:27:24.663Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-05-19T18:14:50.387Z"},"containers":{"cna":{"title":"Improper Access Control in lunary-ai/lunary","descriptions":[{"lang":"en","value":"An Improper Access Control vulnerability exists in the lunary-ai/lunary repository, affecting versions up to and including 1.2.2. The vulnerability allows unauthorized users to view any prompts in any projects by supplying a specific prompt ID to an endpoint that does not adequately verify the ownership of the prompt ID. This issue was fixed in version 1.2.25."}],"affected":[{"vendor":"lunary-ai","product":"lunary-ai/lunary","versions":[{"version":"unspecified","status":"affected","lessThan":"1.2.25","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/52c129f2-114e-492f-aee8-32c78f75ac4f"},{"url":"https://github.com/lunary-ai/lunary/commit/ddfd497afd017a6946c582a1a806687fdac888bf"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","type":"CWE","lang":"en","description":"CWE-639 Authorization Bypass Through User-Controlled Key"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-11-03T18:27:24.663Z"},"source":{"advisory":"52c129f2-114e-492f-aee8-32c78f75ac4f","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"lunary-ai","product":"lunary","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.2.2","versionType":"custom"}],"cpes":["cpe:2.3:a:lunary-ai:lunary:0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-07T19:26:52.663561Z","id":"CVE-2024-5131","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-07T19:28:05.525Z"}},{"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/52c129f2-114e-492f-aee8-32c78f75ac4f","tags":["x_transferred"]},{"url":"https://github.com/lunary-ai/lunary/commit/ddfd497afd017a6946c582a1a806687fdac888bf","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:03:10.967Z"}}]}}}