View Issue Details

IDProjectCategoryView StatusLast Update
0004057SOGoWeb Preferencespublic2017-03-01 16:33
Reportermdt69 Assigned Toludovic  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Platform[Server] LinuxOSDebianOS Version8 (Jessie)
Product Version3.2.7 
Summary0004057: Malfunctioning while changing password from Web UI
Description

I'm using SOGo version 3.2.7.20170225-1 with MySQL back-end. It seems that when I change the password from within the preferences in the web UI only the first 8 characters of the new password are considered. In fact if I try to login with the first 8 characters of the new password the system let me in. Is this behavior by design ? If this behavior is by design, the system should not accept more than 8 characters.

If I change the password using an external tool like postfixadmin, the system let me in only if I enter the complete password

Steps To Reproduce

1) Change the password with a new one being longer than 8 characters
2) Try to login with the first 8 characters of the password

TagsNo tags attached.

Activities

mdt69

mdt69

2017-02-27 15:51

reporter   ~0011385

It seems that this problem happens only when userPasswordAlgorithm is set to "crypt". When using md5-crypt everything seems to be fine

ludovic

ludovic

2017-03-01 16:33

reporter   ~0011400

The old crypt() function, which is used when userPasswordAlgorithm is set to "crypt" will always use only the first 8 characters of a password.

Use an alternate userPasswordAlgorithm if you want more security.

Issue History

Date Modified Username Field Change
2017-02-27 15:23 mdt69 New Issue
2017-02-27 15:51 mdt69 Note Added: 0011385
2017-03-01 16:33 ludovic Note Added: 0011400
2017-03-01 16:33 ludovic Status new => closed
2017-03-01 16:33 ludovic Assigned To => ludovic
2017-03-01 16:33 ludovic Resolution open => no change required