search menu icon-carat-right cmu-wordmark

CERT Coordination Center

POCO C++ Libraries NetSSL library fails to properly validate wildcard certificates

Vulnerability Note VU#118748

Original Release Date: 2014-04-24 | Last Revised: 2014-04-24

Overview

The POCO C++ Libraries NetSSL library fails to properly validate wildcard certificates, allowing an attacker to trick the victim application into trusting a malicious certificate.

Description

CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action

Guenter Obiltschnig of Applied Informatics GmbH reports:

The Poco::Net::X509Certificate::verify() method in the POCO C++ Libraries NetSSL library fails to properly validate a wildcard certificate if DNS reverse mapping is broken. In case of a wildcard certificate, the class relies on DNS to obtain aliases for the host name, which are then used for matching against the wildcard domain name(s) in the certificate.

Stable release versions 1.4.6p2 and older are affected, as well as development release version 1.50 to 1.5.2.

Impact

After a successful DNS spoofing attack, the attacker may be able to trick a SSL/TLS client into successfully validating a certificate from a malicious server. However, this requires that the certificate first passes the certificate chain validation.

Solution

Apply an Update

Vendors and developers which incorporate the POCO C++ NetSSL library into their software should update to version 1.4.6p4 or later.

Vendor Information

118748
 

Applied Informatics GmbH Affected

Updated:  April 17, 2014

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.


CVSS Metrics

Group Score Vector
Base 6.4 AV:N/AC:L/Au:N/C:P/I:P/A:N
Temporal 4.7 E:U/RL:OF/RC:C
Environmental 1.2 CDP:ND/TD:L/CR:ND/IR:ND/AR:ND

References

Acknowledgements

Thanks to Tuomas Siren and Alexander Berezhnoy for originally discovering the vulnerability.

This document was written by Todd Lewellen.

Other Information

CVE IDs: CVE-2014-0350
Date Public: 2014-04-24
Date First Published: 2014-04-24
Date Last Updated: 2014-04-24 15:00 UTC
Document Revision: 7

Sponsored by CISA.