CVE-2010-3435: Medium severity Linux-PAM Linux-PAM vulnerability

Published Sep 21, 2010
·
Updated

It was reported that pamenv and pammail 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: http://git.altlinux.org/people/ldv/packages/?p=pam.git;a=commitdiff;h=06f882f30092a39a1db867c9744b2ca8d60e4ad6

The fix in 1.1.2 has some problems though, it fails to switch fsgid/egid and groups (CVE-2010-3430) and does not check setfsuid() return value (CVE-2010-3431): http://thread.gmane.org/gmane.comp.security.oss.general/3311/focus=3551

Fix using newly-introduced pammodutildroppriv / pammodutilregainpriv was committed in upstream CVS and should be included in 1.1.3: http://git.altlinux.org/people/ldv/packages/?p=pam.git;a=commitdiff;h=843807a3a90f52e7538be756616510730a24739a

Acknowledgements:

Red Hat would like to thank Sebastian Krahmer of the SuSE Security Team for reporting this issue.

Other sources

The (1) pamenv and (2) pammail modules in Linux-PAM (aka pam) before 1.1.2 use root privileges during read access to files and directories that belong to arbitrary user accounts, which might allow local users to obtain sensitive information by leveraging this filesystem activity, as demonstrated by a symlink attack on the .pamenvironment file in a user's home directory.

Affected Software

25 affected componentsFixes available
redhat/pam<0:0.99.6.2-6.el5_5.2
0:0.99.6.2-6.el5_5.2
redhat/pam<0:1.1.1-4.el6_0.1
0:1.1.1-4.el6_0.1
Linux-PAM Linux-PAM<=1.1.1
Linux-PAM Linux-PAM=0.99.1.0
Linux-PAM Linux-PAM=0.99.2.0
Linux-PAM Linux-PAM=0.99.2.1
Linux-PAM Linux-PAM=0.99.3.0
Linux-PAM Linux-PAM=0.99.4.0
Linux-PAM Linux-PAM=0.99.5.0
Linux-PAM Linux-PAM=0.99.6.0
Linux-PAM Linux-PAM=0.99.6.1
Linux-PAM Linux-PAM=0.99.6.2
Linux-PAM Linux-PAM=0.99.6.3
Linux-PAM Linux-PAM=0.99.7.0
Linux-PAM Linux-PAM=0.99.7.1
Linux-PAM Linux-PAM=0.99.8.0
Linux-PAM Linux-PAM=0.99.8.1
Linux-PAM Linux-PAM=0.99.9.0
Linux-PAM Linux-PAM=0.99.10.0
Linux-PAM Linux-PAM=1.0.0
Linux-PAM Linux-PAM=1.0.1
Linux-PAM Linux-PAM=1.0.2
Linux-PAM Linux-PAM=1.0.3
Linux-PAM Linux-PAM=1.0.4
Linux-PAM Linux-PAM=1.1.0

Event History

Sep 21, 2010
CVE Published
12:00 AM
Oct 8, 2010
Data Sourced
01:22 PM
DescriptionSeverityAffected Software
Jan 24, 2011
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2010-3435?

CVE-2010-3435 has a moderate severity due to the potential for information disclosure.

2

How do I fix CVE-2010-3435?

To remediate CVE-2010-3435, upgrade to the patched version of the pam package that addresses this vulnerability.

3

What modules are affected by CVE-2010-3435?

The pam_env and pam_mail modules are affected by CVE-2010-3435, leading to privilege escalation risks.

4

Which versions of pam are vulnerable to CVE-2010-3435?

Versions of pam before 0:0.99.6.2-6.el5_5.2 and 0:1.1.1-4.el6_0.1 are vulnerable to CVE-2010-3435.

5

Is CVE-2010-3435 specific to any Linux distribution?

CVE-2010-3435 primarily affects Red Hat-based distributions due to vulnerabilities in the pam package.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203