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

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-06T18:54:13.192Z
- Modified: 2026-06-17T08:15:14.953Z
- Weaknesses: CWE-203
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: from unspecified before 20240628
- gaizhenbiao chuanhuchatgpt: all; before 20240628

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://huntr.com/bounties/e85ec077-930a-4597-975f-9341d2805641> (exploit, third-party-advisory)
- <https://github.com/gaizhenbiao/chuanhuchatgpt/commit/e46ec4ecd896bc3c88eb9a2f44e8593f3c6761b4>

## Sources

- CVE List: [CVE-2024-5124](https://www.cve.org/CVERecord?id=CVE-2024-5124), CVE Terms of Use, modified 2025-05-20
- NVD: [CVE-2024-5124](https://nvd.nist.gov/vuln/detail/CVE-2024-5124), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-5124 · Whole record: https://cve.day/CVE-2024-5124.json · Rebuilt by cve.day 2026-11-25T22:58:41.519Z
