View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
5895 | Composr | core_cns | public | 2024-08-17 03:53 | 2024-08-17 03:53 |
Reporter | PDStig | Assigned To | PDStig | ||
Priority | high | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Product Version | 11.beta1 | ||||
Summary | 5895: Hash and salt the member_hash value in the database like we do passwords | ||||
Description | The value of the member_hash cookie was getting stored in the database in plain-text format. This is not ideal in the event of a database leak as these cookies last a long time. Treat this like we would a password, so Bcrypt and salt it in the database, and verify against the stored hash. | ||||
Tags | Roadmap: v11, Type: Security | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Fixed in Git commit 5bd005f7ed (https://gitlab.com/composr-foundation/composr/commit/5bd005f7ed - link will become active once code pushed to GitLab) |
|
A hotfix (a TAR of files to upload) has been uploaded to this issue. Only apply this hotfix if you absolutely need it and cannot wait until the next release of Composr (releases are more reliable and strictly tested). As of Composr version 11, the recommended way to apply a hotfix is by following the same steps as an upgrade (https://baseurl/upgrader.php, use the hotfix on the step “Transfer across new/updated files”). The upgrader will automatically skip files belonging to addons you do not have installed or that are newer on disk than in the hotfix. Otherwise, you can manually extract and replace these files (do not replace if your on-disk file is newer than the one in the hotfix). Always take backups of your site or at least files you are replacing before applying a hotfix. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/). |