----------------------------------------------------------------------------
Debian Security Advisory DSA-042-1                       security@debian.org 
Debian -- Security Information                                Martin Schulze
March 8, 2001
----------------------------------------------------------------------------

Packages       : gnuserv, xemacs21
Vulnerability  : buffer overflow and weak security
Type           : remote vulnerability
Debian-specific: no
Fixed version  : gnuserv 2.1alpha-5.1 (potato) and 2.1alpha-5.1.1 (unstable)
                 xemacs 21.1.10-5 (potato) and xemacs 21.1.14-1 (unstable)

Klaus Frank has found a vulnerability in the way gnuserv handled
remote connections.  Gnuserv is a remote control facility for Emacsen
which is available as standalone program as well as included in
XEmacs21.  Gnuserv has a buffer for which insufficient boundary checks
were made.  Unfortunately this buffer affected access control to
gnuserv which is using a MIT-MAGIC-COOCKIE based system.  It is
possible to overflow the buffer containing the cookie and foozle
cookie comparison.

Gnuserv was derived from emacsserver which is part of GNU Emacs.  It's
was reworked completely and not much is to be left over from its time
as part of GNU Emacs.  Therefore the versions of emacssserver in both
Emacs19 and Emacs20 doesn't look vulnerable to this bug, they don't
even provide a MIT-MAGIC-COOKIE based mechanism.

This could lead into a remote user issue commands under
the UID of the person running gnuserv.


We recommend you upgrade your xemacs21 and gnuserv packages immediately.

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

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


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

  Potato was released for the alpha, arm, i386, m68k, powerpc and sparc
  architectures.


  Source archives:

      
      MD5 checksum: 322ac99415fc18dff4fba89b7e9d33e2
      
      MD5 checksum: 1c32ce9a3b447a632405ff2fbf22e068
      
      MD5 checksum: 00295f97203b334c1e0866938a3ced2c
      
      MD5 checksum: 73e8ebc9a0c3cb0dfaeb77a9b29c3d15
      
      MD5 checksum: 9561ccc3dc9fa693f18d32899d7ea7fa
      
      MD5 checksum: f0d81a84f002bb7c055a0e821244bbbf

  Architecture independent:

      
      MD5 checksum: 32e7d8ba231c46c81bf833407826de18
      
      MD5 checksum: 8aeb8891623ea08695acfe20c0e1bc59
      
      MD5 checksum: 3fd6e13ada6764e2d9022f7abd891d29

  Intel ia32 architecture:

      
      MD5 checksum: 8ca49d40223b7957ceaa120c0389c452
      
      MD5 checksum: 49c3e9d6d458bcf872c8fdc9c5190d87
      
      MD5 checksum: b5aa1fe986c19ca6de87fb8a9a0d54a9
      
      MD5 checksum: 7704f26ef1feba21b9efe6eeaa219188
      
      MD5 checksum: 908c624bdd867a503cdc11ca8a01b6d8

  Motorola 680x0 architecture:

      
      MD5 checksum: 0b75ebde7771cf528991ce628bf32237

  Sun Sparc architecture:

      
      MD5 checksum: dff7d55ef771e9473d3c74727082b608
      
      MD5 checksum: 69c0d27b079247d30e35807926d20dd2
      
      MD5 checksum: d402e35fde19d61ceb3bafe11a28fa16
      
      MD5 checksum: 7865e5f17dc9dca1121935c95c6eae99
      
      MD5 checksum: 5fed990482ab774d27d32ca4b7308797

  Alpha architecture:

      
      MD5 checksum: c0c2769f62b22c8f24eed97bc47b350a
      
      MD5 checksum: 5b0bae2e1046d8fd1ffc2084a3fe2047
      
      MD5 checksum: 1f1761b6d4f959f8816b50e6c2e1a611
      
      MD5 checksum: 3066ed7a509e790854b953f99c753b5f
      
      MD5 checksum: 7b86887ccd3879ec6717395873a3b52c

  PowerPC architecture:

      
      MD5 checksum: 128ba2bdd4f6b231af2275c919c9bbae
      
      MD5 checksum: 1967a6162b77f32bf58f528990972f33
      
      MD5 checksum: 51867ec12d1d08af8e212f722c3a9b9f
      
      MD5 checksum: 4e3898da9f797f4c571fa9929efdef22
      
      MD5 checksum: 910a72e5201fc31cff2887d9c6e654b8

  ARM architecture:

      
      MD5 checksum: d320a2e110eb02eeed570d61917c5ef5
      
      MD5 checksum: 7902fb226cdf3a19e39344fc308a6c14
      
      MD5 checksum: 51875500719629b32973455aa7e5a275
      
      MD5 checksum: 9199cdd445d590a22368409c7781a4f1
      
      MD5 checksum: 88cb5511e1c5e4ee328dc233421c5731


  These files will be moved into
     soon.

For not yet released architectures please refer to the appropriate
directory    .

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


Debian: 'gnuserv', 'xemacs21' vulnerabilities

March 9, 2001
Klaus Frank has found a vulnerability in the way gnuserv handled remote connections.

Summary

Klaus Frank has found a vulnerability in the way gnuserv handled
remote connections. Gnuserv is a remote control facility for Emacsen
which is available as standalone program as well as included in
XEmacs21. Gnuserv has a buffer for which insufficient boundary checks
were made. Unfortunately this buffer affected access control to
gnuserv which is using a MIT-MAGIC-COOCKIE based system. It is
possible to overflow the buffer containing the cookie and foozle
cookie comparison.

Gnuserv was derived from emacsserver which is part of GNU Emacs. It's
was reworked completely and not much is to be left over from its time
as part of GNU Emacs. Therefore the versions of emacssserver in both
Emacs19 and Emacs20 doesn't look vulnerable to this bug, they don't
even provide a MIT-MAGIC-COOKIE based mechanism.

This could lead into a remote user issue commands under
the UID of the person running gnuserv.


We recommend you upgrade your xemacs21 and gnuserv packages immediately.

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

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


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

Potato was released for the alpha, arm, i386, m68k, powerpc and sparc
architectures.


Source archives:


MD5 checksum: 322ac99415fc18dff4fba89b7e9d33e2

MD5 checksum: 1c32ce9a3b447a632405ff2fbf22e068

MD5 checksum: 00295f97203b334c1e0866938a3ced2c

MD5 checksum: 73e8ebc9a0c3cb0dfaeb77a9b29c3d15

MD5 checksum: 9561ccc3dc9fa693f18d32899d7ea7fa

MD5 checksum: f0d81a84f002bb7c055a0e821244bbbf

Architecture independent:


MD5 checksum: 32e7d8ba231c46c81bf833407826de18

MD5 checksum: 8aeb8891623ea08695acfe20c0e1bc59

MD5 checksum: 3fd6e13ada6764e2d9022f7abd891d29

Intel ia32 architecture:


MD5 checksum: 8ca49d40223b7957ceaa120c0389c452

MD5 checksum: 49c3e9d6d458bcf872c8fdc9c5190d87

MD5 checksum: b5aa1fe986c19ca6de87fb8a9a0d54a9

MD5 checksum: 7704f26ef1feba21b9efe6eeaa219188

MD5 checksum: 908c624bdd867a503cdc11ca8a01b6d8

Motorola 680x0 architecture:


MD5 checksum: 0b75ebde7771cf528991ce628bf32237

Sun Sparc architecture:


MD5 checksum: dff7d55ef771e9473d3c74727082b608

MD5 checksum: 69c0d27b079247d30e35807926d20dd2

MD5 checksum: d402e35fde19d61ceb3bafe11a28fa16

MD5 checksum: 7865e5f17dc9dca1121935c95c6eae99

MD5 checksum: 5fed990482ab774d27d32ca4b7308797

Alpha architecture:


MD5 checksum: c0c2769f62b22c8f24eed97bc47b350a

MD5 checksum: 5b0bae2e1046d8fd1ffc2084a3fe2047

MD5 checksum: 1f1761b6d4f959f8816b50e6c2e1a611

MD5 checksum: 3066ed7a509e790854b953f99c753b5f

MD5 checksum: 7b86887ccd3879ec6717395873a3b52c

PowerPC architecture:


MD5 checksum: 128ba2bdd4f6b231af2275c919c9bbae

MD5 checksum: 1967a6162b77f32bf58f528990972f33

MD5 checksum: 51867ec12d1d08af8e212f722c3a9b9f

MD5 checksum: 4e3898da9f797f4c571fa9929efdef22

MD5 checksum: 910a72e5201fc31cff2887d9c6e654b8

ARM architecture:


MD5 checksum: d320a2e110eb02eeed570d61917c5ef5

MD5 checksum: 7902fb226cdf3a19e39344fc308a6c14

MD5 checksum: 51875500719629b32973455aa7e5a275

MD5 checksum: 9199cdd445d590a22368409c7781a4f1

MD5 checksum: 88cb5511e1c5e4ee328dc233421c5731


These files will be moved into
soon.

For not yet released architectures please refer to the appropriate
directory .

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




Severity
Packages : gnuserv, xemacs21
Vulnerability : buffer overflow and weak security
Type : remote vulnerability
Debian-specific: no
Fixed version : gnuserv 2.1alpha-5.1 (potato) and 2.1alpha-5.1.1 (unstable)
xemacs 21.1.10-5 (potato) and xemacs 21.1.14-1 (unstable)

Related News