Bug 632114 (CVE-2011-1094)
Summary: | CVE-2011-1094 kdelibs: SSL certificate for IP address accepted as valid for hosts that resolve to the IP | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] Security Response | Reporter: | Tomas Hoger <thoger> | ||||
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||
Status: | CLOSED ERRATA | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | unspecified | CC: | jreznik, mjc, security-response-team, than | ||||
Target Milestone: | --- | Keywords: | Security | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-05-22 13:33:16 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 695662, 695663 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Tomas Hoger
2010-09-09 08:10:57 UTC
The problem seems to be in KIO::TCPSlaveBase. TCPSlaveBase::connectToHost resolves host name to IP address(es) and uses IP to connect using QSslSocket. This is expected to result in HostNameMismatch certificate verification error, hence TCPSlaveBase::startTLSInternal implements its own custom host <-> certificate name checking. However, when server certificate was issued for the IP used to connect, no HostNameMismatch error is reported and the certificate is accepted as matching requested host. Created attachment 452097 [details] Possible fix Possible fix for this issue. It has to be applied after wildcard handling fixes mentioned in bug #630063, comment #17. Review appreciated. (In reply to comment #3) > Possible fix for this issue. It has to be applied after wildcard handling > fixes mentioned in bug #630063, comment #17. Review appreciated. Now committed in upstream git: https://projects.kde.org/projects/kde/kdelibs/repository/revisions/23621737060e4df0fba238c25fb5b65f81181971 Required previous commit after upstream SVN->git migration: https://projects.kde.org/projects/kde/kdelibs/repository/revisions/078eba4692a0fcf29de077db3972bf56a1702ae2 Patch is included in kdelibs 4.6.1. This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2011:0464 https://rhn.redhat.com/errata/RHSA-2011-0464.html |