X509 certificate verification problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
up-imapproxy (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hostname verification is an important step when verifying X509 certificates, however, people tend to miss the step when using SSL/TLS, which might cause severe man in the middle attack and break the entire TLS mechanism.
We believe that imapproxy didn't check whether the hostname matches the name in the ssl certificate and the expired date of the certificate.
We found the vulnerability by static analysis, typically, a process of verfication involves calling a chain of API, and we can deduce whether the communication process is vulnerable by detecting whether the process satisfies a certain relation.
The result format is like this:
notice: Line Number@Method Name, Source File
We provide this result to help developers to locate the problem faster.
This is the result for imapproxy:
[PDG]Get_
[Found]
[HASH] 1168817039 [LineNo]@ 680[Kind]
[INFO] API SSL_new() Found! --> [HASH] 1396359115 [LineNo]@ 663[Kind]
[Warning] SSL_CTX_new() not found!
We don't have a POC because we didn't succeed in configuring this software or don't know the way to verify the vulnerability. But through the analysis of the source code, we believe it breaks the ssl certificate verfication protocol.
for more information about the importance of checking hostname:
see http://
Thanks.
information type: | Private Security → Public |
information type: | Public → Public Security |
Changed in up-imapproxy (Ubuntu): | |
status: | Expired → Confirmed |
Thanks for taking the time to report this bug and helping to make Ubuntu better. Since the package referred to in this bug is in universe or multiverse, it is community maintained. If you are able, I suggest coordinating with upstream and posting a debdiff for this issue. When a debdiff is available, members of the security team will review it and publish the package. See the following link for more information: https:/ /wiki.ubuntu. com/SecurityTea m/UpdateProcedu res