View Issue Details

IDProjectCategoryView StatusLast Update
0000511Composr[All Projects] General / Uncategorisedpublic2012-05-27 12:59
ReporterChris GrahamAssigned ToChris Graham 
SeverityMinor-bug 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0000511: Reduce chance of brute force attacks against session generation
DescriptionSessions are generated using mt_rand, seeded via a combination of uniqid and microtime. Some juggling is done, but the only dominant factor is microtime. That means in theory the number of guesses to guess a session are reduced. It is still a huge number, and IP address restriction is in place, but it is better we lay on additional defences here.

So, use openssl_random_pseudo_bytes if it is available.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Chris Graham

2012-05-27 12:59

administrator   ~0000541

Fixed in git commit 4064eae (https://github.com/chrisgraham/Composr/commit/4064eae)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported.

hotfix-511, 2012-05-27 1pm.tar (153,600 bytes)

Chris Graham

2012-05-27 14:14

administrator   ~0000543

Automated response: openssl_random_pseudo_bytes slow on windows

Have to not run openssl_random_pseudo_bytes on Windows unfortunately - define special case.

Chris Graham

2012-05-27 14:14

administrator   ~0000544

Fixed in git commit 9dd7eb3 (https://github.com/chrisgraham/Composr/commit/9dd7eb3)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported.

hotfix-511, 2012-05-27 3pm.tar (71,680 bytes)

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised