WordPress Core < 2.6.2 - Arbitrary User Password Reset

2008-09-08 00:00
Stefan Esser

Strategic Overview

Status
Patched in 2.6.2
Affected CoreWordPress 2.6
Affected Version<= 2.6.1
CVSS8.1High
CVECVE-2008-4106
View all WordPress 2.6 vulnerabilities

Vulnerability Overview

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.

Technical Analysis

REMEDIATION: Update to version 2.6.2, or a newer patched version --- IDENTIFIER: CWE-197 (Numeric Truncation Error) Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C