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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Emacs Vendors:   GNU [multiple authors]
(Debian Issues Fix) Emacs movemail Format String Flaw May Let Remote POP Servers Execute Arbitrary Code
SecurityTracker Alert ID:  1013229
SecurityTracker URL:  http://securitytracker.com/id/1013229
CVE Reference:   CVE-2005-0100   (Links to External Site)
Date:  Feb 17 2005
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 21.4.17
Description:   A vulnerability was reported in Emacs in the 'movemail' utility. A remote user may be able to execute arbitrary code on the target system.

The vendor reported that a remote POP3 mail server can send a specially crafted response to a connected movemail client to trigger a format string flaw and execute arbitrary code on the target client. The code will execute with the privileges of the movemail process. On some systems, movemail is configured with set group id (setgid) 'mail' group privileges.

The flaw resides in 'movemail.c'.

Max Vozeler is credited with discovering this flaw.

Impact:   A remote POP3 server can execute arbitrary code on a connected client with the privileges of the movemail process.
Solution:   Debian has released a fix.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3.dsc
Size/MD5 checksum: 685 7b2d6f448bda83cde50bfbdac6af3c37
http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3.diff.gz
Size/MD5 checksum: 60779 26c73195d7bc0ec32cb49d1a39c27cd9
http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2.orig.tar.gz
Size/MD5 checksum: 24072376 3ac8d47ce8a61f2e585e6359efc53f07

Architecture independent components:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21-el_21.2-1woody3_all.deb
Size/MD5 checksum: 7123990 91e9e9e5d2a36e5e69854c5207f9e03c

Alpha architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_alpha.deb
Size/MD5 checksum: 13255430 dcbdbbdc5c2a226034477195f2c91ebf

ARM architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_arm.deb
Size/MD5 checksum: 12886726 7498feec697be0a9a3dffd0cbec52429

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_i386.deb
Size/MD5 checksum: 12847064 98374f09bde9ed2c757d778f30cdee25

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_ia64.deb
Size/MD5 checksum: 13583480 aae0aa9e6e47818e99a21a11b79bfa5a

HP Precision architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_hppa.deb
Size/MD5 checksum: 13095946 987acfbbf7cdd80b43c3d73ae9b448b1

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_m68k.deb
Size/MD5 checksum: 12777404 7d28afe74b5b742647053e5a7078307c

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_mips.deb
Size/MD5 checksum: 13076678 0dd0166bf19e0834a25e0da02cac7699

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_mipsel.deb
Size/MD5 checksum: 13032364 1518ecdaa0044ab33719c5cfb732f864

PowerPC architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_powerpc.deb
Size/MD5 checksum: 12929482 b00ec48f6b94043e23ae527316edbb02

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_s390.deb
Size/MD5 checksum: 12916492 1275283ccce7678b26914396baa466c1

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_sparc.deb
Size/MD5 checksum: 12962686 35e755cc4e619b8c200b9d14cffcf300

Vendor URL:  www.gnu.org/software/emacs/emacs.html (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:  Linux (Debian)
Underlying OS Comments:  3.0

Message History:   This archive entry is a follow-up to the message listed below.
Feb 7 2005 Emacs movemail Format String Flaw May Let Remote POP Servers Execute Arbitrary Code



 Source Message Contents

Subject:  [SECURITY] [DSA 685-1] New emacs21 packages fix arbitrary code execution


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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 685-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
February 17th, 2005                     http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : emacs21
Vulnerability  : format string
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2005-0100

Max Vozeler discovered several format string vulnerabilities in the
movemail utility of Emacs, the well-known editor.  Via connecting to a
malicious POP server an attacker can execute arbitrary code under the
privileges of group mail.

For the stable distribution (woody) these problems have been fixed in
version 21.2-1woody3.

For the unstable distribution (sid) these problems have been fixed in
version 21.3+1-9.

We recommend that you upgrade your emacs packages.


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 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3.dsc
      Size/MD5 checksum:      685 7b2d6f448bda83cde50bfbdac6af3c37
    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3.diff.gz
      Size/MD5 checksum:    60779 26c73195d7bc0ec32cb49d1a39c27cd9
    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2.orig.tar.gz
      Size/MD5 checksum: 24072376 3ac8d47ce8a61f2e585e6359efc53f07

  Architecture independent components:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21-el_21.2-1woody3_all.deb
      Size/MD5 checksum:  7123990 91e9e9e5d2a36e5e69854c5207f9e03c

  Alpha architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_alpha.deb
      Size/MD5 checksum: 13255430 dcbdbbdc5c2a226034477195f2c91ebf

  ARM architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_arm.deb
      Size/MD5 checksum: 12886726 7498feec697be0a9a3dffd0cbec52429

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_i386.deb
      Size/MD5 checksum: 12847064 98374f09bde9ed2c757d778f30cdee25

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_ia64.deb
      Size/MD5 checksum: 13583480 aae0aa9e6e47818e99a21a11b79bfa5a

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_hppa.deb
      Size/MD5 checksum: 13095946 987acfbbf7cdd80b43c3d73ae9b448b1

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_m68k.deb
      Size/MD5 checksum: 12777404 7d28afe74b5b742647053e5a7078307c

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_mips.deb
      Size/MD5 checksum: 13076678 0dd0166bf19e0834a25e0da02cac7699

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_mipsel.deb
      Size/MD5 checksum: 13032364 1518ecdaa0044ab33719c5cfb732f864

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_powerpc.deb
      Size/MD5 checksum: 12929482 b00ec48f6b94043e23ae527316edbb02

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_s390.deb
      Size/MD5 checksum: 12916492 1275283ccce7678b26914396baa466c1

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/e/emacs21/emacs21_21.2-1woody3_sparc.deb
      Size/MD5 checksum: 12962686 35e755cc4e619b8c200b9d14cffcf300


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

- ---------------------------------------------------------------------------------
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.4.0 (GNU/Linux)

iD8DBQFCFIESW5ql+IAeqTIRAhvIAJ4gcnOvzb5jduYcfLY49mo5++r91wCfWqXB
iN2lXxovHktw1wiUUbqQEkM=
=lUPA
-----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