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 |
Activity
Ludovic Dubost
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.0 RC1 [ 10001 ] |
jeremi Joslin
made changes -
| Assignee | Ludovic Dubost [ ludovic ] | Unassigned Task [ unasssigned ] |
jeremi Joslin
made changes -
| Description |
if you search, the user having your search string as password is displayed in the search result. |
if you search, the user having your search string as password is displayed in the search result. |
| Component/s | Core [ 10116 ] | |
| Environment |
jeremi Joslin
made changes -
| Fix Version/s | 1.0 B2 [ 10081 ] | |
| Fix Version/s | 1.0 RC1 [ 10001 ] |
Sergiu Dumitriu
made changes -
| Attachment | PasswordCrypt.patch [ 10490 ] |
Sergiu Dumitriu
made changes -
| Attachment | crypt.groovy [ 10491 ] |
Vincent Massol
made changes -
| Workflow | jira [ 10114 ] | No Resolved state workflow [ 13267 ] |
Vincent Massol
made changes -
| Workflow | jira [ 13267 ] | No Resolved state workflow [ 13650 ] |
Sergiu Dumitriu
made changes -
| Assignee | Unassigned Task [ unasssigned ] | Sergiu Dumitriu [ sdumitriu ] |
Sergiu Dumitriu
made changes -
| Fix Version/s | 1.0 B3 [ 10001 ] | |
| Fix Version/s | 1.0 B2 [ 10081 ] |
Vincent Massol
made changes -
| Fix Version/s | 1.0 B4 [ 10174 ] | |
| Fix Version/s | 1.0 B3 [ 10001 ] |
Vincent Massol
made changes -
| Fix Version/s | 1.1 [ 10013 ] | |
| Fix Version/s | 1.0 B4 [ 10174 ] |
Sergiu Dumitriu
made changes -
| keywords | security |
Vincent Massol
made changes -
| Fix Version/s | Future [ 10210 ] | |
| Fix Version/s | 1.1 [ 10013 ] |
Vincent Massol
made changes -
| Workflow | No Resolved state workflow [ 13650 ] | XWiki Workflow [ 15531 ] |
Vincent Massol
made changes -
| Summary | password can be searched | Passwords can be searched |
Vincent Massol
made changes -
| Development Priority | Medium |
Sergiu Dumitriu
made changes -
| Summary | Passwords can be searched | Safe password storage |
| Description |
if you search, the user having your search string as password is displayed in the search result. |
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 |
Vincent Massol
made changes -
| Component/s | Model [ 11198 ] | |
| Component/s | {Unused} Core [ 10116 ] |
Vincent Massol
made changes -
| Fix Version/s | Future [ 10210 ] |
Indeed.. thanks for reporting this issue. Fix will not be easy because I thing we will need to move password to a different table.