What’s Vulnerable › Vulnerabilities
CVE-2004-0835
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 22.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2004-11-03 · updated 2026-06-16
Description
MySQL 3.x before 3.23.59, 4.x before 4.0.19, 4.1.x before 4.1.2, and 5.x before 5.0.1, checks the CREATE/INSERT rights of the original table instead of the target table in an ALTER TABLE RENAME operation, which could allow attackers to conduct unauthorized activities.
Affected products
- Debian Linux: 3.0
- Mysql: from 4.1.0 through 4.1.2; from 5.0.0 through 5.0.1
- MySQL Server: from 3.20 (excl.) before 3.23.59; from 4.0.0 before 4.0.19 — fixed in 3.23.59, 4.0.19
How to fix
Upgrade to a fixed version: MySQL Server 3.23.59, 4.0.19. Check the vendor advisory for mitigations.
References
- http://bugs.mysql.com/bug.php?id=3270
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000892
- http://lists.mysql.com/internals/13073
- http://secunia.com/advisories/12783/
- http://securitytracker.com/id?1011606
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-101864-1
- http://www.ciac.org/ciac/bulletins/p-018.shtml
- http://www.debian.org/security/2004/dsa-562
- http://www.gentoo.org/security/en/glsa/glsa-200410-22.xml
- http://www.mysql.org/doc/refman/4.1/en/news-4-0-19.html
- http://www.mysql.org/doc/refman/4.1/en/news-4-1-2.html
- http://www.redhat.com/support/errata/RHSA-2004-597.html
Get alerted when CVE-2004-0835 or the next vulnerability affects your stack