← Vulnerability feed

Vulnerability record · CVE-2007-6303 · published 10 December 2007

CVE-2007-6303: Mysql vulnerability

Mysql · Mysql

MySQL 5.0.x before 5.0.51a, 5.1.x before 5.1.23, and 6.0.x before 6.0.4 does not update the DEFINER value of a view when the view is altered, which allows remote authenticated users to gain privileges via a sequence of statements including a CREATE SQL SECURITY DEFINER VIEW statement and an ALTER VIEW statement.

3.5 CVSS 2.0 Low EPSS 2.2% · top 16.6%
3.5CVSS 2.0 base score
2.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
50References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

MySQL 5.0.x before 5.0.51a, 5.1.x before 5.1.23, and 6.0.x before 6.0.4 does not update the DEFINER value of a view when the view is altered, which allows remote authenticated users to gain privileges via a sequence of statements including a CREATE SQL SECURITY DEFINER VIEW statement and an ALTER VIEW statement.

AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://bugs.mysql.com/bug.php?id=29908 Exploit
http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-52.html
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-23.html
http://dev.mysql.com/doc/refman/6.0/en/news-6-0-4.html
http://lists.mysql.com/announce/502
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
http://secunia.com/advisories/28025 Vendor Advisory
http://secunia.com/advisories/28063 Vendor Advisory
http://secunia.com/advisories/28739
http://secunia.com/advisories/28838 Vendor Advisory
http://secunia.com/advisories/29443 Vendor Advisory
http://secunia.com/advisories/29706 Vendor Advisory
http://security.gentoo.org/glsa/glsa-200804-04.xml
http://securitytracker.com/id?1019085
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0040
http://www.mandriva.com/security/advisories?name=MDVSA-2008:017
http://www.redhat.com/support/errata/RHSA-2007-1157.html Vendor Advisory
http://www.securityfocus.com/archive/1/487606/100/0/threaded
http://www.securityfocus.com/bid/26832
http://www.ubuntu.com/usn/usn-588-1
http://www.vupen.com/english/advisories/2007/4198 Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/38989
https://issues.rpath.com/browse/RPL-2187
https://www.redhat.com/archives/fedora-package-announce/2007-December/msg00467.html
https://www.redhat.com/archives/fedora-package-announce/2007-December/msg00475.html
http://bugs.mysql.com/bug.php?id=29908 Exploit
http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-52.html
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-23.html
http://dev.mysql.com/doc/refman/6.0/en/news-6-0-4.html
http://lists.mysql.com/announce/502
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
http://secunia.com/advisories/28025 Vendor Advisory
http://secunia.com/advisories/28063 Vendor Advisory
http://secunia.com/advisories/28739
http://secunia.com/advisories/28838 Vendor Advisory
http://secunia.com/advisories/29443 Vendor Advisory
http://secunia.com/advisories/29706 Vendor Advisory
http://security.gentoo.org/glsa/glsa-200804-04.xml
http://securitytracker.com/id?1019085
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0040

Track CVE-2007-6303 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2004-0627MySQL authentication bypass via zero-length scrambled stringThe check_scramble_323 function in MySQL 4.1.x before 4.1.3 and 5.0 fails to properly validate a zero-length scrambled authentication string, allowin…EPSS 70%analysed10.0CVE-2004-0628Mysql vulnerabilityStack-based buffer overflow in MySQL 4.1.x before 4.1.3, and 5.0, allows remote attackers to cause a denial of service (crash) and possibly execute a…EPSS 7.8%10.0CVE-2004-0836Oracle mysql memory buffer overflow vulnerabilityBuffer overflow in the mysql_real_connect function in MySQL 4.x before 4.0.21, and 3.x before 3.23.49, allows remote DNS servers to cause a denial of…EPSS 9.5%9.0CVE-2003-0780MySQL get_salt_from_password buffer overflow allows code executionMySQL 4.0.14 and earlier, plus 3.23.x, contain a buffer overflow in get_salt_from_password in sql_acl.cc. An attacker with ALTER TABLE privileges can…EPSS 79%analysed9.0CVE-2003-0150MySQL world-writeable files allow privilege escalation to rootMySQL 3.23.55 and earlier creates world-writeable files and lets mysql users overwrite configuration files via the SELECT ... INTO OUTFILE operator. …EPSS 47%analysed8.5CVE-2009-2446Mysql vulnerabilityMultiple format string vulnerabilities in the dispatch_command function in libmysqld/sql_parse.cc in mysqld in MySQL 4.0.0 through 5.0.83 allow remot…EPSS 11%8.5CVE-2005-2572Oracle mysql vulnerabilityMySQL, when running on Windows, allows remote authenticated users with insert privileges on the mysql.func table to cause a denial of service (server…EPSS 4.7%7.8CVE-2002-0969Oracle mysql classic buffer overflow vulnerabilityBuffer overflow in MySQL daemon (mysqld) before 3.23.50, and 4.0 beta before 4.02, on the Win32 platform, allows local users to execute arbitrary cod…EPSS 1.4%

Source: NIST National Vulnerability Database (record CVE-2007-6303), CISA KEV, FIRST EPSS (scores of 2026-11-27). This page is refreshed as NVD updates the record.