DSA 469-1: New libpam-pgsql packages fix SQL injection
Posted on: 03/29/2004 11:47 AM

New pam-pgsql packages for Debian GNU/Linux has been released

--------------------------------------------------------------------------
Debian Security Advisory DSA 469-1 security@debian.org
http://www.debian.org/security/ Martin Schulze
March 29th, 2004 http://www.debian.org/security/faq
---------------------------------------------------------------------------

Package : pam-pgsql
Vulnerability : missing input sanitising
Problem-Type : remote
Debian-specific: no
CVE ID : CAN-2004-0366

Primoz Bratanic discovered a bug in libpam-psgl, a PAM module to authenticate using a PostgreSQL database. The library does not escape all user-supplied data that are sent to the database. An attacker could exploit this bug to insert SQL statements.

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

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

We recommend that you upgrade your libpam-pgsql 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/p/pam-pgsql/pam-pgsql_0.5.2-3woody2.dsc
Size/MD5 checksum: 644 f2052dd0ab65fd186d90b3b3598d295c
http://security.debian.org/pool/updates/main/p/pam-pgsql/pam-pgsql_0.5.2-3woody2.diff.gz
Size/MD5 checksum: 5620 4069768c934f923b6008cb9561d0274c
http://security.debian.org/pool/updates/main/p/pam-pgsql/pam-pgsql_0.5.2.orig.tar.gz
Size/MD5 checksum: 39892 3ee046cd64ad9c3e02ad486d0398ad13

Alpha architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_alpha.deb
Size/MD5 checksum: 5648 7523fb12cb281da388dcfd1f09cdb780

ARM architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_arm.deb
Size/MD5 checksum: 14146 9f94ce23f843fb70556a31e826a5388c

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_i386.deb
Size/MD5 checksum: 14024 14f8af94434f09eb9ec0a7c958e051ff

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_ia64.deb
Size/MD5 checksum: 20774 a8ebc16a2f88b170e109e085c69706a3

HP Precision architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_hppa.deb
Size/MD5 checksum: 14790 327f6bb12fc8be07fb042c6a8544e06a

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_m68k.deb
Size/MD5 checksum: 14122 28cb0fb68e09039e36f678f561903cb1

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_mips.deb
Size/MD5 checksum: 13646 2fbd761e5d5a19a56b011bc2cb8e36a3

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_mipsel.deb
Size/MD5 checksum: 13672 5241836d02e3b1c8e362aa66bc4b3d8b

PowerPC architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_powerpc.deb
Size/MD5 checksum: 14258 526ffe6bb1f01e02b4cf7a69fc80b095

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_s390.deb
Size/MD5 checksum: 14324 2de57a838f7c0035fa3ca64540dd574a

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/p/pam-pgsql/libpam-pgsql_0.5.2-3woody2_sparc.deb
Size/MD5 checksum: 14148 b5716f8ff2e5d88c822bdcf615d532d9

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


Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/dsa_469_1_new_libpam_pgsql_packages_fix_sql_injection.html)