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.
Advisories
Source ID Title
EUVD EUVD EUVD-2009-3999 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-07T06:45:50.954Z

Reserved: 2009-11-20T00:00:00

Link: CVE-2009-4028

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2009-11-30T17:30:00.327

Modified: 2025-04-09T00:30:58.490

Link: CVE-2009-4028

cve-icon Redhat

Severity : Moderate

Publid Date: 2009-11-04T00:00:00Z

Links: CVE-2009-4028 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses