|
Joomla! "token" Password Change Vulnerability |
|
|
|
|
Written by Staff
|
|
Wednesday, 13 August 2008 |
- Project: Joomla!
- SubProject: com_user
- Severity: Critical
- Versions: 1.5.5 and all previous 1.5 releases
- Exploit type: Password Reset Forgery
- Reported Date: 2008-August-12
- Fixed Date: 2008-August-12
Description
A flaw in the reset token validation mechanism allows for non-validating tokens to be forged.
This will allow an unauthenticated, unauthorized user to reset the password of the first
enabled user (lowest id). Typically, this is an administrator user. Note, that changing the
first users username may lessen the impact of this exploit (since the person who changed the
password does not know the login associated with the new password). However, the only way to
completely rectify the issue is to upgrade to 1.5.6 (or patch the
/components/com_user/models/reset.php file)...
Affected Installs
All 1.5.x installs prior to and including 1.5.5 are affected.
Solution
Upgrade to latest Joomla! version (1.5.6 or newer), or patch
/components/com_user/models/reset.php with the code below:
After global $mainframe; on line 113 of reset.php, add:
if(strlen($token) != 32) {
$this->setError(JText::_('INVALID_TOKEN'));
return false;
}
Reported By
Joomla! Bug Squad Member Marijke Stuivenberg.
Contact
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
Original Article
POC by d3m0n
|
 |  hecker Written by Guest on 2008-08-17 07:29:12
   Re: hecker Written by Guest on 2008-08-25 23:26:35 |
Powered by a Zone-H(ified) version of AkoComment 3.0! DISCLAIMER: Forum postings are the opinion of the posting author alone, and should not be taken as the opinion of Zone-h. The author is entirely and solely responsible for all content that he/she uploads, posts, or otherwise transmits via the website. Zone-h is not responsible for such content. However, Zone-h shall have the right, but not the obligation, to delete, move, or edit any content that violates this agreement or is otherwise objectionable as determined by Zone-h in its sole discretion and without notice. |