libpam-pgsql pam_sm_authenticate() security bypass
| libpampgsql-pamsm-security-bypass (42653) |
Description:
libpam-pgsql could allow a local attacker to bypass security restrictions, caused by an error in the pam_sm_authenticate() function. By entering the Control + C key (SIGINT) during the authentication process, a local attacker could exploit this vulnerability to bypass authentication and gain unauthorized access to the system.
*CVSS:
| Base Score: | 4.6 |
| Access Vector: | Local |
| Access Complexity: | Low |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.4 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Bypass Security
Remedy:
Upgrade to the latest version of libpam-pgsql (0.6.4 or later), available from SourceForge.net:Files. See References.
References:
- Debian Bug report logs - #481970: libpam-pgsql: Ctrl+C while in authentication phase induces success, may circumvent sudo et al..
- SourceForge.net:Files: libpam-pgsql, File Release Notes and Changelog, Release Name: 0.6.4.
- BID-29360: libpam-pgsql 'pam_pgsql.c' Authentication Bypass Vulnerability
- CVE-2008-2516: 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.
- SA30391: libpam-pgsql Authentication Bypass Security Issue
- SECTRACK ID: 1020111: libpam-pgsql Bug Lets Local Users Gain Elevated Privileges
- VUPEN/ADV-2008-1654: libpam-pgsql pam_sm_authenticate Authentication Bypass Issue
Platforms Affected:
- libpam-pgsql libpam-pgsql 0.6.3
Reported:
May 19, 2008
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
