Problem
Wu-ftpd FTP server contains remotely exploitable off-by-one bug. A local or remote attacker could exploit this vulnerability to gain root privileges on a vulnerable system.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2003-0466 to this issue.
Solution
______________________________________________________________________________SCO Security AdvisorySubject: OpenServer 5.0.7 OpenServer 5.0.6 OpenServer 5.0.5 : wu-ftpd b_realpath() off-by-one bug
Advisory number: CSSA-2003-SCO.20
Issue date: 2003 September 18
Cross reference: sr882339 fz528115 erg712363
______________________________________________________________________________1. Problem DescriptionWu-ftpd FTP server contains remotely exploitable off-by-one bug. A local or remote attacker could exploit this vulnerability to gain root privileges on a vulnerable system.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2003-0466 to this issue.
2. Vulnerable Supported VersionsSystem Binaries
----------------------------------------------------------------------
OpenServer 5.0.5 - 5.0.7 /etc/ftpd3. SolutionThe proper solution is to install the latest packages.
4. OpenServer 5.0.74.1 Install Maintenance pack 1.4.2 Location of Maintenance pack 1.https://ftp.scoexpert.com/openserver5/osr507mp/4.3 Installing Maintenance pack 1.Upgrade the affected binaries with the following sequence:
1) Download the VOL* files to the /tmp directory
2) Run the custom command, specify an install from media images, and specify the /tmp directory as the location of the images.
5. OpenServer 5.0.6 - 5.0.55.1 First, install:OSS646B - Execution Environment Supplement5.2 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/CSSA-2003-SCO.205.3 VerificationMD5 (VOL.000.000) = 7cde8ff3cf05658b054dae20f6620bcbmd5 is available for download from:https://ftp.scoexpert.com/security/tools5.4 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download the VOL* files to the /tmp directory
2) Run the custom command, specify an install from media images, and specify the /tmp directory as the location of the images.
6. ReferencesSpecific references for this advisory:
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0466
http://isec.pl/vulnerabilities/isec-0011-wu-ftpd.txt
http://www.ciac.org/ciac/bulletins/n-132.shtmlSCO security resources:
http://www.sco.com/support/security/index.htmlThis security fix closes SCO incidents sr882339 fz528115 erg712363.
8. DisclaimerSCO is not responsible for the misuse of any of the information we provide on this website and/or through our security advisories. Our advisories are a service to our customers intended to promote secure installation and use of SCO products.
9. AcknowledgmentsSCO would like to thank Wojciech Purczynski and Janusz Niewiadomski for the advisory.