Problem
Buffer overflow in the slc_add_reply function in various BSD-based Telnet clients, when handling LINEMODE suboptions, allows remote attackers to execute arbitrary code via a reply with a large number of Set Local Character (SLC) commands.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0469 to this issue.
Heap-based buffer overflow in the env_opt_add function in telnet.c for various BSD-based Telnet clients allows remote attackers to execute arbitrary code via responses that contain a large number of characters that require escaping, which consumes more memory than allocated.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0468 to this issue.
Solution
______________________________________________________________________________SCO Security AdvisorySubject: OpenServer 5.0.6 OpenServer 5.0.7 : telnet client
multiple issues
Advisory number: SCOSA-2005.23
Issue date: 2005 May 17
Cross reference: sr893213 fz531456 erg712802 CAN-2005-0469 CAN-2005-0468
______________________________________________________________________________1. Problem DescriptionBuffer overflow in the slc_add_reply function in various BSD-based Telnet clients, when handling LINEMODE suboptions, allows remote attackers to execute arbitrary code via a reply with a large number of Set Local Character (SLC) commands.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0469 to this issue.
Heap-based buffer overflow in the env_opt_add function in telnet.c for various BSD-based Telnet clients allows remote attackers to execute arbitrary code via responses that contain a large number of characters that require escaping, which consumes more memory than allocated.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2005-0468 to this issue.
2. Vulnerable Supported VersionsSystem Binaries
----------------------------------------------------------------------
OpenServer 5.0.6 /usr/bin/telnet
OpenServer 5.0.7 /usr/bin/telnet3. SolutionThe proper solution is to install the latest packages.
4. OpenServer 5.0.64.1 First install oss646c or later4.2 Location of oss646chttps://ftp.scoexpert.com/openserver5/oss646c/4.3 Verification of oss646cMD5 (VOL.000.000) = f19b6c6949f615316bfb075d249989e8 MD5 (VOL.000.001) = 341ff8553aecd2c7b0c2beaf83030d0f MD5 (VOL.000.002) = 6e46708ad8029e12280d4f9ac60ab814 MD5 (VOL.000.003) = 2868b64a6a6db742adb3b485be645d7e MD5 (VOL.000.004) = 1696fe1db9bb063827ee5e76e58dff84 MD5 (VOL.000.005) = f39da342f8af72fcaccdf478dca04109 MD5 (VOL.000.006) = 2b31611c8af7d2e7910d6e8e3cf701a6 MD5 (VOL.000.007) = d0175c0f4e3ed29435b1eab95609f8f4 MD5 (VOL.000.008) = aa9e8a525c341fed077f981b1dacb486 MD5 (VOL.000.009) = 8e023af67b57507824406bdda322079a MD5 (VOL.000.010) = 2b46e8adba8ae0b64109f2069da978a2
4.4 Installation of oss646cSee https://ftp.scoexpert.com/openserver5/oss646c/oss646c.txt4.5 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.234.6 VerificationMD5 (VOL.000.000) = 026a2e0cae4a5772e7916945f369cf91 md5 is available for download from
https://ftp.scoexpert.com/security/tools4.7 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download the VOL* files to a directory2) Run the custom command, specify an install from media images, and specify the directory as the location of the images.
5. OpenServer 5.0.75.1 Location of Fixed Binarieshttps://ftp.scoexpert.com/updates/OpenServer/SCOSA-2005.235.2 VerificationMD5 (VOL.000.000) = 026a2e0cae4a5772e7916945f369cf91 md5 is available for download from
https://ftp.scoexpert.com/security/tools5.3 Installing Fixed BinariesUpgrade the affected binaries with the following sequence:
1) Download the VOL* files to a directory2) Run the custom command, specify an install from media images, and specify the directory as the location of the images.
6. ReferencesSpecific references for this advisory:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0469
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0468SCO security resources:
http://www.sco.com/support/security/index.htmlSCO security advisories via email
http://www.sco.com/support/forums/security.htmlThis security fix closes SCO incidents sr893213 fz531456 erg712802.
7. 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.
8. AcknowledgmentsSCO would like to thank Gal Delalleau and iDEFENSE
______________________________________________________________________________