[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UNIRAS Brief - 146/04 - Debian Security Advisory DSA 469-1



 
-----BEGIN PGP SIGNED MESSAGE-----

- ----------------------------------------------------------------------------------
   UNIRAS (UK Govt CERT) Briefing Notice - 146/04 dated 30.03.04  Time: 12:30  
  UNIRAS is part of NISCC (National Infrastructure Security Co-ordination Centre)
- ---------------------------------------------------------------------------------- 
  UNIRAS material is also available from its website at www.uniras.gov.uk and
         Information about NISCC is available from www.niscc.gov.uk
- ----------------------------------------------------------------------------------

Title
=====

Debian Security Advisory DSA 469-1: libpam-psgl vulnerability.

Detail
====== 

Primoz Bratanic discovered a bug in , 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.


- - --------------------------------------------------------------------------
Debian Security Advisory DSA 469-1                     security@xxxxxxxxxx
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.

- - ---------------------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAaCgoW5ql+IAeqTIRAoCMAKCNeQiEhVY4zRKX9chvYS5IM+fetQCghCLz
keIjpmb9jCR0Jns/S+gKJSI=
=4WX0
- -----END PGP SIGNATURE-----

- ----------------------------------------------------------------------------------

For additional information or assistance, please contact the HELP Desk by 
telephone or Not Protectively Marked information may be sent via 
EMail to: uniras@xxxxxxxxxxxx

Office Hours:
Mon - Fri: 08:30 - 17:00 Hrs
Tel: +44 (0) 20 7821 1330 Ext 4511
Fax: +44 (0) 20 7821 1686

Outside of Office Hours:
On Call Duty Officer:
Tel: +44 (0) 20 7821 1330 and follow the prompts

- ----------------------------------------------------------------------------------
UNIRAS wishes to acknowledge the contributions of Debian for the information 
contained in this Briefing. 
- ----------------------------------------------------------------------------------
This Briefing contains the information released by the original author. Some 
of the information may have changed since it was released. If the vulnerability 
affects you, it may be prudent to retrieve the advisory from the canonical site 
to ensure that you receive the most current information concerning that problem.

Reference to any specific commercial product, process, or service by trade 
name, trademark manufacturer, or otherwise, does not constitute or imply 
its endorsement, recommendation, or favouring by UNIRAS or NISCC.  The views 
and opinions of authors expressed within this notice shall not be used for 
advertising or product endorsement purposes.

Neither UNIRAS or NISCC shall also accept responsibility for any errors 
or omissions contained within this briefing notice. In particular, they shall 
not be liable for any loss or damage whatsoever, arising from or in connection 
with the usage of information contained within this notice.

UNIRAS is a member of the Forum of Incident Response and Security Teams (FIRST) 
and has contacts with other international Incident Response Teams (IRTs) in 
order to foster cooperation and coordination in incident prevention, to prompt 
rapid reaction to incidents, and to promote information sharing amongst its 
members and the community at large. 
- ----------------------------------------------------------------------------------
<End of UNIRAS Briefing>

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQCVAwUBQGlYZopao72zK539AQFaVwP7BEID3XqmKrEnH8tnJU1maSqOi8u/9ZGu
iLG4aiwQYj1Oht1X5fRKVkEiPoDD16p/s4WDH1NWTw+o8CIWnI/2Zftc423HQ6hc
3/3c89nnie8g/Y11os0QkhZen4uahdK/iRdufftpY37obgs229+dvXl7poaY34z4
bqgR+2bgFbw=
=BZFe
-----END PGP SIGNATURE-----