Bug #31407

Task #49162: Rewrite install tool

Admin user creation function uses hardcoded md5() for password

Added by Markus Klein over 9 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2011-10-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:

Description

The Install Tool function for creating an admin user uses hardcoded md5() for the associated password.
This does not work together with rsaauth/saltedpasswords.

typo3/sysext/install/mod/tx_install.php, line 6082:

$insertFields = array(
    'username' => $username,
    'password' => md5($pass),
    'admin' => 1,
    'uc' => '',
    'fileoper_perms' => 0,
    'tstamp' => $GLOBALS['EXEC_TIME'],
    'crdate' => $GLOBALS['EXEC_TIME']
);


Related issues

Related to TYPO3 Core - Bug #31397: Check for default password of admin account no longer works in status reports moduleClosedFrancois Suter2011-10-29

Actions
Related to TYPO3 Core - Feature #50612: Create BE-user in installation wizard (123 step) with a salted passwordClosedNicole Cordes2013-08-26

Actions
Has duplicate TYPO3 Core - Bug #39350: Create a admin user with hashed password in Install ToolClosedHelmut Hummel2012-07-28

Actions
#1

Updated by Xavier Perseguers over 9 years ago

  • Target version changed from 4.6.1 to 4.6.2
#2

Updated by Mario Rimann over 9 years ago

What's the proposed change to get this solved?

#3

Updated by Xavier Perseguers over 9 years ago

  • Target version deleted (4.6.2)
#4

Updated by Markus Klein over 9 years ago

I guess we need to access saltedpasswords somehow.

#5

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22676

#6

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/22676

#7

Updated by Wouter Wolters almost 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#8

Updated by Christian Kuhn almost 8 years ago

  • Parent task set to #49162
#9

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF