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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Perl Vendors:   Wall, Larry
(Debian Issues Fix) Perl DBI::ProxyServer Unsafe Temporary Files May Let Local Users Gain Elevated Privileges
SecurityTracker Alert ID:  1013010
SecurityTracker URL:  http://securitytracker.com/id/1013010
CVE Reference:   CVE-2005-0077   (Links to External Site)
Date:  Jan 26 2005
Impact:   Execution of arbitrary code via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A vulnerability was reported in the Perl DBI library in the use of temporary files. A local user may be able to gain elevated privileges.

The 'DBI::ProxyServer' module in the Perl DBI library uses a process ID (PID) file in an unsafe manner. A local user can create a symbolic link (symlink) from a critical file on the system to the PID file used by the library. Then, when a target user invokes an application that uses the module (such as 'dbiproxy'), the symlinked file may be created or overwritten with the privileges of the target user.

The flaws reside in 'dbiproxy.PL' and 'lib/DBI/ProxyServer.pm'.

Javier Fernandez-Sanguino Pena from the Debian Security Audit Project is credited with discovering this flaw.

Impact:   A local user may be able to gain elevated privileges.
Solution:   Debian has released a fix for the stable distribution (woody) in version 1.21-2woody2 and for the unstable distribution (sid) in version 1.46-6.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2.dsc
Size/MD5 checksum: 587 778cd2081c6c996e962e5ccd6100b1e8
http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2.diff.gz
Size/MD5 checksum: 12117 b96cca05e51fcab8c6ca55c00644d3fd
http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21.orig.tar.gz
Size/MD5 checksum: 208384 c781eee2559de5e4a72e28a8120cb1d9

Alpha architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_alpha.deb
Size/MD5 checksum: 345058 014d047dbb24fd94d1a1437244644cd8

ARM architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_arm.deb
Size/MD5 checksum: 342540 896f3fe01eb1702df395c8f4ea3b6877

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_i386.deb
Size/MD5 checksum: 337802 82348c4c37c6636b85b5fa18d5e00f66

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_ia64.deb
Size/MD5 checksum: 356854 b800c42bcdbd3fef74ab630f1a066682

HP Precision architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_hppa.deb
Size/MD5 checksum: 345808 5cebb7436af6e22050de51ea895a62ed

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_m68k.deb
Size/MD5 checksum: 338592 202c8161fcdb618b6fbe236499d560af

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_mips.deb
Size/MD5 checksum: 338102 3689ef5cf728e7108206cd9140f682bc

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_mipsel.deb
Size/MD5 checksum: 338494 bd6f8206898feb05d613f06e30b78e5b

PowerPC architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_powerpc.deb
Size/MD5 checksum: 342782 dd2b2637b3c15d472c5053c586a99e1d

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_s390.deb
Size/MD5 checksum: 340908 274999cd7e3758367fef5f39fa44e888

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_sparc.deb
Size/MD5 checksum: 344732 5bf3bb91f4a0de5af59d6a2a7d70cecf

Vendor URL:  www.debian.org/security/ (Links to External Site)
Cause:   Access control 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.
Jan 26 2005 Perl DBI::ProxyServer Unsafe Temporary Files May Let Local Users Gain Elevated Privileges



 Source Message Contents

Subject:  [SECURITY] [DSA 658-1] New libdbi-perl packages fix insecure temporary file


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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 658-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 25th, 2005                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : libdbi-perl
Vulnerability  : insecure temporary file
Problem-Type   : local
Debian-specific: no
CVE ID         : CAN-2005-0077

discovered that the DBI library, the Perl5 database interface, creates
a tmporary PID file in an insecure manner.  This can be exploited by a
malicious user to overwrite arbitrary files owned by the person
executing the parts of the library.

For the stable distribution (woody) this problem has been fixed in
version 1.21-2woody2.

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

We recommend that you upgrade your libdbi-perl 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/libd/libdbi-perl/libdbi-perl_1.21-2woody2.dsc
      Size/MD5 checksum:      587 778cd2081c6c996e962e5ccd6100b1e8
    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2.diff.gz
      Size/MD5 checksum:    12117 b96cca05e51fcab8c6ca55c00644d3fd
    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21.orig.tar.gz
      Size/MD5 checksum:   208384 c781eee2559de5e4a72e28a8120cb1d9

  Alpha architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_alpha.deb
      Size/MD5 checksum:   345058 014d047dbb24fd94d1a1437244644cd8

  ARM architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_arm.deb
      Size/MD5 checksum:   342540 896f3fe01eb1702df395c8f4ea3b6877

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_i386.deb
      Size/MD5 checksum:   337802 82348c4c37c6636b85b5fa18d5e00f66

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_ia64.deb
      Size/MD5 checksum:   356854 b800c42bcdbd3fef74ab630f1a066682

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_hppa.deb
      Size/MD5 checksum:   345808 5cebb7436af6e22050de51ea895a62ed

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_m68k.deb
      Size/MD5 checksum:   338592 202c8161fcdb618b6fbe236499d560af

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_mips.deb
      Size/MD5 checksum:   338102 3689ef5cf728e7108206cd9140f682bc

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_mipsel.deb
      Size/MD5 checksum:   338494 bd6f8206898feb05d613f06e30b78e5b

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_powerpc.deb
      Size/MD5 checksum:   342782 dd2b2637b3c15d472c5053c586a99e1d

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_s390.deb
      Size/MD5 checksum:   340908 274999cd7e3758367fef5f39fa44e888

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/libd/libdbi-perl/libdbi-perl_1.21-2woody2_sparc.deb
      Size/MD5 checksum:   344732 5bf3bb91f4a0de5af59d6a2a7d70cecf


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

iD8DBQFB9nJFW5ql+IAeqTIRAnkrAJ0Z2hUZqq8codM3JMSavlC275FjjgCdHgFK
I2f2/uY27lFJVCYvWE76EIw=
=+vsc
-----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 2019, SecurityGlobal.net LLC