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.
References
- 30391 third-party-advisory
- ADV-2008-1654 vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481970
- libpampgsql-pamsm-security-bypass(42653) vdb-entry
- http://sourceforge.net/project/shownotes.php?release_id=601775
- 1020111 vdb-entry
- 29360 vdb-entry