oss-sec mailing list archives

Re: Another Python app (rhn-setup: rhnreg_ks) not checking hostnames in certs properly CVE-2015-1777


From: Kurt Seifried <kseifried () redhat com>
Date: Wed, 04 Mar 2015 11:37:39 -0700

On 04/03/15 11:14 AM, Donald Stufft wrote:

On Mar 4, 2015, at 12:55 PM, Kurt Seifried <kseifried () redhat com> wrote:

https://bugzilla.redhat.com/show_bug.cgi?id=1198740

Jan Bee of the Google Security Team reports:

The /usr/sbin/rhnreg_ks fails to properly validate hostnames in
certificates. This can result in man in the middle attacks.

===

Please note that this issue cannot easily be exploited to cause any
significant damage to a system other then preventing registration from
taking place properly which the attacker would be able to do in any
event if the can man in the middle the connection.



--
Kurt Seifried -- Red Hat -- Product Security -- Cloud
PGP A90B F995 7350 148F 66BF 7554 160D 4553 5E26 7993


Note: Python 2.7.9+ and 3.4.3+ will cause most apps like this to
automatically start validating hostnames. It may be easier to backport
those changes than to find every Python app that doesn’t check hostnames.

Yup, I am aware of that, but as you know Red Hat is pretty conservative
on updates to things like Python/etc because we have to support customer
applications that we have never seen and will never see (e.g. internal
corp software), and if we break those apps due to changes in underlying
languages there is a big problem.

---
Donald Stufft
PGP: 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA


-- 
Kurt Seifried -- Red Hat -- Product Security -- Cloud
PGP A90B F995 7350 148F 66BF 7554 160D 4553 5E26 7993

Attachment: signature.asc
Description: OpenPGP digital signature


Current thread: