Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2024-5124 EUVD-2024-46381GHSA-xgqc-3vhw-cphp

Timing Attack Vulnerability in gaizhenbiao/chuanhuchatgpt

Published Jun 6, 2024 · Updated May 20, 2025 · 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.

Affected products

VendorProductAffectedFixed
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified – < 20240628 20240628

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References