pam_krb5 existing_ticket option privilege escalation
| pamkrb5-existingticket-privilege-escalation (45635) |
Description:
pam_krb5 could allow a local attacker to gain elevated privileges on the system, caused by the use of incorrect privileges while reading the Kerberos credential cache when the existing_ticket option is enabled. By setting the KRB5CCNAME environment variable to an arbitrary cache filename and then running the su or sudo program, an attacker could exploit this vulnerability to gain elevated privileges.
*CVSS:
| Base Score: | 4.4 |
| Access Vector: | Local |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.3 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
Refer to RHSA-2008-0907 for patch, upgrade or suggested workaround information. See References.
References:
- pam_krb5 Web page: Home of pam_krb5.
- Red Hat Bugzilla Bug 461960: CVE-2008-3825 pam_krb5 existing_ticket permission flaw.
- BID-31534: pam_krb5 Existing Ticket Configuration Option Local Privilege Escalation Vulnerability
- CVE-2008-3825: pam_krb5 2.2.14 in Red Hat Enterprise Linux (RHEL) 5 and earlier, when the existing_ticket option is enabled, uses incorrect privileges when reading a Kerberos credential cache, which allows local users to gain privileges by setting the KRB5CCNAME environment variable to an arbitrary cache filename and running the (1) su or (2) sudo program. NOTE: there may be a related vector involving sshd that has limited relevance.
- MDVSA-2008:209: pam_krb5
- MDVSA-2008:209-1: pam_krb5
- RHSA-2008-0907: Moderate: pam_krb5 security update
- SA32119: pam_krb5 Credential Cache "exisiting_ticket" Security Bypass
- SA43314: VMware ESX Server pam_krb5 Security Issues
- SECTRACK ID: 1020978: pam_krb5 Credential Cache Permissions Bug Let Local Users Gain Elevated Privileges
- SUSE-SR:2008:027: SUSE Security Summary Report
Platforms Affected:
- MandrakeSoft Mandrake Linux 2007.1
- MandrakeSoft Mandrake Linux 2007.1 X86_64
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux 2008.1
- Mandriva Linux 2009.0 X86_64
- Mandriva Linux 2009.0
- pam_krb5 pam_krb5
- RedHat Enterprise Linux 5 Client
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux Desktop 5.0
Reported:
Oct 02, 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.
