CVE-2009-4028 Security feature bypass in n/a

Medium 6.8 Published Updated

Man-in-the-middle attackers can spoof SSL-based MySQL servers by exploiting a certificate depth validation flaw in OpenSSL integration.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-4028?

CVE-2009-4028 is a medium-severity vulnerability in Mysql Mysql, published on 30 Nov 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-20

Which versions are affected by CVE-2009-4028?

It affects 2 products.

Products include Mysql Mysql, Oracle Mysql.

How do I fix CVE-2009-4028?

Upgrade to a fixed version.

Is CVE-2009-4028 being exploited?

There is no known exploitation of CVE-2009-4028 in the wild and no public exploit code.

All Mysql Mysql vulnerabilities

Sources

Also known as GHSA-7mf2-7qv8-9w8f.

Is CVE-2009-4028 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free