critical9.8Public exploit code
CVE-2003-0466
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…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- FreeBSD 4.8 - 'realpath()' Off-by-One Buffer Overflow2003-07-31 · remote · freebsd · Verified
- WU-FTPD 2.6.0/2.6.1/2.6.2 - 'realpath()' Off-by-One Buffer Overflow2003-08-06 · remote · unix · Verified
- WU-FTPD 2.6.2 - 'realpath()' Off-by-One Buffer Overflow2003-08-02 · remote · unix · Verified
- WU-FTPD 2.6.2 - Remote Command Execution2003-08-11 · remote · linux · Verified
- WU-FTPD 2.6.2 - Off-by-One Remote Command Execution2003-08-03 · remote · linux · Verified
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Wu Ftpd | Version 2.6.1-16 |
| Wuftpd | Wu-Ftpd | from 2.5.0 through 2.6.2 |
| Apple | Mac Os X | Version 10.2.6 |
| Apple | Mac Os X Server | Version 10.2.6 |
| Freebsd | Freebsd | from 4.0 through 5.0 |
| Netbsd | Netbsd | from 1.5 through 1.6.1 |
| Openbsd | Openbsd | from 2.0 through 3.3 |
| Sun | Solaris | Version 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- http://archives.neohapsis.com/archives/vulnwatch/2003-q3/0065.html
- http://download.immunix.org/ImmunixOS/7+/Updates/errata/IMNX-2003-7+-019-01
- http://isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt
- http://marc.info/?l=bugtraq&m=105967301604815&w=2
- http://marc.info/?l=bugtraq&m=106001410028809&w=2
- http://marc.info/?l=bugtraq&m=106001702232325&w=2
- http://marc.info/?l=bugtraq&m=106002488209129&w=2
- http://secunia.com/advisories/9423
- http://secunia.com/advisories/9446
- http://secunia.com/advisories/9447
- http://secunia.com/advisories/9535
- http://securitytracker.com/id?1007380
- http://sunsolve.sun.com/search/document.do?assetkey=1-77-1001257.1-1
- http://www.debian.org/security/2003/dsa-357
- http://www.kb.cert.org/vuls/id/743092
- http://www.mandriva.com/security/advisories?name=MDKSA-2003:080
- http://www.novell.com/linux/security/advisories/2003_032_wuftpd.html
- http://www.osvdb.org/6602
- http://www.redhat.com/support/errata/RHSA-2003-245.html
- http://www.redhat.com/support/errata/RHSA-2003-246.html
- http://www.securityfocus.com/archive/1/424852/100/0/threaded
- http://www.securityfocus.com/archive/1/425061/100/0/threaded
- http://www.securityfocus.com/bid/8315
- http://www.turbolinux.com/security/TLSA-2003-46.txt
- https://exchange.xforce.ibmcloud.com/vulnerabilities/12785