{"id":"CVE-2024-4287","published":"2024-05-20T12:24:51Z","modified":"2024-08-01T20:33:53Z","title":"Improper Input Validation in mintplex-labs/anything-llm","vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","tier":"tail","description":{"text":"In mintplex-labs/anything-llm, a vulnerability exists due to improper input validation in the workspace update process. Specifically, the application fails to validate or format JSON data sent in an HTTP POST request to `/api/workspace/:workspace-slug/update`, allowing it to be executed as part of a database query without restrictions. This flaw enables users with a manager role to craft a request that includes nested write operations, effectively allowing them to create new Administrator accounts.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0061,"percentile":0.50156,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://huntr.com/bounties/34491fb7-5133-4e80-8782-74124350bbdb","tags":[]},{"url":"https://github.com/mintplex-labs/anything-llm/commit/94b58249a37a21b1c08deaa2d1edfdecbb6deb18","tags":[]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.03},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"mintplex-labs","affectedVersions":[{"vendor":"mintplex-labs","product":"mintplex-labs/anything-llm","versions":[">= unspecified, < 0.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-19T12:34:15.585229Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-32837","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mintplex-labs-anything-llm-cve-2023-4898","children":[{"from":"CVE-2024-4287","to":"CVE-2024-3166","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["frontend/src/components/LLMSelection/LMStudioOptions/index.jsx","server/prisma/schema.prisma","server/utils/helpers/updateENV.js"],"commits":["https://github.com/mintplex-labs/anything-llm/commit/fa27103d032c58904c49b92ee13fabc19a20a5ce","https://github.com/mintplex-labs/anything-llm/commit/94b58249a37a21b1c08deaa2d1edfdecbb6deb18"],"basis":"shared function","functions":["LMStudioOptions"]}]}]}}