OpenServer 5.0.7 : authsh and backupsh buffer overflow
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
______________________________________________________________________________
SCO Security Advisory
Subject: OpenServer 5.0.7 : authsh and backupsh buffer overflow
Advisory number: SCOSA-2005.40
Issue date: 2005 October 20
Cross reference: sr894990 fz532992 erg712939 sr894993 fz532995 erg712941
CAN-2005-2926
______________________________________________________________________________
1. Problem Description
iDEFENSE has identified a Buffer Overflow vulnerability in
SCO Openserver backupsh. The backupsh utility is a standard
binary distributed with Openserver 5.0.7 and earlier.
Local attackers could supply a specially crafted string to
overflow a stack buffer and execute arbitrary code with group
backup privileges. Successful exploitation of this vulnerability
will result in execution of arbitrary code with permissions
of the running process. The binary is setgid backup by
default and can be used by attackers with a local account
to gain backup privileges.
The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CAN-2005-2926 to this issue.
2. Vulnerable Supported Versions
System Binaries
----------------------------------------------------------------------
OpenServer 5.0.7 /usr/lib/sysadm/authsh
/usr/lib/sysadm/backupsh
3. Solution
The proper solution is to install the latest packages.
4. OpenServer 5.0.7
4.1 Location of Fixed Binaries
ftp://ftp.sco.com/pub/updates/OpenServer/SCOSA-2005.40
4.2 Verification
MD5 (VOL.000.000) = ebcf85edb0e7c8c0a3af4cec65a27ed7
md5 is available for download from
ftp://ftp.sco.com/pub/security/tools
4.3 Installing Fixed Binaries
Upgrade the affected binaries with the following sequence:
1) Download the VOL* files to a directory
2) Run the custom command, specify an install from media
images, and specify the directory as the location of the
images.
5. References
Specific references for this advisory:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2926
SCO security resources:
http://www.sco.com/support/security/index.html
SCO security advisories via email
http://www.sco.com/support/forums/security.html
This security fix closes SCO incidents sr894990 fz532992
erg712939 sr894993 fz532995 erg712941.
6. Disclaimer
SCO 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.
7. Acknowledgments
SCO would like to thank iDefense for discovering and reporting
this weakness.
______________________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SCO_SV)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAkNX5bQACgkQaqoBO7ipriHu4wCgo+xDebe8Xjzx8xa46L1wgRCf
UTsAoJQjHfZNCfgLUXhnZK1N7PkDEpGG
=j+3D
-----END PGP SIGNATURE-----