First published: Fri Oct 08 2010(Updated: )
It was reported that pam_env and pam_mail modules do not drop privileges before accessing users' files. This flaw can lead to information disclosure. Issue was partially addressed in Linux-PAM 1.1.2: <a href="http://git.altlinux.org/people/ldv/packages/?p=pam.git;a=commitdiff;h=06f882f30092a39a1db867c9744b2ca8d60e4ad6">http://git.altlinux.org/people/ldv/packages/?p=pam.git;a=commitdiff;h=06f882f30092a39a1db867c9744b2ca8d60e4ad6</a> The fix in 1.1.2 has some problems though, it fails to switch fsgid/egid and groups (<a href="https://access.redhat.com/security/cve/CVE-2010-3430">CVE-2010-3430</a>) and does not check setfsuid() return value (<a href="https://access.redhat.com/security/cve/CVE-2010-3431">CVE-2010-3431</a>): <a href="http://thread.gmane.org/gmane.comp.security.oss.general/3311/focus=3551">http://thread.gmane.org/gmane.comp.security.oss.general/3311/focus=3551</a> Fix using newly-introduced pam_modutil_drop_priv / pam_modutil_regain_priv was committed in upstream CVS and should be included in 1.1.3: <a href="http://git.altlinux.org/people/ldv/packages/?p=pam.git;a=commitdiff;h=843807a3a90f52e7538be756616510730a24739a">http://git.altlinux.org/people/ldv/packages/?p=pam.git;a=commitdiff;h=843807a3a90f52e7538be756616510730a24739a</a> Acknowledgements: Red Hat would like to thank Sebastian Krahmer of the SuSE Security Team for reporting this issue.
Affected Software | Affected Version | How to fix |
---|---|---|
Linux-PAM | <1.1.2 | |
Linux-PAM | >=1.1.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-641335 is considered high due to its potential for information disclosure.
To fix REDHAT-BUG-641335, update to Linux-PAM version 1.1.3 or later, where this issue is resolved.
Linux-PAM versions prior to 1.1.3 and including 1.1.2 are affected by REDHAT-BUG-641335.
The pam_env and pam_mail modules are involved in the REDHAT-BUG-641335 vulnerability.
REDHAT-BUG-641335 can lead to information disclosure because the affected modules do not drop privileges before accessing user files.