{"id":"CVE-2024-45187","state":"PUBLISHED","title":"Mage AI allows deleted users to use the terminal server with admin access, leading to remote code execution","description":"Guest users in the Mage AI framework that remain logged in after their accounts are deleted, are mistakenly given high privileges and specifically given access to remotely execute arbitrary code through the Mage AI terminal server","publishedAt":"2024-08-23T18:58:59.693Z","updatedAt":"2024-11-25T12:40:10.567Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"JFROG"},"assigner":"JFROG","products":["mage-ai"],"affected":[{"packageName":"mage-ai","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"python"}],"collectionURL":"https://pypi.org/project/pip"}],"references":["https://research.jfrog.com/vulnerabilities/mage-ai-deleted-users-rce-jfsa-2024-001039602/"],"weaknesses":["CWE-613","CWE-266"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/45xxx/CVE-2024-45187.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-45187","state":"PUBLISHED","datePublished":"2024-08-23T18:58:59.693Z","dateUpdated":"2024-11-25T12:40:10.567Z","assignerShortName":"JFROG","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateReserved":"2024-08-22T07:56:35.555Z"},"containers":{"cna":{"title":"Mage AI allows deleted users to use the terminal server with admin access, leading to remote code execution","descriptions":[{"lang":"en","value":"Guest users in the Mage AI framework that remain logged in after their accounts are deleted, are mistakenly given high privileges and specifically given access to remotely execute arbitrary code through the Mage AI terminal server"}],"affected":[{"packageName":"mage-ai","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","versionType":"python"}],"collectionURL":"https://pypi.org/project/pip"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/mage-ai-deleted-users-rce-jfsa-2024-001039602/","tags":["third-party-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-613","description":"CWE-613 Insufficient Session Expiration","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"JFROG","orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateUpdated":"2024-11-25T12:40:10.567Z"},"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"mage","product":"mage-ai","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"python"}],"cpes":["cpe:2.3:a:mage:mage-ai:*:*:*:*:*:python:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-23T19:23:12.332632Z","id":"CVE-2024-45187","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-266","type":"CWE","lang":"en","description":"CWE-266 Incorrect Privilege Assignment"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-23T19:25:10.310Z"}}]}}}