CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-5124: Timing Attack Vulnerability in gaizhenbiao/chuanhuchatgpt

7.5 CVSS

Description

A timing attack vulnerability exists in the gaizhenbiao/chuanhuchatgpt repository, specifically within the password comparison logic. The vulnerability is present in version 20240310 of the software, where passwords are compared using the '=' operator in Python. This method of comparison allows an attacker to guess passwords based on the timing of each character's comparison. The issue arises from the code segment that checks a password for a particular username, which can lead to the exposure of sensitive information to an unauthorized actor. An attacker exploiting this vulnerability could potentially guess user passwords, compromising the security of the system.

Classification

CVE ID: CVE-2024-5124

CVSS Base Severity: HIGH

CVSS Base Score: 7.5

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem Types

CWE-203 Observable Discrepancy

Affected Products

Vendor: gaizhenbiao

Product: gaizhenbiao/chuanhuchatgpt

Exploit Prediction Scoring System (EPSS)

EPSS Score: 31.24% (probability of being exploited)

EPSS Percentile: 96.51% (scored less or equal to compared to others)

EPSS Date: 2025-06-15 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: poc

SSVC Technical Impact: total

SSVC Automatable: true

References

https://nvd.nist.gov/vuln/detail/CVE-2024-5124
https://huntr.com/bounties/e85ec077-930a-4597-975f-9341d2805641
https://github.com/gaizhenbiao/chuanhuchatgpt/commit/e46ec4ecd896bc3c88eb9a2f44e8593f3c6761b4

Timeline