SQL Injection in MySQL

CVE-2009-5026

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.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v2 metric

CVSS v2 base score 6.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.078, 94.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • MySQL — versions 5.0.0, 5.0.1, 5.0.2
  • Oracle MySQL — versions 5.0.23, 5.0.41, 5.0.45

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 12 other repositories (ARPSyndicate/cvemon, DButter/whitehat_public, Dokukin1/Metasploitable, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References