CVEvulnerability
CVE-2024-5124
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-06-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-203
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.
Affected configurations
• gaizhenbiao chuanhuchatgpt (< 20240628)
Related
Weakness · CWE (1)
- CWE-203 Observable Discrepancy weakness
References
- https://github.com/gaizhenbiao/chuanhuchatgpt/commit/e46ec4ecd896bc3c88eb9a2f44e8593f3c6761b4 github.com
- https://huntr.com/bounties/e85ec077-930a-4597-975f-9341d2805641 Exploit, Third Party Advisory
- https://huntr.com/bounties/e85ec077-930a-4597-975f-9341d2805641 Exploit, Third Party Advisory