CVE-2009-5026 SQL injection in n/a
Remote attackers can execute arbitrary SQL commands in MySQL slave configurations with version mismatches via executable comments.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2009-5026?
CVE-2009-5026 is a medium-severity SQL injection vulnerability in Mysql Mysql, published on 17 Aug 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2009-5026?
It affects 2 products.
Products include Mysql Mysql, Oracle Mysql.
How do I fix CVE-2009-5026?
No fix has been published for CVE-2009-5026 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2009-5026 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-5026 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Mysql Mysql
Sources
Also known as GHSA-rw88-9fhw-cqr5.