- ------------------------------------------------------------------------
Debian Security Advisory DSA-422-1                   security@debian.org 
Debian -- Security Information                          Wichert Akkerman
January 13, 2004
- ------------------------------------------------------------------------


Package        : cvs
Vulnerability  : multiple problems
Problem type   : remote
Debian-specific: no
CVE Id(s)      : CAN-2003-0977

The account management of the CVS pserver (which is used to give remote
access to CVS repositories) uses a CVSROOT/passwd file in each
repository which contains the accounts and their authentication
information as well as the name of the local unix account to use when a
pserver account is used. Since CVS performed no checking on what unix
account was specified anyone who could modify the CVSROOT/passwd could
gain access to all local users on the CVS server, including root.

This has been fixed in upstream version 1.11.11 by preventing pserver
from running as root. For Debian this problem is solved in version
1.11.1p1debian-9 in two different ways:

* pserver is no longer allowed to use root to access repositories

* a new /etc/cvs-repouid is introduced which can be used by the system
  administrator to override the unix account used to access a
  repository. More information on this change can be found at
    

Additionaly, CVS pserver had a bug in parsing module requests which
could be used to create files and directories outside a repository.
This has been fixed upstream in version 1.11.11 and Debian version
1.11.1p1debian-9 .

Finally, the umask used for 'cvs init' and 'cvs-makerepos' has been
changed to prevent repositories from being created with group write
permissions.


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 3.0 (stable)
- -------------------

  Stable was released for alpha, arm, hppa, i386, ia64, m68k, mips, mipsel,
  powerpc, s390 and sparc.

  Source archives:

      
      Size/MD5 checksum:  2621658 500965ab9702b31605f8c58aa21a6205
      
      Size/MD5 checksum:    49416 74746359d1b7a9cd0459ddeaa6ec52a7
      
      Size/MD5 checksum:      681 c4089836fe7f6b777920dd37d09e982d

  alpha architecture (DEC Alpha)

      
      Size/MD5 checksum:  1178446 3cf372c97a66e10408a1993c700e6455

  arm architecture (ARM)

      
      Size/MD5 checksum:  1104912 99a2b7f564e27a90cb6ac38db7a9fa18

  hppa architecture (HP PA RISC)

      
      Size/MD5 checksum:  1147010 b63a001a84b329e9d34881d7f5489538

  i386 architecture (Intel ia32)

      
      Size/MD5 checksum:  1085664 6d7f9f5a8730595d9ad88560b7474816

  ia64 architecture (Intel ia64)

      
      Size/MD5 checksum:  1270560 d7b54232097970cb7bdbded45509c45b

  m68k architecture (Motorola Mc680x0)

      
      Size/MD5 checksum:  1065192 ba851f9e52e3e2997c4539f326447fcc

  mips architecture (MIPS (Big Endian))

      
      Size/MD5 checksum:  1129342 129daa41b09beab02ec928d29804f013

  mipsel architecture (MIPS (Little Endian))

      
      Size/MD5 checksum:  1130598 17e765475f74a5915506b469f5ddd136

  powerpc architecture (PowerPC)

      
      Size/MD5 checksum:  1115824 1c16543513c2dd1ca7e76390b8203f86

  s390 architecture (IBM S/390)

      
      Size/MD5 checksum:  1096674 91003d24a1db0be271fe41296a76390c

  sparc architecture (Sun SPARC/UltraSPARC)

      
      Size/MD5 checksum:  1106822 e93a0f77253cadcfcce494f828f6fd2f

- -- 
- ----------------------------------------------------------------------------
Debian Security team <team@security.debian.org> 
Debian -- Security Information 
Mailing-List: debian-security-announce@lists.debian.org

Debian: cvs Multiple vulnerabilities DSA-422-1

January 15, 2004
Anyone who could modify the CVSROOT/passwd could gain access to all local users on the CVS server, including root.

Summary

Package : cvs
Vulnerability : multiple problems
Problem type : remote
Debian-specific: no
CVE Id(s) : CAN-2003-0977

The account management of the CVS pserver (which is used to give remote
access to CVS repositories) uses a CVSROOT/passwd file in each
repository which contains the accounts and their authentication
information as well as the name of the local unix account to use when a
pserver account is used. Since CVS performed no checking on what unix
account was specified anyone who could modify the CVSROOT/passwd could
gain access to all local users on the CVS server, including root.

This has been fixed in upstream version 1.11.11 by preventing pserver
from running as root. For Debian this problem is solved in version
1.11.1p1debian-9 in two different ways:

* pserver is no longer allowed to use root to access repositories

* a new /etc/cvs-repouid is introduced which can be used by the system
administrator to override the unix account used to access a
repository. More information on this change can be found at


Additionaly, CVS pserver had a bug in parsing module requests which
could be used to create files and directories outside a repository.
This has been fixed upstream in version 1.11.11 and Debian version
1.11.1p1debian-9 .

Finally, the umask used for 'cvs init' and 'cvs-makerepos' has been
changed to prevent repositories from being created with group write
permissions.


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 3.0 (stable)
- -------------------

Stable was released for alpha, arm, hppa, i386, ia64, m68k, mips, mipsel,
powerpc, s390 and sparc.

Source archives:


Size/MD5 checksum: 2621658 500965ab9702b31605f8c58aa21a6205

Size/MD5 checksum: 49416 74746359d1b7a9cd0459ddeaa6ec52a7

Size/MD5 checksum: 681 c4089836fe7f6b777920dd37d09e982d

alpha architecture (DEC Alpha)


Size/MD5 checksum: 1178446 3cf372c97a66e10408a1993c700e6455

arm architecture (ARM)


Size/MD5 checksum: 1104912 99a2b7f564e27a90cb6ac38db7a9fa18

hppa architecture (HP PA RISC)


Size/MD5 checksum: 1147010 b63a001a84b329e9d34881d7f5489538

i386 architecture (Intel ia32)


Size/MD5 checksum: 1085664 6d7f9f5a8730595d9ad88560b7474816

ia64 architecture (Intel ia64)


Size/MD5 checksum: 1270560 d7b54232097970cb7bdbded45509c45b

m68k architecture (Motorola Mc680x0)


Size/MD5 checksum: 1065192 ba851f9e52e3e2997c4539f326447fcc

mips architecture (MIPS (Big Endian))


Size/MD5 checksum: 1129342 129daa41b09beab02ec928d29804f013

mipsel architecture (MIPS (Little Endian))


Size/MD5 checksum: 1130598 17e765475f74a5915506b469f5ddd136

powerpc architecture (PowerPC)


Size/MD5 checksum: 1115824 1c16543513c2dd1ca7e76390b8203f86

s390 architecture (IBM S/390)


Size/MD5 checksum: 1096674 91003d24a1db0be271fe41296a76390c

sparc architecture (Sun SPARC/UltraSPARC)


Size/MD5 checksum: 1106822 e93a0f77253cadcfcce494f828f6fd2f

- --
Debian Security team <team@security.debian.org>
Debian -- Security Information
Mailing-List: debian-security-announce@lists.debian.org



Severity

Related News