{"id":"CVE-2024-1902","state":"PUBLISHED","title":"Session Reuse Vulnerability in lunary-ai/lunary","description":"lunary-ai/lunary is vulnerable to a session reuse attack, allowing a removed user to change the organization name without proper authorization. The vulnerability stems from the lack of validation to check if a user is still part of an organization before allowing them to make changes. An attacker can exploit this by using an old authorization token to send a PATCH request, modifying the organization's name even after being removed from the organization. This issue is due to incorrect synchronization and affects the orgs.patch route.","publishedAt":"2024-04-10T17:08:05.267Z","updatedAt":"2024-08-01T18:56:22.480Z","severity":{"score":7.5,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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.8","versionType":"custom"}]}],"references":["https://huntr.com/bounties/e536310e-abe7-4585-9cf6-21f77390a5e8","https://github.com/lunary-ai/lunary/commit/d8e2e73efd53ab4e92cf47bbf4b639a9f08853d2"],"weaknesses":["CWE-821"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/1xxx/CVE-2024-1902.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-1902","state":"PUBLISHED","datePublished":"2024-04-10T17:08:05.267Z","dateUpdated":"2024-08-01T18:56:22.480Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-02-26T19:31:07.972Z"},"containers":{"cna":{"title":"Session Reuse Vulnerability in lunary-ai/lunary","descriptions":[{"lang":"en","value":"lunary-ai/lunary is vulnerable to a session reuse attack, allowing a removed user to change the organization name without proper authorization. The vulnerability stems from the lack of validation to check if a user is still part of an organization before allowing them to make changes. An attacker can exploit this by using an old authorization token to send a PATCH request, modifying the organization's name even after being removed from the organization. This issue is due to incorrect synchronization and affects the orgs.patch route."}],"affected":[{"vendor":"lunary-ai","product":"lunary-ai/lunary","versions":[{"version":"unspecified","status":"affected","lessThan":"1.2.8","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/e536310e-abe7-4585-9cf6-21f77390a5e8"},{"url":"https://github.com/lunary-ai/lunary/commit/d8e2e73efd53ab4e92cf47bbf4b639a9f08853d2"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-821","type":"CWE","lang":"en","description":"CWE-821 Incorrect Synchronization"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2024-04-16T11:10:33.420Z"},"source":{"advisory":"e536310e-abe7-4585-9cf6-21f77390a5e8","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"lunary-ai","product":"lunary","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.2.8","versionType":"custom"}],"cpes":["cpe:2.3:a:lunary-ai:lunary:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-31T20:42:52.325488Z","id":"CVE-2024-1902","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-07-31T20:47:37.326Z"}},{"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/e536310e-abe7-4585-9cf6-21f77390a5e8","tags":["x_transferred"]},{"url":"https://github.com/lunary-ai/lunary/commit/d8e2e73efd53ab4e92cf47bbf4b639a9f08853d2","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T18:56:22.480Z"}}]}}}