Skip to main content
Public proof of conceptFix available

CVE-2024-5124

A public proof of concept exists; no exploitation attested.

  • Published2024-06-06
  • Fixed in20240628
  • WeaknessCWE-203

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-06-0619:16CVE publishedNVD

Versions per branch

NVD · CISA-ADP
Gaizhenbiao chuanhuchatgpt
BranchAffectedFixed in
20240628.x< 2024062820240628
—= allno fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As @huntr_ai, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • gaizhenbiao/chuanhuchatgpt
    Affected
    • < 20240628fixed in 20240628custom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-11-14

Fix

  1. Update Gaizhenbiao chuanhuchatgpt to 20240628

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2024-06-06
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-xgqc-3vhw-cphp

Frequently asked questions

What is CVE-2024-5124?

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.

Is CVE-2024-5124 actively exploited?

A proof-of-concept exploit exists for CVE-2024-5124, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-5124?

CVE-2024-5124 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record