SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |    Help    |   

SecurityTracker
Archives


Welcome to SecurityTracker!
 
Click to Sign Up
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com

Sign Up!





Category:  Application (Generic)  >  Calife Vendors:  Robert, Ollivier
(Debian Issues Fix) Calife Buffer Overflow May Let Local Users Gain Elevated Privileges
SecurityTracker Alert ID:  1009399
CVE Reference:  CAN-2004-0188   (Links to External Site)
Date:  Mar 12 2004
Impact:  Execution of arbitrary code via local system, Root access via local system
Fix Available:  Yes   Vendor Confirmed:  Yes  
Version(s): prior to 2.8.6
Description:  A heap overflow vulnerability was reported in Calife. A local user may be able to gain root privileges on the target system.

Leon Juranic (DownBload) reported that a local user can supply a long, specially crafted password to the application to trigger a segmentation fault and potentially execute arbitrary code with root privileges.

A demonstration exploit transcript is provided:

[downbload@localhost downbload]$ calife luser
Password: "A" x 3000
Password: real_user_password
Segmentation fault

According to the report, there must be at least one user "available" in '/etc/calife.auth' to exploit this flaw.

The flaw reportedly resides in 'db.c'.

The vendor reported that on FreeBSD, the FreeBSD getpass(3) function performs the length validation but that on Linux, no length validation is performed.

Impact:  A local user may be able to execute arbitrary code with root privileges [the report mentions but does not explicitly confirm that impact].
Solution:  Debian has released a fix for the current stable distribution (woody) in version 2.8.4c-1woody1 and for the unstable distribution (sid) in version 2.8.6-1.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1.ds c
Size/MD5 checksum: 573 8def6850642ea48816f119986071c08c
http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1.diff.gz
Size/MD5 checksum: 5929 787f026768175eedd4faa087468bf07e
http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c.orig.tar.gz
Size/MD5 checksum: 67628 c78ff2bc3d3d42903d12b54e841a400f

Alpha architecture:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woo dy1_alpha.deb
Size/MD5 checksum: 24528 1f19f26e3739df4767249dc5f46dbde7

ARM architecture:

http://security.debian.org/pool/updates/main/c/calife/cali fe_2.8.4c-1woody1_arm.deb
Size/MD5 checksum: 22086 fb858512bda4128cb6a7c5d73d3c7043

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_i386.deb
Size/MD5 checksum: 22446 03096dc8a5bd5b020fa6e6d27591d780

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_ia64.deb
Size/MD5 checksum: 26084 b77f33b501c0402c6882922431161ba3

HP Precision architecture:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_hpp a.deb
Size/MD5 checksum: 22922 620682272cbacd5dae78f2842555265c

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/c/calife/c alife_2.8.4c-1woody1_m68k.deb
Size/MD5 checksum: 22208 7f904162126847bd6cdedb536321841f

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_mips.deb
Size/MD5 checksum: 22658 2b6f0cf00246471330f2297fd747d63b

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_mipsel.deb
Size/MD5 checksum: 22614 a5228887a678ff52d1a68e03df4d7f56

PowerPC architecture:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1w oody1_powerpc.deb
Size/MD5 checksum: 22698 efaddbb63bed475b34ed5188b06cf8b5

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/c/c alife/calife_2.8.4c-1woody1_s390.deb
Size/MD5 checksum: 22928 5020310cf3c4800fde1f0a26b0ac0f3d

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_sparc.deb
Size/MD5 checksum: 24936 75c41bd8275d8be77d289ae4aaaea0d8

Vendor URL:  mutt.frmug.org/calife/ (Links to External Site)
Cause:  Boundary error
Underlying OS:  Linux (Debian)
Underlying OS Comments:  3.0
Reported By:  Matt Zimmerman <mdz@debian.org>
Message History:   This archive entry is a follow-up to the message listed below.
Feb 27 2004 Calife Buffer Overflow May Let Local Users Gain Elevated Privileges



 Source Message Contents

Date:  Thu, 11 Mar 2004 08:51:28 -0800
From:  Matt Zimmerman <mdz@debian.org>
Subject:  [SECURITY] [DSA 461-1] New calife packages fix buffer overflow

 

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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 461-1                     security@debian.org
http://www.debian.org/security/                             Matt Zimmerman
March 11th, 2004                        http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : calife
Vulnerability  : buffer overflow
Problem-Type   : local
Debian-specific: no
CVE Ids        : CAN-2004-0188
Debian bug     : 235157

Calife, a program which provides super user privileges to specific
users, was found to contain a buffer overflow related to the
getpass(3) library function.  A local attacker could potentially
exploit this vulnerability, given knowledge of a local user's password
and the presence of at least one entry in /etc/calife.auth, to execute
arbitrary code with root privileges.

For the current stable distribution (woody) this problem has been
fixed in version 2.8.4c-1woody1.

For the unstable distribution (sid) this problem has been fixed in
version 2.8.6-1.

We recommend that you update your calife package.

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/c/calife/calife_2.8.4c-1woody1.dsc
      Size/MD5 checksum:      573 8def6850642ea48816f119986071c08c
    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1.diff.gz
      Size/MD5 checksum:     5929 787f026768175eedd4faa087468bf07e
    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c.orig.tar.gz
      Size/MD5 checksum:    67628 c78ff2bc3d3d42903d12b54e841a400f

  Alpha architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_alpha.deb
      Size/MD5 checksum:    24528 1f19f26e3739df4767249dc5f46dbde7

  ARM architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_arm.deb
      Size/MD5 checksum:    22086 fb858512bda4128cb6a7c5d73d3c7043

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_i386.deb
      Size/MD5 checksum:    22446 03096dc8a5bd5b020fa6e6d27591d780

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_ia64.deb
      Size/MD5 checksum:    26084 b77f33b501c0402c6882922431161ba3

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_hppa.deb
      Size/MD5 checksum:    22922 620682272cbacd5dae78f2842555265c

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_m68k.deb
      Size/MD5 checksum:    22208 7f904162126847bd6cdedb536321841f

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_mips.deb
      Size/MD5 checksum:    22658 2b6f0cf00246471330f2297fd747d63b

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_mipsel.deb
      Size/MD5 checksum:    22614 a5228887a678ff52d1a68e03df4d7f56

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_powerpc.deb
      Size/MD5 checksum:    22698 efaddbb63bed475b34ed5188b06cf8b5

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_s390.deb
      Size/MD5 checksum:    22928 5020310cf3c4800fde1f0a26b0ac0f3d

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/c/calife/calife_2.8.4c-1woody1_sparc.deb
      Size/MD5 checksum:    24936 75c41bd8275d8be77d289ae4aaaea0d8

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

iD8DBQFAUJj6ArxCt0PiXR4RAhDPAKDEuQErvs77AfrSpWGqBbk2qgUoLwCfYPGD
DXmuRxqgT7TfE2T0krFyeBE=
=PwgL
-----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   |    Help

Copyright 2004, SecurityGlobal.net LLC