9.8
CVSSv3

CVE-2003-0466

Published: 27/08/2003 Updated: 08/02/2024
CVSS v2 Base Score: 10 | Impact Score: 10 | Exploitability Score: 10
CVSS v3 Base Score: 9.8 | Impact Score: 5.9 | Exploitability Score: 3.9
VMScore: 1000
Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Summary

Off-by-one error in the fb_realpath() function, as derived from the realpath function in BSD, may allow malicious users to execute arbitrary code, as demonstrated in wu-ftpd 2.5.0 up to and including 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.

Vulnerable Product Search on Vulmon Subscribe to Product

wuftpd wu-ftpd

redhat wu ftpd 2.6.1-16

apple mac os x server 10.2.6

apple mac os x 10.2.6

sun solaris 9.0

freebsd freebsd

netbsd netbsd

openbsd openbsd

Vendor Advisories

iSEC Security Research reports that wu-ftpd contains an off-by-one bug in the fb_realpath function which could be exploited by a logged-in user (local or anonymous) to gain root privileges A demonstration exploit is reportedly available For the current stable distribution (woody) this problem has been fixed in version 262-3woody1 For the unst ...

Exploits

source: wwwsecurityfocuscom/bid/8315/info The 'realpath()' function is a C-library procedure to resolve the canonical, absolute pathname of a file based on a path that may contain values such as '/', '/', '/', or symbolic links A vulnerability that was reported to affect the implementation of 'realpath()' in WU-FTPD has lead to the d ...
/* ** ** wu-ftpd v262 off-by-one remote 0day exploit ** ** exploit by "you dong-hun"(Xpl017Elz), <szoahc@hotmailcom> ** ** Update: ** [v002] August 2, I added wu-ftpd-262, 260, 261 finally ** [v003] August 3, Brute-Force function addition ** [v004] August 4, Added FreeBSD, OpenBSD version wu-ftpd-2 ...
source: wwwsecurityfocuscom/bid/8315/info The 'realpath()' function is a C-library procedure to resolve the canonical, absolute pathname of a file based on a path that may contain values such as '/', '/', '/', or symbolic links A vulnerability that was reported to affect the implementation of 'realpath()' in WU-FTPD has lead to the ...
source: wwwsecurityfocuscom/bid/8315/info The 'realpath()' function is a C-library procedure to resolve the canonical, absolute pathname of a file based on a path that may contain values such as '/', '/', '/', or symbolic links A vulnerability that was reported to affect the implementation of 'realpath()' in WU-FTPD has lead to the di ...
/* ** ** wu-ftpd v262 off-by-one remote 0day exploit ** ** exploit by "you dong-hun"(Xpl017Elz) ** ** Brute-Force function added ** */ #define VERSION "v003" #include <stdioh> #include <unistdh> #include <stdlibh> #include <netdbh> #include <netinet/inh> #include <sys/socketh> #define ...

References

CWE-193http://www.securityfocus.com/bid/8315http://archives.neohapsis.com/archives/vulnwatch/2003-q3/0065.htmlhttp://www.kb.cert.org/vuls/id/743092http://isec.pl/vulnerabilities/isec-0011-wu-ftpd.txthttp://www.redhat.com/support/errata/RHSA-2003-245.htmlhttp://www.redhat.com/support/errata/RHSA-2003-246.htmlhttp://www.novell.com/linux/security/advisories/2003_032_wuftpd.htmlhttp://www.debian.org/security/2003/dsa-357ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-011.txt.aschttp://www.turbolinux.com/security/TLSA-2003-46.txthttp://download.immunix.org/ImmunixOS/7+/Updates/errata/IMNX-2003-7+-019-01http://www.osvdb.org/6602http://securitytracker.com/id?1007380http://secunia.com/advisories/9423http://secunia.com/advisories/9446http://secunia.com/advisories/9447http://secunia.com/advisories/9535http://www.securityfocus.com/archive/1/424852/100/0/threadedhttp://www.securityfocus.com/archive/1/425061/100/0/threadedhttp://www.mandriva.com/security/advisories?name=MDKSA-2003:080http://sunsolve.sun.com/search/document.do?assetkey=1-77-1001257.1-1http://marc.info/?l=bugtraq&m=106001702232325&w=2http://marc.info/?l=bugtraq&m=105967301604815&w=2http://marc.info/?l=bugtraq&m=106002488209129&w=2http://marc.info/?l=bugtraq&m=106001410028809&w=2https://exchange.xforce.ibmcloud.com/vulnerabilities/12785https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1970https://www.debian.org/security/./dsa-357https://nvd.nist.govhttps://www.exploit-db.com/exploits/22975/https://www.kb.cert.org/vuls/id/743092