CVE-2003-0466 EXPLOIT
9.8
CRITICAL · CVSS 3.1 · EPSS 78.1% (pctl 100)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 9.8 (CRITICAL, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 78.12% — more likely to be exploited than 100% of all CVEs |
| Weakness | CWE-193 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2003-08-27 |
| Last modified | 2026-06-16 |
Affected (8)
| Vendor | Product |
|---|---|
| apple | mac os x |
| apple | mac os x server |
| freebsd | freebsd |
| netbsd | netbsd |
| openbsd | openbsd |
| redhat | wu ftpd |
| sun | solaris |
| wuftpd | wu-ftpd |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | WU-FTPD 2.6.2 - Remote Command Execution | 2003-08-11 |
| exploit-db | WU-FTPD 2.6.0/2.6.1/2.6.2 - 'realpath()' Off-by-One Buffer Overflow | 2003-08-06 |
| exploit-db | WU-FTPD 2.6.2 - Off-by-One Remote Command Execution | 2003-08-03 |
| exploit-db | WU-FTPD 2.6.2 - 'realpath()' Off-by-One Buffer Overflow | 2003-08-02 |
| exploit-db | FreeBSD 4.8 - 'realpath()' Off-by-One Buffer Overflow | 2003-07-31 |
References
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-011.txt.asc
- 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
→ the Explorer · watch your stack · NVD