Description
The pam_sm_close_session function in pam_xauth.c in the pam_xauth module in Linux-PAM (aka pam) 1.1.2 and earlier does not properly handle a failure to determine a certain target uid, which might allow local users to delete unintended files by executing a program that relies on the pam_xauth PAM check.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pam | 1.1.3-1 | — |
| Debian 13 | pam | 1.1.3-1 | — |
| Debian 12 | pam | 1.1.3-1 | — |
References
- http://git.altlinux.org/people/ldv/packages/?p=pam.git%3Ba=commit%3Bh=Linux-PAM-1_1_2-3-g05dafc06cd3dfeb7c4b24942e4e1ae33ff75a123
- GLSA-201206-31 vendor-advisory
- [oss-security] 20101004 Re: Minor security flaw with pam_xauth mailing-list
- 46045 vdb-entry
- 49711 third-party-advisory
- linuxpam-pamsmclosesession-weak-security(65035) vdb-entry