{"id":"CVE-2023-43791","published":"2023-11-09T14:42:40Z","modified":"2024-09-03T18:46:40Z","title":"Label Studio has Hardcoded Django `SECRET_KEY` that can be Abused to Forge Session Tokens","vendor":"HumanSignal","product":"label-studio","tier":"tail","description":{"text":"Label Studio is a multi-type data labeling and annotation tool with standardized output format. There is a vulnerability that can be chained within the ORM Leak vulnerability to impersonate any account on Label Studio. An attacker could exploit these vulnerabilities to escalate their privileges from a low privilege user to a Django Super Administrator user. The vulnerability was found to affect versions before `1.8.2`, where a patch was introduced.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01241,"percentile":0.69145,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/HumanSignal/label-studio/security/advisories/GHSA-f475-x83m-rx5m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/HumanSignal/label-studio/pull/4690","tags":["x_refsource_MISC"]},{"url":"https://github.com/HumanSignal/label-studio/commit/3d06c5131c15600621e08b06f07d976887cde81b","tags":["x_refsource_MISC"]},{"url":"https://github.com/HumanSignal/label-studio/releases/tag/1.8.2","tags":["x_refsource_MISC"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":13.83},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"humansignal","affectedVersions":[{"vendor":"HumanSignal","product":"label-studio","versions":["<= 1.8.1"]}],"affected":[{"ecosystem":"PyPI","package":"label-studio","vulnerableRanges":["<1.8.2"],"patched":["1.8.2"],"from":["GHSA-f475-x83m-rx5m","PYSEC-2023-274"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0107","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-humansignal-label-studio-cve-2023-43791","children":[{"from":"CVE-2023-43791","to":"CVE-2023-47117","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:label-studio","fromFixed":"1.8.2","toFixed":"1.9.2","daysApart":4},{"kind":"same-code","provenance":"machine","files":["label_studio/core/settings/base.py","label_studio/core/utils/params.py"],"commits":["https://github.com/HumanSignal/label-studio/commit/3d06c5131c15600621e08b06f07d976887cde81b","https://github.com/HumanSignal/label-studio/commit/f931d9d129002f54a495995774ce7384174cef5c"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.21,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2023-43791","to":"CVE-2023-47116","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["label_studio/core/settings/base.py","label_studio/core/utils/io.py"],"commits":["https://github.com/HumanSignal/label-studio/commit/3d06c5131c15600621e08b06f07d976887cde81b","https://github.com/HumanSignal/label-studio/commit/55dd6af4716b92f2bb213fe461d1ffbc380c6a64"],"basis":"shared function","functions":["validate_upload_url"]}]}],"packageHistory":[{"cve":"CVE-2022-36551","published":"2022-10-03","fixed":"1.6.0","kev":false,"link":{"from":"CVE-2022-36551","to":"CVE-2023-43791","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:label-studio","fromFixed":"1.6.0","toFixed":"1.8.2","daysApart":402}]}},{"cve":"CVE-2023-43791","published":"2023-11-09","fixed":"1.8.2","kev":false},{"cve":"CVE-2023-47115","published":"2024-01-23","fixed":"1.9.2","kev":false,"link":{"from":"CVE-2023-43791","to":"CVE-2023-47115","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:label-studio","fromFixed":"1.8.2","toFixed":"1.9.2","daysApart":75}]}},{"cve":"CVE-2023-47117","published":"2023-11-13","fixed":"1.9.2.post0","kev":false},{"cve":"CVE-2024-23633","published":"2024-01-23","fixed":"1.10.1","kev":false}],"package":"PyPI:label-studio"}}