CVE-2007-2691
mysql DROP privilege not enforced when renaming tables
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
MySQL before 4.1.23, 5.0.x before 5.0.42, and 5.1.x before 5.1.18 does not require the DROP privilege for RENAME TABLE statements, which allows remote authenticated users to rename arbitrary tables.
MySQL anterior a 4.1.23, 5.0.x anterior a 5.0.42, y 5.1.x anterior a 5.1.18 no requiere el privilegio DROP para sentencias RENAME TABLE, lo cual permite a usuarios autenticados remotamente renombrar tablas de su elección.
Neil Kettle discovered that MySQL could be made to dereference a NULL pointer and divide by zero. An authenticated user could exploit this with a crafted IF clause, leading to a denial of service. Victoria Reznichenko discovered that MySQL did not always require the DROP privilege. An authenticated user could exploit this via RENAME TABLE statements to rename arbitrary tables, possibly gaining additional database access. It was discovered that MySQL could be made to overflow a signed char during authentication. Remote attackers could use crafted authentication requests to cause a denial of service. Phil Anderton discovered that MySQL did not properly verify access privileges when accessing external tables. As a result, authenticated users could exploit this to obtain UPDATE privileges to external tables. In certain situations, when installing or upgrading mysql, there was no notification that the mysql root user password needed to be set. If the password was left unset, attackers would be able to obtain unrestricted access to mysql. This is now checked during mysql start-up.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2007-05-15 CVE Reserved
- 2007-05-16 CVE Published
- 2024-08-07 CVE Updated
- 2025-07-31 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
CAPEC
References (34)
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html | 2018-10-19 |
URL | Date | SRC |
---|---|---|
http://bugs.mysql.com/bug.php?id=27515 | 2018-10-19 | |
http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html | 2018-10-19 | |
http://lists.mysql.com/announce/470 | 2018-10-19 | |
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html | 2018-10-19 | |
http://www.debian.org/security/2007/dsa-1413 | 2018-10-19 | |
http://www.mandriva.com/security/advisories?name=MDKSA-2007:139 | 2018-10-19 | |
http://www.redhat.com/support/errata/RHSA-2007-0894.html | 2018-10-19 | |
http://www.redhat.com/support/errata/RHSA-2008-0364.html | 2018-10-19 | |
http://www.redhat.com/support/errata/RHSA-2008-0768.html | 2018-10-19 | |
https://usn.ubuntu.com/528-1 | 2018-10-19 | |
https://access.redhat.com/security/cve/CVE-2007-2691 | 2008-07-24 | |
https://bugzilla.redhat.com/show_bug.cgi?id=241688 | 2008-07-24 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Mysql Search vendor "Mysql" | Mysql Search vendor "Mysql" for product "Mysql" | <= 4.1.22 Search vendor "Mysql" for product "Mysql" and version " <= 4.1.22" | - |
Affected
| ||||||
Mysql Search vendor "Mysql" | Mysql Search vendor "Mysql" for product "Mysql" | >= 5.0 < 5.0.42 Search vendor "Mysql" for product "Mysql" and version " >= 5.0 < 5.0.42" | - |
Affected
| ||||||
Mysql Search vendor "Mysql" | Mysql Search vendor "Mysql" for product "Mysql" | >= 5.1 < 5.1.18 Search vendor "Mysql" for product "Mysql" and version " >= 5.1 < 5.1.18" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 3.1 Search vendor "Debian" for product "Debian Linux" and version "3.1" | - |
Affected
| ||||||
Debian Search vendor "Debian" | Debian Linux Search vendor "Debian" for product "Debian Linux" | 4.0 Search vendor "Debian" for product "Debian Linux" and version "4.0" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 6.06 Search vendor "Canonical" for product "Ubuntu Linux" and version "6.06" | lts |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 6.10 Search vendor "Canonical" for product "Ubuntu Linux" and version "6.10" | - |
Affected
| ||||||
Canonical Search vendor "Canonical" | Ubuntu Linux Search vendor "Canonical" for product "Ubuntu Linux" | 7.04 Search vendor "Canonical" for product "Ubuntu Linux" and version "7.04" | - |
Affected
|