CVE-2024-5124

HIGH

gaizhenbiao/chuanhuchatgpt <20240310 - Info Disclosure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-5124. PoCs published by gogo2464.

AI-analyzed exploit summary This repository contains a proof-of-concept exploit for CVE-2024-5124, which targets a timing-based vulnerability in the ChuanhuChatGPT application. The exploit uses timing analysis to infer characters of a password by measuring response times to login requests.

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.

Exploits (1)

nomisec WORKING POC 1 stars
by gogo2464 · poc
https://github.com/gogo2464/CVE-2024-5124

This repository contains a proof-of-concept exploit for CVE-2024-5124, which targets a timing-based vulnerability in the ChuanhuChatGPT application. The exploit uses timing analysis to infer characters of a password by measuring response times to login requests.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: ChuanhuChatGPT (tuchuanhuhuhu/chuanhuchatgpt:20240310)
No auth needed
Prerequisites: Docker environment to deploy the vulnerable application · Python environment with dependencies like requests and tlslite-ng
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 7.5
EPSS 0.4613
EPSS Percentile 97.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-203
Status published
Products (1)
gaizhenbiao/chuanhuchatgpt < 20240628
Published Jun 06, 2024
Tracked Since Feb 18, 2026