CVE-2008-4313: Medium severity red hat enterprise linux vulnerability
A certain Red Hat patch for tog-pegasus in OpenGroup Pegasus 2.7.0 does not properly configure the PAM tty name, which allows remote authenticated users to bypass intended access restrictions and send requests to OpenPegasus WBEM services.
Other sources
Description of problem:
While investigating bug 459057 I noticed that the tog-pegasus RPM based on Pegasus 2.7.0 no longer sets the PAM tty name to "wbemLocal" or "wbemRemote" as in previous releases. It's always set to the service name, "wbem". I believe this completely bypasses the security settings in /etc/Pegasus/access.conf.
To test, install the 2.7.0 RPM and enumerate the PGComputerSystem instance as root. By default this should not work, but it does. If you change the access.conf file from:
-: ALL EXCEPT pegasus:wbemNetwork
to:
-: ALL EXCEPT pegasus:wbem
and retry accessing PGComputerSystem, the request fails as it is supposed to.
Looking at the differences between the local-or-remote-auth patch in tog-pegasus-2.6.1-2.el5.src.rpm vs tog-pegasus-2.7.0-2.el5.src.rpm, it appears that both patches pass whether the connection is remote further down through various Pegasus classes, but the 2.7.0 patch looks like it's missing a whole chunk of code in Security/Authentication/PAMBasicAuthenticatorUnix.cpp where the isRemoteUser parameter is unused.
Tested on ia64 system upgraded from rhel5.0 to rhel5.2 and freshly installed rhel5.2 on x8664.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce: 1. 2. 3. Actual results:
Expected results:
Additional info:
— Red Hat
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2008-4313?
CVE-2008-4313 is classified as a medium severity vulnerability due to its potential to allow remote authenticated users to bypass access restrictions.
How do I fix CVE-2008-4313?
To remediate CVE-2008-4313, apply the latest patches provided by Red Hat for the affected versions of OpenPegasus.
Which systems are affected by CVE-2008-4313?
CVE-2008-4313 affects Red Hat Enterprise Linux version 5.0 and Red Hat Enterprise Linux Desktop version 5.0.
What is the impact of exploiting CVE-2008-4313?
Exploiting CVE-2008-4313 may allow remote authenticated users to send unauthorized requests to OpenPegasus WBEM services.
Is CVE-2008-4313 still relevant today?
While CVE-2008-4313 relates to older software versions, organizations using legacy systems should be aware of it to mitigate potential risks.