{"id":"CVE-2023-2158","state":"PUBLISHED","title":"Impersonation through User-Controlled Token","description":"Code Dx versions prior to 2023.4.2 are vulnerable to user impersonation attack where a malicious actor is able to gain access to another user's account by crafting a custom \"Remember Me\" token. This is possible due to the use of a hard-coded cipher which was used when generating the token. A malicious actor who creates this token can supply it to a separate Code Dx system, provided they know the username they want to impersonate, and impersonate the user.  Score 6.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C\n\n","publishedAt":"2023-04-27T17:04:22.879Z","updatedAt":"2025-01-31T18:16:46.890Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"SNPS","products":["Synopsys Code Dx"],"affected":[{"vendor":"Synopsys","product":"Code Dx","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2023.4.1","versionType":"custom"}]}],"references":["https://community.synopsys.com/s/question/0D5Hr00006VdZblKAF/announcement-changelog-code-dx-202342"],"weaknesses":["CWE-321","CWE-798"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/2xxx/CVE-2023-2158.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-2158","state":"PUBLISHED","datePublished":"2023-04-27T17:04:22.879Z","dateUpdated":"2025-01-31T18:16:46.890Z","assignerShortName":"SNPS","assignerOrgId":"8cad7728-009c-4a3d-a95e-ca62e6ff8a0b","dateReserved":"2023-04-18T14:08:54.082Z"},"containers":{"cna":{"title":"Impersonation through User-Controlled Token","descriptions":[{"lang":"en","value":"Code Dx versions prior to 2023.4.2 are vulnerable to user impersonation attack where a malicious actor is able to gain access to another user's account by crafting a custom \"Remember Me\" token. This is possible due to the use of a hard-coded cipher which was used when generating the token. A malicious actor who creates this token can supply it to a separate Code Dx system, provided they know the username they want to impersonate, and impersonate the user.  Score 6.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C\n\n"}],"affected":[{"vendor":"Synopsys","product":"Code Dx","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2023.4.1","versionType":"custom"}]}],"references":[{"url":"https://community.synopsys.com/s/question/0D5Hr00006VdZblKAF/announcement-changelog-code-dx-202342"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-321","description":"CWE-321 Use of Hard-coded Cryptographic Key","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"SNPS","orgId":"8cad7728-009c-4a3d-a95e-ca62e6ff8a0b","dateUpdated":"2023-04-27T17:04:22.879Z"},"impacts":[{"capecId":"CAPEC-633","descriptions":[{"lang":"en","value":"CAPEC-633 Token Impersonation"}]}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://community.synopsys.com/s/question/0D5Hr00006VdZblKAF/announcement-changelog-code-dx-202342","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T06:12:20.510Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-01-31T18:16:43.307758Z","id":"CVE-2023-2158","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-798","type":"CWE","lang":"en","description":"CWE-798 Use of Hard-coded Credentials"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-01-31T18:16:46.890Z"}}]}}}