SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Security)  >   Cyrus SASL Vendors:   Carnegie Mellon University
(Caldera Issues Fix) Cyrus Simple Authentication and Security Layer (SASL) Library Contains Format String Bug That May Allow Remote Users to Execute Arbitrary Code with Root Level Privileges
SecurityTracker Alert ID:  1002841
SecurityTracker URL:  http://securitytracker.com/id/1002841
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Nov 28 2001
Impact:   Execution of arbitrary code via network, Root access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): cyrus-sasl-1.5.24
Description:   It is reported that the Cyrus Simple Authentication and Security Layer (SASL) library contains a format string bug in the logging function that could allow remote users to execute arbitrary code with root level privileges.

It is reported that the default Cyrus SASL logging callback is the following function:

static int _sasl_syslog(void *context __attribute__((unused)), int priority, const char *message)

At the end of that function, it is reported that syslog() is called with user-supplied input:

/* do the syslog call. do not need to call openlog */
syslog(syslog_priority | LOG_AUTH, message);

return SASL_OK;
}

The vendor reportedly does not believe that this vulnerability is exploitable.

Impact:   A remote user can provide a specially crafted command that could cause shell commands to be executed by the server with the privileges of the SASL server.
Solution:   The vendor has released a fix:

For OpenLinux 3.1 Server:

ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Server/current/RPMS
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Server/current/SRPMS

The verification checksums are:

67e101e2ff0a259e57bbcc9eee616a1f RPMS/libsasl-1.5.24-4.i386.rpm
9a971615138f2f2697dd8d0bdc8a9a83 RPMS/libsasl-devel-1.5.24-4.i386.rpm
a07d72f78e59effc80012a686eca4351 SRPMS/libsasl-1.5.24-4.src.rpm

Upgrade the affected packages with the following commands:

rpm -Fvh libsasl-1.5.24-4.i386.rpm \
libsasl-devel-1.5.24-4.i386.rpm

Do not forget to restart sendmail by using:

/etc/rc.d/init.d/mta status && /etc/rc.d/init.d/mta restart

For OpenLinux 3.1 Workstation:

ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Workstation/current/RPMS
ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Workstation/current/SRPMS

The verification checksums are:

67e101e2ff0a259e57bbcc9eee616a1f RPMS/libsasl-1.5.24-4.i386.rpm
9a971615138f2f2697dd8d0bdc8a9a83 RPMS/libsasl-devel-1.5.24-4.i386.rpm
a07d72f78e59effc80012a686eca4351 SRPMS/libsasl-1.5.24-4.src.rpm

Upgrade the affected packages with the following commands:

rpm -Fvh libsasl-1.5.24-4.i386.rpm \
libsasl-devel-1.5.24-4.i386.rpm

Do not forget to restart sendmail by using:

/etc/rc.d/init.d/mta status && /etc/rc.d/init.d/mta restart

Vendor URL:  asg.web.cmu.edu/sasl/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Caldera/SCO)
Underlying OS Comments:  OpenLinux Server 3.1 and OpenLinux Workstation 3.1: All packages previous to libsasl-1.5.24-4

Message History:   This archive entry is a follow-up to the message listed below.
Nov 1 2001 Cyrus Simple Authentication and Security Layer (SASL) Library Contains Format String Bug That May Allow Remote Users to Execute Arbitrary Code with Root Level Privileges



 Source Message Contents

Subject:  Security Update [CSSA-2001-040.0] Linux - Format String Problem in Cyrus-SASL


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

______________________________________________________________________________
		   Caldera International, Inc.  Security Advisory

Subject:		Linux - Format String Problem in Cyrus-SASL
Advisory number: 	CSSA-2001-040.0
Issue date: 		2001, November 26
Cross reference:
______________________________________________________________________________


1. Problem Description

   There is a format string bug in the Cyrus SASL library, and the
   library is used by sendmail. We are not sure whether this
   vulnerability can be exploited remotely just by connecting to
   sendmail, but if it is, the attacker would gain root access.
   
   We therefore urge our customers to upgrade this package immediately.


2. Vulnerable Versions

   System                       Package
   -----------------------------------------------------------
   OpenLinux 2.3                 not vulnerable                
   
   OpenLinux eServer 2.3.1       not vulnerable                
   and OpenLinux eBuilder                                      
   
   OpenLinux eDesktop 2.4        not vulnerable                
   
   OpenLinux Server 3.1          All packages previous to      
                                 libsasl-1.5.24-4              
   
   OpenLinux Workstation 3.1     All packages previous to      
                                 libsasl-1.5.24-4              
   


3. Solution

   Workaround

     none

   The proper solution is to upgrade to the latest packages.

4. OpenLinux 2.3

    not vulnerable

5. OpenLinux eServer 2.3.1 and OpenLinux eBuilder for ECential 3.0

    not vulnerable

6. OpenLinux eDesktop 2.4

    not vulnerable

7. OpenLinux 3.1 Server

    7.1 Location of Fixed Packages

       The upgrade packages can be found on Caldera's FTP site at:

       ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Server/current/RPMS

       The corresponding source code package can be found at:

       ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Server/current/SRPMS

   7.2 Verification

       67e101e2ff0a259e57bbcc9eee616a1f  RPMS/libsasl-1.5.24-4.i386.rpm
       9a971615138f2f2697dd8d0bdc8a9a83  RPMS/libsasl-devel-1.5.24-4.i386.rpm
       a07d72f78e59effc80012a686eca4351  SRPMS/libsasl-1.5.24-4.src.rpm
       

   7.3 Installing Fixed Packages

       Upgrade the affected packages with the following commands:

         rpm -Fvh libsasl-1.5.24-4.i386.rpm \
              libsasl-devel-1.5.24-4.i386.rpm

       Do not forget to restart sendmail by using:

         /etc/rc.d/init.d/mta status && /etc/rc.d/init.d/mta restart
         

8. OpenLinux 3.1 Workstation

    8.1 Location of Fixed Packages

       The upgrade packages can be found on Caldera's FTP site at:

       ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Workstation/current/RPMS

       The corresponding source code package can be found at:

       ftp://ftp.caldera.com/pub/updates/OpenLinux/3.1/Workstation/current/SRPMS

   8.2 Verification

       67e101e2ff0a259e57bbcc9eee616a1f  RPMS/libsasl-1.5.24-4.i386.rpm
       9a971615138f2f2697dd8d0bdc8a9a83  RPMS/libsasl-devel-1.5.24-4.i386.rpm
       a07d72f78e59effc80012a686eca4351  SRPMS/libsasl-1.5.24-4.src.rpm
       

   8.3 Installing Fixed Packages

       Upgrade the affected packages with the following commands:

         rpm -Fvh libsasl-1.5.24-4.i386.rpm \
              libsasl-devel-1.5.24-4.i386.rpm

       Do not forget to restart sendmail by using:

         /etc/rc.d/init.d/mta status && /etc/rc.d/init.d/mta restart


9. References

   This and other Caldera security resources are located at:

   http://www.caldera.com/support/security/index.html

   This security fix closes Caldera's internal Problem Report 11066.


10. Disclaimer

   Caldera International, Inc. 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 Caldera OpenLinux.

11. Acknowledgements

   Caldera International wishes to thank Kari Hurtta
   <hurtta+zz@leija.mh.fmi.fi> for reporting this problem, and the security
   people at SuSE for the fix.
______________________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD4DBQE8AjN618sy83A/qfwRAtIeAKCzLDxD2Dv8toOLFuUpcuavfuNNRQCYgsq6
qIB1NZpWIDqmwE1ToM9gxA==
=YIIy
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: announce-unsubscribe@lists.caldera.com
For additional commands, e-mail: announce-help@lists.caldera.com


 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC