1. CVE archive
  2. 2008
  3. CVE-2008-2516

CVE-2008-2516

4.6 Medium severity CVSS v2.0 · source NVD AV:L/AC:L/Au:N/C:P/I:P/A:P 4.6 – Medium

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 products

VendorProductVersionPlatform
libpam-pgsql libpam-pgsql 0.6.3 –

Vulnerability type

CWE-287 Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control Read Application Data, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands
This weakness can lead to the exposure of resources or functionality to unintended actors, possibly providing attackers with sensitive information or even execute arbitrary code.

How to prevent it

Architecture and Design · Libraries or Frameworks Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

All 5,306 CWE-287 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org