CVE-2004-0340 Memory corruption in n/a

High 7.2 Published Updated

Local attackers can execute arbitrary code via buffer overflow in WFTPD Pro Server FTP commands.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2004-0340?

CVE-2004-0340 is a high-severity memory corruption vulnerability in n/a, published on 18 Mar 2004. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Stack-based buffer overflow in WFTPD Pro Server 3.21 Release 1, Pro Server 3.20 Release 2, Server 3.21 Release 1, and Server 3.10 allows local users to execute arbitrary code via long (1) LIST, (2) NLST, or (3) STAT commands.

Which versions are affected by CVE-2004-0340?

It affects 1 product.

Products include Texas Imperial Software Wftpd.

How do I fix CVE-2004-0340?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2004-0340 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-5ff7-p7hw-6x23.

Is CVE-2004-0340 in your software?

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

Check your SBOMs for free