CVE-2007-5300 Memory corruption in n/a

Medium 5.0 Published Updated

Remote attackers can crash the wzdftpd daemon via a stack-based buffer overflow in the login function, causing denial of service.

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

What is CVE-2007-5300?

CVE-2007-5300 is a medium-severity memory corruption vulnerability in n/a, published on 9 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Off-by-one error in the do_login_loop function in libwzd-core/wzd_login.c in wzdftpd 0.8.0, 0.8.2, and possibly other versions allows remote attackers to cause a denial of service (daemon crash) via a long USER command that triggers a stack-based buffer overflow. NOTE: some of these details are obtained from third party information.

Weakness: CWE-189, CWE-119

Which versions are affected by CVE-2007-5300?

It affects 1 product.

Products include Wzdftpd Wzdftpd.

How do I fix CVE-2007-5300?

Apply the vendor's patch.

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

Is CVE-2007-5300 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DSA-1452-1, GHSA-hjg5-38g6-376g.

Is CVE-2007-5300 in your software?

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

Check your SBOMs for free