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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   CVS Vendors:   GNU [multiple authors]
(Debian Issues Fix) Concurrent Versions System (CVS) Double-Free Bug Lets Remote Users Execute Arbitrary Code on the System
SecurityTracker Alert ID:  1005958
SecurityTracker URL:  http://securitytracker.com/id/1005958
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:   Debian has released a fix for the stable distribution (woody) in version 1.11.1p1debian-8.1 and for the old stable distribution (potato) in version 1.10.7-9.2.

Debian GNU/Linux 2.2 alias potato:

Source archives:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2.dsc
Size/MD5 checksum: 582 5c3493da60574f2d207376ffc8023964
http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2.diff.gz
Size/MD5 checksum: 35717 76d1e80427b67945e2b10c4bd449b1b7
http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7.orig.tar.gz
Size/MD5 checksum: 2312181 614e72d2a6dff40f3f5bec2e9be270f2

Architecture independent components:

http://security.debian.org/pool/updates/main/c/cvs/cvs-doc_1.10.7-9.2_all.deb
Size/MD5 checksum: 875428 d7a1b05fc60c8524077b41abef40be82

Alpha architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_alpha.deb
Size/MD5 checksum: 559820 6d27ca86cf46ffdec1ff9ca0710c74d2

ARM architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_arm.deb
Size/MD5 checksum: 474478 93283c96da77a7c2906576632ff1f666

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_i386.deb
Size/MD5 checksum: 455974 32924918a5a027f287c1fff64139aa98

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_m68k.deb
Size/MD5 checksum: 434776 df8c02b15a87bec5658d88e913bb0617

PowerPC architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_powerpc.deb
Size/MD5 checksum: 484070 78114da539eb4db94d5be1b77e6f1145

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_sparc.deb
Size/MD5 checksum: 476174 159dc8aefaffe14e4188efc9efae1b1a


Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1.dsc
Size/MD5 checksum: 687 3bd481f023c7d48ebf940f18f7c33676
http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1.diff.gz
Size/MD5 checksum: 46985 f82269f5699a64b3c8a1836f4307d5b1
http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian.orig.tar.gz
Size/MD5 checksum: 2621658 500965ab9702b31605f8c58aa21a6205

Alpha architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_alpha.deb
Size/MD5 checksum: 1177920 eed3c107f8156965a2648ff6bc57ea1a

ARM architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_arm.deb
Size/MD5 checksum: 1104340 6d55d5b6013029726f33d27f756e8232

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_i386.deb
Size/MD5 checksum: 1085010 db4c58e92bfdc56730c14df95ba8fab8

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_ia64.deb
Size/MD5 checksum: 1269590 4cea089453af0476f3c304a9c0055092

HP Precision architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_hppa.deb
Size/MD5 checksum: 1146366 157380627dc8e7e8c0cc3d6510bb8c85

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_m68k.deb
Size/MD5 checksum: 1064640 c31eb6a3f549f1e3f88ce334895e5e28

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_mips.deb
Size/MD5 checksum: 1128826 73112b82d7c2a1bb36bee6f172809e00

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_mipsel.deb
Size/MD5 checksum: 1130112 f358566006b1ee33a1872c9e485e1ce1

PowerPC architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_powerpc.deb
Size/MD5 checksum: 1115310 9cce0571143b2bdf118b7e215d6aaa5e

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_s390.deb
Size/MD5 checksum: 1096250 74df925521a9fb91bc9dfef9dce15e1a

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_sparc.deb
Size/MD5 checksum: 1106098 d69a55f754484761aebc67a723b81aa6

Vendor URL:  ccvs.cvshome.org/servlets/NewsItemView?newsID=51 (Links to External Site)
Cause:   Resource error, State error
Underlying OS:  Linux (Debian)
Underlying OS Comments:  2.2, 3.0

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] [DSA 233-1] New cvs packages fix arbitrary code execution


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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 233-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 21st, 2003                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : cvs
Vulnerability  : doubly freed memory
Problem-Type   : remote
Debian-specific: no
CVE Id         : CAN-2003-0015

Stefan Esser discovered a problem in cvs, a concurrent versions
system, which is used for many Free Software projects.  The current
version contais a flaw that can be used by a remote attacker to
execute arbitrary code on the CVS server under the user id the CVS
server runs as.  Anonymous read-only access is sufficient to exploit
this problem.

For the stable distribution (woody) this problem has been
fixed in version 1.11.1p1debian-8.1.

For the old stable distribution (potato) this problem has been fixed
in version 1.10.7-9.2.

For the unstable distribution (sid) this problem will be fixed soon.

We recommend that you upgrade your cvs package immediately.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 2.2 alias potato
- ---------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2.dsc
      Size/MD5 checksum:      582 5c3493da60574f2d207376ffc8023964
    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2.diff.gz
      Size/MD5 checksum:    35717 76d1e80427b67945e2b10c4bd449b1b7
    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7.orig.tar.gz
      Size/MD5 checksum:  2312181 614e72d2a6dff40f3f5bec2e9be270f2

  Architecture independent components:

    http://security.debian.org/pool/updates/main/c/cvs/cvs-doc_1.10.7-9.2_all.deb
      Size/MD5 checksum:   875428 d7a1b05fc60c8524077b41abef40be82

  Alpha architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_alpha.deb
      Size/MD5 checksum:   559820 6d27ca86cf46ffdec1ff9ca0710c74d2

  ARM architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_arm.deb
      Size/MD5 checksum:   474478 93283c96da77a7c2906576632ff1f666

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_i386.deb
      Size/MD5 checksum:   455974 32924918a5a027f287c1fff64139aa98

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_m68k.deb
      Size/MD5 checksum:   434776 df8c02b15a87bec5658d88e913bb0617

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_powerpc.deb
      Size/MD5 checksum:   484070 78114da539eb4db94d5be1b77e6f1145

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.10.7-9.2_sparc.deb
      Size/MD5 checksum:   476174 159dc8aefaffe14e4188efc9efae1b1a


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1.dsc
      Size/MD5 checksum:      687 3bd481f023c7d48ebf940f18f7c33676
    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1.diff.gz
      Size/MD5 checksum:    46985 f82269f5699a64b3c8a1836f4307d5b1
    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian.orig.tar.gz
      Size/MD5 checksum:  2621658 500965ab9702b31605f8c58aa21a6205

  Alpha architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_alpha.deb
      Size/MD5 checksum:  1177920 eed3c107f8156965a2648ff6bc57ea1a

  ARM architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_arm.deb
      Size/MD5 checksum:  1104340 6d55d5b6013029726f33d27f756e8232

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_i386.deb
      Size/MD5 checksum:  1085010 db4c58e92bfdc56730c14df95ba8fab8

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_ia64.deb
      Size/MD5 checksum:  1269590 4cea089453af0476f3c304a9c0055092

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_hppa.deb
      Size/MD5 checksum:  1146366 157380627dc8e7e8c0cc3d6510bb8c85

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_m68k.deb
      Size/MD5 checksum:  1064640 c31eb6a3f549f1e3f88ce334895e5e28

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_mips.deb
      Size/MD5 checksum:  1128826 73112b82d7c2a1bb36bee6f172809e00

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_mipsel.deb
      Size/MD5 checksum:  1130112 f358566006b1ee33a1872c9e485e1ce1

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_powerpc.deb
      Size/MD5 checksum:  1115310 9cce0571143b2bdf118b7e215d6aaa5e

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_s390.deb
      Size/MD5 checksum:  1096250 74df925521a9fb91bc9dfef9dce15e1a

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/c/cvs/cvs_1.11.1p1debian-8.1_sparc.deb
      Size/MD5 checksum:  1106098 d69a55f754484761aebc67a723b81aa6


  These files will probably be moved into the stable distribution on
  its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

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

iD8DBQE+LVOVW5ql+IAeqTIRAqyEAKC1AFYZMB5PMK8MXTRRjIXPJOO/zwCgmnFB
X6CeaA3t8ZPKIAzoZT1deEE=
=vx2R
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-security-announce-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


 
 


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