← Vulnerability feed

Vulnerability record · CVE-2008-4106 · published 18 September 2008

CVE-2008-4106: Wordpress improper input validation vulnerability

Wordpress · Wordpress

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.

5.1 CVSS 2.0 Medium EPSS 5.5% · top 7.5% CWE-20 · Improper input validation
5.1CVSS 2.0 base score
5.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
34References
16 Jun 2026Last modified by NVD

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.

AV:N/AC:H/Au:N/C:P/I:P/A:P

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://marc.info/?l=oss-security&m=122152830017099&w=2
http://secunia.com/advisories/31737
http://secunia.com/advisories/31870 Vendor Advisory
http://securityreason.com/securityalert/4272
http://securitytracker.com/id?1020869
http://wordpress.org/development/2008/09/wordpress-262/ Patch
http://www.debian.org/security/2009/dsa-1871
http://www.openwall.com/lists/oss-security/2008/09/11/6
http://www.securityfocus.com/archive/1/496287/100/0/threaded
http://www.securityfocus.com/bid/31068
http://www.sektioneins.de/advisories/SE-2008-05.txt
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
https://www.exploit-db.com/exploits/6421
https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00607.html
https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00629.html
http://marc.info/?l=oss-security&m=122152830017099&w=2
http://secunia.com/advisories/31737
http://secunia.com/advisories/31870 Vendor Advisory
http://securityreason.com/securityalert/4272
http://securitytracker.com/id?1020869
http://wordpress.org/development/2008/09/wordpress-262/ Patch
http://www.debian.org/security/2009/dsa-1871
http://www.openwall.com/lists/oss-security/2008/09/11/6
http://www.securityfocus.com/archive/1/496287/100/0/threaded
http://www.securityfocus.com/bid/31068
http://www.sektioneins.de/advisories/SE-2008-05.txt
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
https://www.exploit-db.com/exploits/6421
https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00607.html
https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00629.html

Track CVE-2008-4106 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-63030WordPress REST API route confusion leads to SQL injection and RCEWordPress 6.9.x before 6.9.5 and 7.0.x before 7.0.2 contain a REST API batch endpoint route confusion flaw (CWE-436). Chained with the author__not_in…KEVEPSS 10%analysed9.8CVE-2016-10033PHPMailer isMail mailSend argument injection enables remote code executionPHPMailer before 5.2.18 fails to properly sanitize the Sender property in the mailSend function of the isMail transport, allowing a crafted backslash…KEVEPSS 100%analysed8.1CVE-2026-87902Wordpress php remote file inclusion vulnerabilityAn unauthenticated attacker can make `get_page_template()` page-template resolution include a chosen readable local `.php` file outside the active th…KEVEPSS 18%5.9CVE-2026-60137WordPress WP_Query author__not_in SQL injectionWordPress core fails to properly sanitise the author__not_in parameter of WP_Query in versions before 6.8.6, 6.9.5 and 7.0.2, allowing SQL injection …KEVEPSS 5.9%analysed10.0CVE-2012-2399Wordpress vulnerabilityCross-site scripting (XSS) vulnerability in swfupload.swf in SWFupload 2.2.0.1 and earlier, as used in WordPress before 3.5.2, TinyMCE Image Manager …EPSS 8.6%10.0CVE-2012-2400Wordpress vulnerabilityUnspecified vulnerability in wp-includes/js/swfobject.js in WordPress before 3.3.2 has unknown impact and attack vectors.EPSS 3.0%10.0CVE-2011-3125Wordpress vulnerabilityUnspecified vulnerability in WordPress 3.1 before 3.1.3 and 3.2 before Beta 2 has unknown impact and attack vectors related to "Various security hard…EPSS 2.4%10.0CVE-2011-3122Wordpress vulnerabilityUnspecified vulnerability in WordPress 3.1 before 3.1.3 and 3.2 before Beta 2 has unknown impact and attack vectors related to "Media security."EPSS 2.6%

Source: NIST National Vulnerability Database (record CVE-2008-4106), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.