Rapid7 Vulnerability & Exploit Database

MySQL vio_verify_callback() Zero-Depth X.509 Certificate Vulnerability

Back to Search

MySQL vio_verify_callback() Zero-Depth X.509 Certificate Vulnerability

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
09/15/2009
Created
07/25/2018
Added
06/29/2010
Modified
06/12/2014

Description

The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41, when OpenSSL is used, accepts a value of zero for the depth of X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary SSL-based MySQL servers via a crafted certificate, as demonstrated by a certificate presented by a server linked against the yaSSL library.

Solution(s)

  • mysql-upgrade-5_0_88
  • mysql-upgrade-5_1_41

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;