OpenPegasus PAMBasicAuthenticator::PAMCallback() buffer overflow
| openpegasus-pambasic-bo (39527) |
Description:
OpenPegasus is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the PAMBasicAuthenticator::PAMCallback() function. By sending an overly long password, a remote attacker from within the local network could overflow a buffer and execute arbitrary code on the system with root privileges.
Platforms Affected:
- HP, HP-UX 11.11
- HP, HP-UX 11.23
- HP, HP-UX 11.31
- Open Group, OpenPegasus 2.7
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4.5.z ES
- RedHat, Enterprise Linux 4.5.z AS
- RedHat, Enterprise Linux 5 Client
- RedHat, Enterprise Linux 5 Client Workstation
- RedHat, Enterprise Linux 5
Remedy:
Upgrade to the latest version of OpenPegasus, available from the CVS Repository. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- CVS Repository, OpenPegasus at http://cvs.opengroup.org/cgi-bin/cvsweb.cgi/pegasus/src/Pegasus/Security/Authentication/PAMBasicAuthenticatorUnix.cpp.diff?cvsroot=Pegasus&r1=1.34.4.1&r2=1.34.4.2&f=H&only_with_tag=RELEASE_2_6-branch.
- HPSBMA02331 SSRT080000 rev.1, HP-UX running WBEM Services, Remote Execution of Arbitrary Code, Gain Extended Privileges at http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01438409.
- IBM Subscription service Bulletin 4129, IBM Pegasus CIM Server for Director on AIX vulnerabilities at http://www14.software.ibm.com/webapp/set2/subscriptions/pqvcmjd?mode=18&ID=4129.
- OpenPegasus Web site, OpenPegasus at http://www.openpegasus.org/.
- ASA-2008-028: tog-pegasus security update (RHSA-2008-0002)
- BID-27172: OpenPegasus WBEM CIM Management Server 'PAMBasicAuthenticatorUnix.cpp' Buffer Overflow Vulnerability
- BID-27188: OpenPegasus Management Server PAM Authentication 'cimservera.cpp' Buffer Overflow Vulnerability
- CVE-2008-0003: Stack-based buffer overflow in the PAMBasicAuthenticator::PAMCallback function in OpenPegasus CIM management server (tog-pegasus), when compiled to use PAM and without PEGASUS_USE_PAM_STANDALONE_PROC defined, might allow remote attackers to execute arbitrary code via unknown vectors, a different vulnerability than CVE-2007-5360.
- FrSIRT/ADV-2008-0063: OpenPegasus PAM Authentication Multiple Buffer Overflow Vulnerabilities
- FrSIRT/ADV-2008-0638: IBM AIX Pegasus CIM Server Remote Code Execution Vulnerabilities
- FrSIRT/ADV-2008-1234: VMware ESX Code Execution and Denial of Service Vulnerabilities
- FrSIRT/ADV-2008-1391: HP-UX WBEM Services OpenPegasus Buffer Overflow Vulnerabilities
- RHSA-2008-0002: Critical: tog-pegasus security update
- SA28358: OpenPegasus PAM Module Buffer Overflow Vulnerabilities
- SA29056: IBM AIX Pegasus CIM Server for Director Vulnerabilities
- SA29785: VMware ESX Server Multiple Security Updates
- SA29986: HP-UX WBEM Services OpenPegasus PAM Module Buffer Overflows
- SECTRACK ID: 1019159: OpenPegasus Stack Overflow in PAM Authentication Lets Remote Users Execute Arbitrary Code
Reported:
Jan 07, 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 (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.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
