{"id":"CVE-2024-0795","published":"2024-03-02T21:16:46Z","modified":"2024-08-15T18:40:49Z","title":"Create user API role not enforced","vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","tier":"tail","description":{"text":"If an attacked was given access to an instance with the admin or manager role there is no backend authentication that would prevent the attacked from creating a new user with an `admin` role and then be able to use this new account to have elevated privileges on the instance","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00945,"percentile":0.61929,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://huntr.com/bounties/f69e3307-7b44-4776-ac60-2990990723ec","tags":[]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564","tags":[]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":12.39},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"mintplex-labs","affectedVersions":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[">= unspecified, < 1.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-03-08T19:45:00.992304Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-16582","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mintplex-labs-anything-llm-cve-2023-4898","parents":[{"from":"CVE-2023-4898","to":"CVE-2024-0795","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/endpoints/admin.js","server/endpoints/api/admin/index.js","server/endpoints/chat.js","server/models/workspace.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/dc3dfbf31495fe316b21ee184b9317b38101d30e","https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564"],"basis":"shared function","functions":["adminEndpoints","apiAdminEndpoints","chatEndpoints"]}]},{"from":"CVE-2023-4899","to":"CVE-2024-0795","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/endpoints/admin.js","server/endpoints/api/admin/index.js","server/endpoints/chat.js","server/models/workspace.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/dc3dfbf31495fe316b21ee184b9317b38101d30e","https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564"],"basis":"shared function","functions":["adminEndpoints","apiAdminEndpoints","chatEndpoints"]}]},{"from":"CVE-2024-22422","to":"CVE-2024-0795","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frontend/src/App.jsx","frontend/src/components/SettingsSidebar/index.jsx","frontend/src/models/system.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564","https://github.com/Mintplex-Labs/anything-llm/commit/08d33cfd8fc47c5052b6ea29597c964a9da641e2"],"basis":"shared function","functions":["App","SettingsSidebar","SidebarMobileHeader"]}]}],"children":[{"from":"CVE-2024-0795","to":"CVE-2024-0765","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frontend/src/App.jsx","frontend/src/components/SettingsSidebar/index.jsx","frontend/src/models/system.js"],"commits":["https://github.com/Mintplex-Labs/anything-llm/commit/08d33cfd8fc47c5052b6ea29597c964a9da641e2","https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564"],"basis":"shared function","functions":["App","SettingsSidebar","SidebarMobileHeader"]}]},{"from":"CVE-2024-0795","to":"CVE-2024-10109","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/utils/middleware/multiUserProtected.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564","https://github.com/mintplex-labs/anything-llm/commit/8d302c3f670c582b09d47e96132c248101447a11"],"basis":"rarely changed file"}]},{"from":"CVE-2024-0795","to":"CVE-2024-3166","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/endpoints/admin.js","server/endpoints/api/admin/index.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564","https://github.com/mintplex-labs/anything-llm/commit/fa27103d032c58904c49b92ee13fabc19a20a5ce"],"basis":"shared function","functions":["adminEndpoints","apiAdminEndpoints"]}]},{"from":"CVE-2024-0795","to":"CVE-2024-3279","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frontend/src/App.jsx","frontend/src/components/SettingsSidebar/index.jsx","frontend/src/models/system.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564","https://github.com/Mintplex-Labs/anything-llm/commit/08d33cfd8fc47c5052b6ea29597c964a9da641e2"],"basis":"shared function","functions":["App","SettingsSidebar","SidebarMobileHeader"]}]},{"from":"CVE-2024-0795","to":"CVE-2024-5213","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["server/endpoints/admin.js","server/endpoints/api/admin/index.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564","https://github.com/mintplex-labs/anything-llm/commit/9df4521113ddb9a3adb5d0e3941e7d494992629c"],"basis":"shared function","functions":["adminEndpoints","apiAdminEndpoints"]}]},{"from":"CVE-2024-0795","to":"CVE-2024-8196","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frontend/src/App.jsx","frontend/src/components/SettingsSidebar/index.jsx"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/9a237db3d1f66cdbcf5079599258f5fb251c5564","https://github.com/mintplex-labs/anything-llm/commit/9bfe477f10b188bfe3508ac29105df80d4522ece"],"basis":"shared function","functions":["App"]}]}]}}