CVE-2023-2158CWE-321

Impersonation through User-Controlled Token

Critical · published April 27, 2023

CVSS v3.1
9.8
EPSS
1%
Percentile
49.1
In the wild
Unconfirmed
What it is

🔥 A crafty user impersonation vulnerability lurks in Code Dx versions prior to 2023.4.2, allowing attackers to walk right into another user's account with a cleverly crafted "Remember Me" token! Think of it like having a VIP pass to an exclusive concert, but the pass is printed with the wrong name — if you just change the name on the ticket, you can waltz in and enjoy the show as if you belong there! 🎟️ This vulnerability could lead to absolutely devastating repercussions! An attacker could access sensitive user data, manipulate information, or even perform actions as the impersonated user. It's a digital masquerade ball where the wrong person can enter and wreak havoc!

Put simply

Think of it like having a VIP pass to an exclusive concert, but the pass is printed with the wrong name — if you just change the name on the ticket, you can waltz in and enjoy the show as if you belong there! 🎟️ This user impersonation flaw arises from a hard-coded cipher used to generate the "Remember Me" token, allowing adversaries to create a valid token for any username they know, effectively bypassing authentication checks.

What to do

This vulnerability could lead to absolutely devastating repercussions! An attacker could access sensitive user data, manipulate information, or even perform actions as the impersonated user. It's a digital masquerade ball where the wrong person can enter and wreak havoc! Immediately upgrade Code Dx to version 2023.4.2 or later! Also, review your token generation process to eliminate hard-coded ciphers and enhance overall security. Don't leave your users' accounts vulnerable! You've got this! Act quickly, and you'll fortify your defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00621 · 49.1th percentile
Weakness
CWE-321 · Use of Hard-coded Cryptographic Key
Published
2023-04-27T17:04Z
EPSS history
Timeline
  • 27 APR 17:04Z
    Impersonation through User-Controlled Token
    cvelistv5