CVE-2003-0466 Memory corruption in n/a
An off-by-one error in the realpath function allows remote attackers to execute arbitrary code via crafted FTP commands.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2003-0466?
CVE-2003-0466 is a critical memory corruption vulnerability in Apple Mac Os X, published on 1 Aug 2003. 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 fb_realpath() function, as derived from the realpath function in BSD, may allow attackers to execute arbitrary code, as demonstrated in wu-ftpd 2.5.0 through 2.6.2 via commands that cause pathnames of length MAXPATHLEN+1 to trigger a buffer overflow, including (1) STOR, (2) RETR, (3) APPE, (4) DELE, (5) MKD, (6) RMD, (7) STOU, or (8) RNTO.
Weakness: CWE-193
Which versions are affected by CVE-2003-0466?
It affects 8 products.
Products include Apple Mac Os X, Apple Mac Os X Server, Freebsd Freebsd, Netbsd Netbsd, Openbsd Openbsd, Redhat Wu Ftpd and 2 more.
How do I fix CVE-2003-0466?
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-2003-0466 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2003-0466 exists.
Public exploit code: 5 Exploit-DB entries.
Other vulnerabilities in Apple Mac Os X
Sources
Also known as DSA-357, GHSA-7c4w-gm97-vgqq.