A security flaw was found in the way Gajim, a Jabber client written in PyGTK, performed verification of invalid (broken / expired) x.509v3 SSL certificates (True as return value was returned always regardless if error during certificate validation occurred or not). A rogue XMPP server could use this flaw to conduct man-in-the-middle attack (MiTM) and trick Gajim client to accept the certificate even when it was invalid / should not be accepted. Upstream ticket: [1] https://trac.gajim.org/ticket/7252 References: [2] http://www.openwall.com/lists/oss-security/2012/11/11/6
Reproducer from upstream ticket [1]: ------------------------------------ To confirm this behavior, add at the begining of _ssl_verify_callback: self._dumpX509(cert) print >>self.stderr, "Args:", errnum, depth, ok, '\n-------' And try to connect to a server with an invalid server certificate (for example, an expired one). You will observe the following: Digest (SHA-1): {CA cert fingerprint} (...) Expired: No Subject: X509Name: {The CA Name} (...) Args: 0 1 1 ----------------------------- Digest (SHA-1): {Server cert fingerprint} (...) Expired: Yes Subject: X509Name: {The Server's CN} (...) Args: 10 0 0 ----------------------------- Digest (SHA-1): {Server cert fingerprint again} (...) Expired: Yes Subject: X509Name: {The Server's CN again} (...) Args: 0 0 1 -----------------------------
This issue affects the versions of the gajim package, as shipped with Fedora release of 16 and 17. Please schedule an update (once there is final upstream patch available). -- This issue affects the versions of the gajim package, as shipped with Fedora EPEL 5 and Fedora EPEL 6. Please schedule an update (once there is final upstream patch available).
Created gajim tracking bugs for this issue Affects: fedora-all [bug 875820] Affects: epel-all [bug 875821]
The CVE identifier of CVE-2012-5524 has been assigned to this issue: http://www.openwall.com/lists/oss-security/2012/11/14/4
gajim-0.14.4-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.