CVE-2024-5823 File Overwrite Vulnerability in gaizhenbiao/chuanhuchatgpt

Medium 6.5 Published Updated

An attacker can overwrite critical configuration files, leading to unauthorized system changes or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5823?

CVE-2024-5823 is a medium-severity path traversal vulnerability in gaizhenbiao/chuanhuchatgpt, published on 29 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A file overwrite vulnerability exists in gaizhenbiao/chuanhuchatgpt versions <= 20240410. This vulnerability allows an attacker to gain unauthorized access to overwrite critical configuration files within the system. Exploiting this vulnerability can lead to unauthorized changes in system behavior or security settings. Additionally, tampering with these configuration files can result in a denial of service (DoS) condition, disrupting normal system operation.

Weakness: CWE-610, CWE-73

Which versions are affected by CVE-2024-5823?

It affects 1 product.

Products include Gaizhenbiao Chuanhuchatgpt.

How do I fix CVE-2024-5823?

No fix has been published for CVE-2024-5823 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-5823 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5823 exists.

Sources

Also known as GHSA-f3xm-22x6-vg3g.

Is CVE-2024-5823 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free