CVE-2008-4106

WordPress < 2.6.2 - Unauthenticated Password Reset via SQL Column Truncation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2008-4106. PoCs published by iso^kpsbr, irk4z.

AI-analyzed exploit summary This exploit targets a vulnerability in WordPress 2.6.1 to take over the admin account by abusing the password reset mechanism and predicting the random seed used for password generation. It registers a new admin user, triggers a password reset, and brute-forces the seed to compute the new password.

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.

Exploits (2)

exploitdb WORKING POC VERIFIED
by iso^kpsbr · phpwebappsphp
https://www.exploit-db.com/exploits/6421

This exploit targets a vulnerability in WordPress 2.6.1 to take over the admin account by abusing the password reset mechanism and predicting the random seed used for password generation. It registers a new admin user, triggers a password reset, and brute-forces the seed to compute the new password.

Classification
Working Poc 95%
Attack Type
Auth Bypass
Complexity
Complex
Reliability
Racy
Target: WordPress 2.6.1
No auth needed
Prerequisites: Access to the target WordPress installation · Identical or compatible PHP version for seed prediction · Rainbow tables for faster seed lookup (optional)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by irk4z · textwebappsphp
https://www.exploit-db.com/exploits/6397

This exploit leverages SQL column truncation in WordPress 2.6.1 to create a duplicate admin account by registering a username with trailing spaces, allowing password reset via the lost password feature.

Classification
Working Poc 90%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: WordPress 2.6.1
No auth needed
Prerequisites: Registration enabled on the WordPress site
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (17)

Core 17
Core References
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31737
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/6421
Mailing List mailing-list x_refsource_mlist
http://marc.info/?l=oss-security&m=122152830017099&w=2
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/2553
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/6397
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2009/dsa-1871
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2008/09/11/6
Various Sources x_refsource_misc
http://www.sektioneins.de/advisories/SE-2008-05.txt
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/4272
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/31068
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/31870
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/496287/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://securitytracker.com/id?1020869

Scores

EPSS 0.0548
EPSS Percentile 91.7%

Details

CWE
CWE-20
Status published
Products (34)
wordpress/wordpress 0.71-gold
wordpress/wordpress 1.0-platinum
wordpress/wordpress 1.0.1-miles
wordpress/wordpress 1.0.2-blakey
wordpress/wordpress 1.2-delta
wordpress/wordpress 1.2-mingus
wordpress/wordpress 1.2.1
wordpress/wordpress 1.2.2
wordpress/wordpress 1.5-strayhorn
wordpress/wordpress 1.5.1.1
... and 24 more
Published Sep 18, 2008
Tracked Since Feb 18, 2026