CVE-2023-2158: Code Dx - Broken Authentication
- Cve: CVE-2023-2158
- Name: Code Dx - Broken Authentication
- 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
- Impact: Attackers can impersonate users, gaining access to sensitive information and actions without authorization.
- Remediation: Update to version 2023.4.2 or later to fix the vulnerability.
- Vulnerability type: broken_authentication
- Vulnerability impact: information_disclosure, privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00621
- Epss percentile: 0.50711
- Assignee: [email protected]
- Published at: 2023-04-27T18:15:13Z
- Age in days: 1307
- Modified at: 2026-06-17T05:51:52Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-2158
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-321 | Use of Hard-coded Cryptographic Key |
| CWE-798 | Use of Hard-coded Credentials |
References
| Url | Source | Tags |
|---|---|---|
| https://community.synopsys.com/s/question/0D5Hr00006VdZblKAF/announcement-changelog-code-dx-202342 | nvd | Release Notes, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| synopsys:code_dx | < 2023.4.2 | no | nvd | /v1/products/synopsys/code_dx |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts