Red Hat Bugzilla – Bug 181302
CVE-2007-5079 gdm with xdmcp ignoring tcp_wrappers on x86_64
Last modified: 2011-09-27 17:47:53 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; iOpus-I-M; SV1)
Description of problem:
The x86_64 bit version of AS4 (fully patched) appears to ignore tcp_wrappers completely when using gdm with XDMCP. The 32 bit version of AS4 works perfectly so this bug appears to be restricted to the 64bit version. I suspect the problem with the wrappers on the 64 bit version may be a bit more general than just XDMCP access as I tested a telnet server and while the wrappers are not completely ignored connections are not refused cleanly (You donât get the login prompt but you are still hooked up to the machine). The 32 bit version again works perfectly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Instll the OS
2. Configure gdmsetup to allow remote XDMCP conectivity
3. configure hosts.deny to restrict conections all:all
Actual Results: no restriction to remote desktop
Expected Results: remote desktop should have been refused
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
The gdm was not compiled and linked with tcp_wrappers on x86_64.
The configure script looks for libwrap.a in /usr/lib which is not present on a
x86_64 system. Also, the tcp_wrappers BuildRequires is completely missing.
Thanks for catching this, I'll be filling the same bug for RHEL5 and Fedoras.
CVE name was assigned to this issue - CVE-2007-5079.
Reassigning bug to Security Response product.
Tomas, Ray, can you confirm which versions are affected? Besides RHEL4 in
original report, RHEL3 version seems to be affected too. But I'm bit confused
about RHEL5 and Fedora, as gdm-binary does not seem to link against libwrap
there even on i386. Is that intentional?
Any release that uses /usr/lib64 is affected. Fedora tries to avoid putting
bloat in the default buildroot, so it's completely possible that the missing
BuildRequires caused newer builds not to be linked with tcp_wrappers at all. The
bugzillas for el5 and fedora follow: bug 239818, bug 239820
Ray: Though I personally do not consider this to be a security issue, but a
feature issue, it seems that some other people don't think so, so I'd be glad if
you rolled new packages that would be built with tcp_wrappers and submitted an
update. Please let me know if you think this is not wise and might break some
I'm okay with doing an update to fix this problem.
The current version of gdm (18.104.22.168-7.rhel4.19 - 10 Apr 2008) still doesn't include the correction. Do you plan to take this into account in a future release ? Thanks.
This bug is currently being evaluated for inclusion in a future update. It's likely that this fix would go in with other GDM fixes, but not necessarily as an errata on its own.
This issue has been addressed in following products:
Red Hat Enterprise Linux 4
Via RHSA-2010:0657 https://rhn.redhat.com/errata/RHSA-2010-0657.html