patchminder
Proof of concept · GitHub CVE-2024-5124

Information disclosurein GaiZhenbiao ChuanhuChatGPT.

Published 6 Jun 2024 · Updated 20 May 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 20240628 or later
In plain words

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.

What to do now
  • Upgrade gaizhenbiao/chuanhuchatgpt to 20240628 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
gaizhenbiao/chuanhuchatgpt
before 20240628
20240628
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 19 May 2024
    CVE ID reserved by @huntr_ai.
  2. 6 Jun 2024
    Published in the CVE List.
  3. 30 Oct 2024
    First public proof of concept on GitHub.
  4. 20 May 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgogo2464/CVE-2024-51241 stars · created 30 Oct 2024

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other ChuanhuChatGPT vulnerabilities

Same weakness: Observable discrepancy

All CWE-203 vulnerabilities

References
Cite this page

Patchminder. CVE-2024-5124: Information disclosure in GaiZhenbiao ChuanhuChatGPT. https://patchminder.com/cve/cve-2024-5124/ (accessed 5 December 2026).