Debian DSA-469-1 : pam-pgsql - missing input sanitising

high Nessus Plugin ID 15306

Synopsis

The remote Debian host is missing a security-related update.

Description

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

Solution

Upgrade the libpam-pgsql package.

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

See Also

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=230875

http://www.debian.org/security/2004/dsa-469

Plugin Details

Severity: High

ID: 15306

File Name: debian_DSA-469.nasl

Version: 1.23

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:pam-pgsql, cpe:/o:debian:debian_linux:3.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 3/29/2004

Vulnerability Publication Date: 3/30/2004

Reference Information

CVE: CVE-2004-0366

DSA: 469