CVEvulnerability

CVE-2008-2516

4.6 MEDIUM Published 2008-06-03 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2008-06-03
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-287

Description

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.

Affected configurations

• libpam-pgsql libpam-pgsql 0.6.3

Related

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

Referenced by CWE · observed example (1)

  • CWE-783 Operator Precedence Logic Error weakness

References