CWE
310
Advisory Published
CVE Published
Updated

CVE-2014-5075

First published: Wed Aug 06 2014(Updated: )

It was reported [1] that Smack (XMPP client library) is vulnerable to MitM attacks with a crafted SSL certificates. Quote from [1]: ... Details ------- Smack is using Java's `SSLSocket`, which checks the peer certificate using an `X509TrustManager`, but does not perform hostname verification. Therefore, it is possible to redirect the traffic between a Smack-using application and a legitimate XMPP server through the attacker's server, merely by providing a valid certificate for a domain under the attacker's control. In Smack versions 2.2.0 to 3.4.1, a custom `ServerTrustManager` implementation was used, which was supplied with the connection's server name, and performed hostname verification. However, it failed to verify the basicConstraints and nameConstraints of the certificate chain (<a href="https://access.redhat.com/security/cve/CVE-2014-0363">CVE-2014-0363</a>, <a href="http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0363">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-0363</a>) and has been removed in Smack 4.0.0. Applications using Smack 2.2.0 to 3.4.1 with a custom `TrustManager` did not benefit from `ServerTrustManager` and are vulnerable as well, unless their own `TrustManager` implementation explicitly performs hostname verification. ... [1]: <a href="http://seclists.org/bugtraq/2014/Aug/29">http://seclists.org/bugtraq/2014/Aug/29</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/smack-core<4.0.2
4.0.2
redhat/smack-tcp<4.0.2
4.0.2
redhat/smack<4.0.2
4.0.2
Redhat Jboss Fuse<=6.1.0
Igniterealtime Smack Api<=4.0.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203