CVE-2006-4227 Privilege escalation in n/a

Medium 6.5 Published Updated

Remote authenticated users can gain privileges by exploiting how MySQL evaluates arguments in stored routines, allowing execution in the definer's security context.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2006-4227?

CVE-2006-4227 is a medium-severity vulnerability in Mysql Mysql, published on 18 Aug 2006. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

MySQL before 5.0.25 and 5.1 before 5.1.12 evaluates arguments of suid routines in the security context of the routine's definer instead of the routine's caller, which allows remote authenticated users to gain privileges through a routine that has been made available using GRANT EXECUTE.

Weakness: CWE-20

Which versions are affected by CVE-2006-4227?

It affects 2 products.

Products include Mysql Mysql, Oracle Mysql.

How do I fix CVE-2006-4227?

Upgrade to a fixed version.

Is CVE-2006-4227 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-4227 exists.

Public exploit code: 1 Exploit-DB entry.

All Mysql Mysql vulnerabilities

Sources

Also known as GHSA-pq6p-m3qv-7m6j.

Is CVE-2006-4227 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free