Debian Security Advisory DSA 469-1                     security@debian.org 
Debian -- Security Information                              Martin Schulze
March 29th, 2004                         Debian -- Debian 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:

      
      Size/MD5 checksum:      644 f2052dd0ab65fd186d90b3b3598d295c
      
      Size/MD5 checksum:     5620 4069768c934f923b6008cb9561d0274c
      
      Size/MD5 checksum:    39892 3ee046cd64ad9c3e02ad486d0398ad13

  Alpha architecture:

      
      Size/MD5 checksum:     5648 7523fb12cb281da388dcfd1f09cdb780

  ARM architecture:

      
      Size/MD5 checksum:    14146 9f94ce23f843fb70556a31e826a5388c

  Intel IA-32 architecture:

      
      Size/MD5 checksum:    14024 14f8af94434f09eb9ec0a7c958e051ff

  Intel IA-64 architecture:

      
      Size/MD5 checksum:    20774 a8ebc16a2f88b170e109e085c69706a3

  HP Precision architecture:

      
      Size/MD5 checksum:    14790 327f6bb12fc8be07fb042c6a8544e06a

  Motorola 680x0 architecture:

      
      Size/MD5 checksum:    14122 28cb0fb68e09039e36f678f561903cb1

  Big endian MIPS architecture:

      
      Size/MD5 checksum:    13646 2fbd761e5d5a19a56b011bc2cb8e36a3

  Little endian MIPS architecture:

      
      Size/MD5 checksum:    13672 5241836d02e3b1c8e362aa66bc4b3d8b

  PowerPC architecture:

      
      Size/MD5 checksum:    14258 526ffe6bb1f01e02b4cf7a69fc80b095

  IBM S/390 architecture:

      
      Size/MD5 checksum:    14324 2de57a838f7c0035fa3ca64540dd574a

  Sun Sparc architecture:

      
      Size/MD5 checksum:    14148 b5716f8ff2e5d88c822bdcf615d532d9


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

- ---------------------------------------------------------------------------------
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: pam-pgsql Unchecked input vulnerability

March 29, 2004
An attacker could exploit this bug to insert SQL statements.

Summary

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:


Size/MD5 checksum: 644 f2052dd0ab65fd186d90b3b3598d295c

Size/MD5 checksum: 5620 4069768c934f923b6008cb9561d0274c

Size/MD5 checksum: 39892 3ee046cd64ad9c3e02ad486d0398ad13

Alpha architecture:


Size/MD5 checksum: 5648 7523fb12cb281da388dcfd1f09cdb780

ARM architecture:


Size/MD5 checksum: 14146 9f94ce23f843fb70556a31e826a5388c

Intel IA-32 architecture:


Size/MD5 checksum: 14024 14f8af94434f09eb9ec0a7c958e051ff

Intel IA-64 architecture:


Size/MD5 checksum: 20774 a8ebc16a2f88b170e109e085c69706a3

HP Precision architecture:


Size/MD5 checksum: 14790 327f6bb12fc8be07fb042c6a8544e06a

Motorola 680x0 architecture:


Size/MD5 checksum: 14122 28cb0fb68e09039e36f678f561903cb1

Big endian MIPS architecture:


Size/MD5 checksum: 13646 2fbd761e5d5a19a56b011bc2cb8e36a3

Little endian MIPS architecture:


Size/MD5 checksum: 13672 5241836d02e3b1c8e362aa66bc4b3d8b

PowerPC architecture:


Size/MD5 checksum: 14258 526ffe6bb1f01e02b4cf7a69fc80b095

IBM S/390 architecture:


Size/MD5 checksum: 14324 2de57a838f7c0035fa3ca64540dd574a

Sun Sparc architecture:


Size/MD5 checksum: 14148 b5716f8ff2e5d88c822bdcf615d532d9


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

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
Package : pam-pgsql
Vulnerability : missing input sanitising
Problem-Type : remote
Debian-specific: no
CVE ID : CAN-2004-0366

Related News