Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 0.9.793
-
Fix Version/s: None
-
Component/s: Model
-
Labels:None
-
keywords:security
-
Development Priority:Medium
-
Similar issues:
XWIKI-582 Automatic password update when changing the storage type XWIKI-433A means to get password should be implemented XWIKI-3719 Cache the database name in the Hibernate-based storage XWIKI-2727Html Cleaner is not thread safe XWIKI-2728DefaultObservationManager is not thread safe XWIKI-2941Extend XMLRPC API with methods: getModifiedPagesHistory, safe storePage and safe storeObject XWIKI-5433Change SMTP password property from String to Password XWIKI-1982 Attachments should be removed from the document in the document class, not in storage XWIKI-7139Changing password form fills the current password field
Description
Since XWiki uses a simple/single view on all the data, password fields cannot be treated in a special way, so they cannot be excluded from search queries, scripted data access, or search engine indexing. Thus, the passwords should be stored in such a manner that the stored value cannot be used in any way, like the values from /etc/shadow cannot be used.
So, this meas that password fields should be stored as:
- plain text (no security)
- hash (safe, but cannot be reversed) with an optional salt
- encrypted (safe, as long as the encryption key is safe) with an optional salt
| 1. | Implement CRYPT password mechanism | |
|
Unassigned | |
| 2. | Automatic password update when changing the storage type | |
|
Sergiu Dumitriu | |
| 3. | Add support for 'salting' passwords | |
|
Unassigned |
Indeed.. thanks for reporting this issue. Fix will not be easy because I thing we will need to move password to a different table.