CVE-2024-5124 Timing Attack Vulnerability in gaizhenbiao/chuanhuchatgpt
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| GaiZhenbiao ChuanhuChatGPT | < 20240628; All versions | 20240628 | Partially fixed |
| gaizhenbiao/chuanhuchatgpt | < 20240628 | 20240628 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gaizhenbiao/chuanhuchatgpt | < 20240628 | 20240628 |
| GaiZhenbiao ChuanhuChatGPT | All versions | No fix listed |
| GaiZhenbiao ChuanhuChatGPT | < 20240628 | 20240628 |
References
- huntr.com exploit third-party-advisory
- github.com