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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   CVS Vendors:   GNU [multiple authors]
(Mandrake Issues Fix) Concurrent Versions System (CVS) Double-Free Bug Lets Remote Users Execute Arbitrary Code on the System
SecurityTracker Alert ID:  1005955
SecurityTracker URL:  http://securitytracker.com/id/1005955
CVE Reference:   CVE-2003-0015   (Links to External Site)
Date:  Jan 21 2003
Impact:   Execution of arbitrary code via network, Root access via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.11.4 and prior versions
Description:   A vulnerability was reported in Concurrent Versions System (CVS). A remote user can execute arbitrary code on the system to gain access to the server.

e-matters reported that a remote user can send a malformed directory name as part of a Directory request to cause a global pointer variable to be freed with no value subsequently assigned to the variable. When the next Directory request is processed, the unassigned variable may be freed.

A remote user can exploit this to execute arbitrary code or shell commands. The privileges that the code will execute with depend on the configuration of the server. In some cases, the code may run with root privileges. According to the report, if the CVSROOT/passwd is left writeable to the CVS user, a remote root compromise can occur.

It is also reported that a remote authenticated user with write access can invoke the Update-prog and Checkin-prog commands to execute arbitrary shell commands on the server. According to the report, this feature is not well documented and may be unknown to most administrators. In addition, it reportedly cannot be disabled in the configuration files.

Impact:   A remote user may be able to execute arbitrary code on the system. The code will run with privileges that depend on the configuration of the system.
Solution:   Mandrake has released the following fixes.

Linux-Mandrake 7.2:
00c5fa0ceb118e8945e19fc232dfbedc 7.2/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d 7.2/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Mandrake Linux 8.0:
bfcbd6affe1d5e3d6c67f3aedca5b03b 8.0/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d 8.0/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Mandrake Linux 8.0/PPC:
7e11ceed860517f48e8bd574f852f05f ppc/8.0/RPMS/cvs-1.11.4-2.2mdk.ppc.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d ppc/8.0/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Mandrake Linux 8.1:
241c53a0b942290653ae85c3b577777c 8.1/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d 8.1/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Mandrake Linux 8.1/IA64:
85da2f450c0e1f5d6cb68f6930ffdb04 ia64/8.1/RPMS/cvs-1.11.4-2.2mdk.ia64.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d ia64/8.1/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Mandrake Linux 8.2:
e9f65908d466277ccff091613dc9884d 8.2/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d 8.2/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Mandrake Linux 8.2/PPC:
a3c6bd3cf63d1595303f6084c02132ec ppc/8.2/RPMS/cvs-1.11.4-2.2mdk.ppc.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d ppc/8.2/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Mandrake Linux 9.0:
1099ed2410db9d689c1001ce2c8faf64 9.0/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d 9.0/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Single Network Firewall 7.2:
00c5fa0ceb118e8945e19fc232dfbedc snf7.2/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
3555ee8fcbb21c5c7954c3cc0fe9cf4d snf7.2/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

Vendor URL:  ccvs.cvshome.org/servlets/NewsItemView?newsID=51 (Links to External Site)
Cause:   Resource error, State error
Underlying OS:  Linux (Mandriva/Mandrake)
Underlying OS Comments:  7.2, 8.0, 8.1, 8.2, 9.0, Single Network Firewall 7.2

Message History:   This archive entry is a follow-up to the message listed below.
Jan 20 2003 Concurrent Versions System (CVS) Double-Free Bug Lets Remote Users Execute Arbitrary Code on the System



 Source Message Contents

Subject:  [Security Announce] MDKSA-2003:009 - Updated cvs packages fix


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

________________________________________________________________________

                Mandrake Linux Security Update Advisory
________________________________________________________________________

Package name:           cvs
Advisory ID:            MDKSA-2003:009
Date:                   January 20th, 2003

Affected versions:      7.2, 8.0, 8.1, 8.2, 9.0,
                        Single Network Firewall 7.2
________________________________________________________________________

Problem Description:

 Two vulnerabilities were discoverd by Stefen Esser in the cvs program.
 The first is an exploitable double free() bug within the server, which
 can be used to execute arbitray code on the CVS server.  To accomplish
 this, the attacker must have an anonymous read-only login to the CVS
 server.  The second vulnerability is with the Checkin-prog and
 Update-prog commands.  If a client has write permission, he can use
 these commands to execute programs outside of the scope of CVS, the
 output of which will be sent as output to the client.
 
 This update fixes the double free() vulnerability and removes the
 Checkin-prog and Update-prog commands from CVS.
________________________________________________________________________

References:
  
  http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0015
  http://security.e-matters.de/advisories/012003.html
________________________________________________________________________

Updated Packages:
  
 Linux-Mandrake 7.2:
 00c5fa0ceb118e8945e19fc232dfbedc  7.2/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  7.2/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

 Mandrake Linux 8.0:
 bfcbd6affe1d5e3d6c67f3aedca5b03b  8.0/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  8.0/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

 Mandrake Linux 8.0/PPC:
 7e11ceed860517f48e8bd574f852f05f  ppc/8.0/RPMS/cvs-1.11.4-2.2mdk.ppc.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  ppc/8.0/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

 Mandrake Linux 8.1:
 241c53a0b942290653ae85c3b577777c  8.1/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  8.1/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

 Mandrake Linux 8.1/IA64:
 85da2f450c0e1f5d6cb68f6930ffdb04  ia64/8.1/RPMS/cvs-1.11.4-2.2mdk.ia64.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  ia64/8.1/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

 Mandrake Linux 8.2:
 e9f65908d466277ccff091613dc9884d  8.2/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  8.2/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

 Mandrake Linux 8.2/PPC:
 a3c6bd3cf63d1595303f6084c02132ec  ppc/8.2/RPMS/cvs-1.11.4-2.2mdk.ppc.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  ppc/8.2/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

 Mandrake Linux 9.0:
 1099ed2410db9d689c1001ce2c8faf64  9.0/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  9.0/SRPMS/cvs-1.11.4-2.2mdk.src.rpm

 Single Network Firewall 7.2:
 00c5fa0ceb118e8945e19fc232dfbedc  snf7.2/RPMS/cvs-1.11.4-2.2mdk.i586.rpm
 3555ee8fcbb21c5c7954c3cc0fe9cf4d  snf7.2/SRPMS/cvs-1.11.4-2.2mdk.src.rpm
________________________________________________________________________

Bug IDs fixed (see https://qa.mandrakesoft.com for more information):
________________________________________________________________________

To upgrade automatically, use MandrakeUpdate.  The verification of md5
checksums and GPG signatures is performed automatically for you.

If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".  A list of
FTP mirrors can be obtained from:

  http://www.mandrakesecure.net/en/ftp.php

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package.  You can do this with the command:

  rpm --checksig <filename>

All packages are signed by MandrakeSoft for security.  You can obtain
the GPG public key of the Mandrake Linux Security Team from:

  https://www.mandrakesecure.net/RPM-GPG-KEYS

Please be aware that sometimes it takes the mirrors a few hours to
update.

You can view other update advisories for Mandrake Linux at:

  http://www.mandrakesecure.net/en/advisories/

MandrakeSoft has several security-related mailing list services that
anyone can subscribe to.  Information on these lists can be obtained by
visiting:

  http://www.mandrakesecure.net/en/mlist.php

If you want to report vulnerabilities, please contact

  security_linux-mandrake.com

Type Bits/KeyID     Date       User ID
pub  1024D/22458A98 2000-07-10 Linux Mandrake Security Team
  <security linux-mandrake.com>

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.7 (GNU/Linux)

mQGiBDlp594RBAC2tDozI3ZgQsE7XwxurJCJrX0L5vx7SDByR5GHDdWekGhdiday
L4nfUax+SeR9SCoCgTgPW1xB8vtQc8/sinJlMjp9197a2iKM0FOcPlkpa3HcOdt7
WKJqQhlMrHvRcsivzcgqjH44GBBJIT6sygUF8k0lU6YnMHj5MPc/NGWt8wCg9vKo
P0l5QVAFSsHtqcU9W8cc7wMEAJzQsAlnvPXDBfBLEH6u7ptWFdp0GvbSuG2wRaPl
hynHvRiE01ZvwbJZXsPsKm1z7uVoW+NknKLunWKB5axrNXDHxCYJBzY3jTeFjsqx
PFZkIEAQphLTkeXXelAjQ5u9tEshPswEtMvJvUgNiAfbzHfPYmq8D6x5xOw1IySg
2e/LBACxr2UJYCCB2BZ3p508mAB0RpuLGukq+7UWiOizy+kSskIBg2O7sQkVY/Cs
iyGEo4XvXqZFMY39RBdfm2GY+WB/5NFiTOYJRKjfprP6K1YbtsmctsX8dG+foKsD
LLFs7OuVfaydLQYp1iiN6D+LJDSMPM8/LCWzZsgr9EKJ8NXiyrQ6TGludXggTWFu
ZHJha2UgU2VjdXJpdHkgVGVhbSA8c2VjdXJpdHlAb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ky85tu433wmKaLFOv0WjBFSikohGBBgRAgAGBQI5aefvAAoJEJqo
0NAiRYqYid0AoJgeWzXrEdIClBOSW5Q6FzqJJyaqAKC0Y9YI3UFlE4zSIGjcFlLJ
EJGXlA==
=yGlX
- -----END PGP PUBLIC KEY BLOCK-----

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+LItQmqjQ0CJFipgRAgnRAJwPdHzboYU3gboaQ25gLsOEXFKezwCfdK9H
lgRciywcyjUs6LtBiwBjzHs=
=dxsi
-----END PGP SIGNATURE-----

 
 


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 2021, SecurityGlobal.net LLC