Improper Authentication Affecting pam-pgsql package, versions <0.6.3-2


Severity

Recommended
0.0
medium
0
10

Based on Debian security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN9-PAMPGSQL-308459
  • published3 Jun 2008
  • disclosed3 Jun 2008

Introduced: 3 Jun 2008

CVE-2008-2516  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade Debian:9 pam-pgsql to version 0.6.3-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam-pgsql package and not the pam-pgsql package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

pam_sm_authenticate in pam_pgsql.c in libpam-pgsql 0.6.3 does not properly consider operator precedence when evaluating the success of a pam_get_pass function call, which allows local users to gain privileges via a SIGINT signal when this function is executing, as demonstrated by a CTRL-C sequence at a sudo password prompt in an "auth sufficient pam_pgsql.so" configuration.

CVSS Scores

version 3.1