CVE-2009-5026
Summary
| CVE | CVE-2009-5026 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-08-17 00:55:01 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| Description | The executable comment feature in MySQL 5.0.x before 5.0.93 and 5.1.x before 5.1.50, when running in certain slave configurations in which the slave is running a newer version than the master, allows remote attackers to execute arbitrary SQL commands via custom comments. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mysql | Mysql | 5.0.0 | All | All | All |
| Application | Mysql | Mysql | 5.0.1 | All | All | All |
| Application | Mysql | Mysql | 5.0.10 | All | All | All |
| Application | Mysql | Mysql | 5.0.15 | All | All | All |
| Application | Mysql | Mysql | 5.0.16 | All | All | All |
| Application | Mysql | Mysql | 5.0.17 | All | All | All |
| Application | Mysql | Mysql | 5.0.2 | All | All | All |
| Application | Mysql | Mysql | 5.0.20 | All | All | All |
| Application | Mysql | Mysql | 5.0.24 | All | All | All |
| Application | Mysql | Mysql | 5.0.3 | All | All | All |
| Application | Mysql | Mysql | 5.0.4 | All | All | All |
| Application | Mysql | Mysql | 5.0.45 | b | All | All |
| Application | Mysql | Mysql | 5.0.5 | All | All | All |
| Application | Mysql | Mysql | 5.0.82 | All | All | All |
| Application | Mysql | Mysql | 5.0.84 | All | All | All |
| Application | Mysql | Mysql | 5.0.87 | All | All | All |
| Application | Mysql | Mysql | 5.1.23 | All | All | All |
| Application | Mysql | Mysql | 5.1.31 | All | All | All |
| Application | Mysql | Mysql | 5.1.32 | All | All | All |
| Application | Mysql | Mysql | 5.1.34 | All | All | All |
| Application | Mysql | Mysql | 5.1.37 | All | All | All |
| Application | Oracle | Mysql | 5.0.23 | All | All | All |
| Application | Oracle | Mysql | 5.0.41 | All | All | All |
| Application | Oracle | Mysql | 5.0.45 | All | All | All |
| Application | Oracle | Mysql | 5.0.51 | All | All | All |
| Application | Oracle | Mysql | 5.0.67 | All | All | All |
| Application | Oracle | Mysql | 5.0.75 | All | All | All |
| Application | Oracle | Mysql | 5.0.77 | All | All | All |
| Application | Oracle | Mysql | 5.0.81 | All | All | All |
| Application | Oracle | Mysql | 5.0.83 | All | All | All |
| Application | Oracle | Mysql | 5.0.85 | All | All | All |
| Application | Oracle | Mysql | 5.0.86 | All | All | All |
| Application | Oracle | Mysql | 5.0.88 | All | All | All |
| Application | Oracle | Mysql | 5.0.89 | All | All | All |
| Application | Oracle | Mysql | 5.0.90 | All | All | All |
| Application | Oracle | Mysql | 5.0.91 | All | All | All |
| Application | Oracle | Mysql | 5.0.92 | All | All | All |
| Application | Oracle | Mysql | 5.1 | All | All | All |
| Application | Oracle | Mysql | 5.1.1 | All | All | All |
| Application | Oracle | Mysql | 5.1.10 | All | All | All |
| Application | Oracle | Mysql | 5.1.11 | All | All | All |
| Application | Oracle | Mysql | 5.1.12 | All | All | All |
| Application | Oracle | Mysql | 5.1.13 | All | All | All |
| Application | Oracle | Mysql | 5.1.14 | All | All | All |
| Application | Oracle | Mysql | 5.1.15 | All | All | All |
| Application | Oracle | Mysql | 5.1.16 | All | All | All |
| Application | Oracle | Mysql | 5.1.17 | All | All | All |
| Application | Oracle | Mysql | 5.1.18 | All | All | All |
| Application | Oracle | Mysql | 5.1.19 | All | All | All |
| Application | Oracle | Mysql | 5.1.2 | All | All | All |
| Application | Oracle | Mysql | 5.1.20 | All | All | All |
| Application | Oracle | Mysql | 5.1.21 | All | All | All |
| Application | Oracle | Mysql | 5.1.22 | All | All | All |
| Application | Oracle | Mysql | 5.1.23 | a | All | All |
| Application | Oracle | Mysql | 5.1.24 | All | All | All |
| Application | Oracle | Mysql | 5.1.25 | All | All | All |
| Application | Oracle | Mysql | 5.1.26 | All | All | All |
| Application | Oracle | Mysql | 5.1.27 | All | All | All |
| Application | Oracle | Mysql | 5.1.28 | All | All | All |
| Application | Oracle | Mysql | 5.1.29 | All | All | All |
| Application | Oracle | Mysql | 5.1.3 | All | All | All |
| Application | Oracle | Mysql | 5.1.30 | All | All | All |
| Application | Oracle | Mysql | 5.1.31 | sp1 | All | All |
| Application | Oracle | Mysql | 5.1.33 | All | All | All |
| Application | Oracle | Mysql | 5.1.34 | sp1 | All | All |
| Application | Oracle | Mysql | 5.1.35 | All | All | All |
| Application | Oracle | Mysql | 5.1.36 | All | All | All |
| Application | Oracle | Mysql | 5.1.37 | sp1 | All | All |
| Application | Oracle | Mysql | 5.1.38 | All | All | All |
| Application | Oracle | Mysql | 5.1.39 | All | All | All |
| Application | Oracle | Mysql | 5.1.4 | All | All | All |
| Application | Oracle | Mysql | 5.1.40 | All | All | All |
| Application | Oracle | Mysql | 5.1.40 | sp1 | All | All |
| Application | Oracle | Mysql | 5.1.41 | All | All | All |
| Application | Oracle | Mysql | 5.1.42 | All | All | All |
| Application | Oracle | Mysql | 5.1.43 | All | All | All |
| Application | Oracle | Mysql | 5.1.43 | sp1 | All | All |
| Application | Oracle | Mysql | 5.1.44 | All | All | All |
| Application | Oracle | Mysql | 5.1.45 | All | All | All |
| Application | Oracle | Mysql | 5.1.46 | All | All | All |
| Application | Oracle | Mysql | 5.1.46 | sp1 | All | All |
| Application | Oracle | Mysql | 5.1.47 | All | All | All |
| Application | Oracle | Mysql | 5.1.48 | All | All | All |
| Application | Oracle | Mysql | 5.1.49 | All | All | All |
| Application | Oracle | Mysql | 5.1.49 | sp1 | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [security-announce] SUSE-SU-2012:0984-1: important: Security update for | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| MySQL :: MySQL 5.0 Reference Manual :: D.1.1 Changes in MySQL 5.0.93 (Not yet released) | af854a3a-2127-422b-91ae-364da2661108 | dev.mysql.com | |
| 640177 – (CVE-2009-5026) CVE-2009-5026 MySQL replication to slave executable comment execution | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Exploit |
| MySQL Bugs: #49124: Security issue with /*!-versioned */ SQL statements on Slave | af854a3a-2127-422b-91ae-364da2661108 | bugs.mysql.com | Exploit |
| Security Advisory SA49179 - SUSE update for mysql-cluster - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| oss-sec: Re: MySQL executable comment execution on MySQL slave server (from 2009) | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | |
| MySQL :: MySQL 5.1 Reference Manual :: C.1.1 Changes in MySQL 5.1.50 (Not yet released) | af854a3a-2127-422b-91ae-364da2661108 | dev.mysql.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.