#708 - Increase complexity of session IDs

Identifier #708
Issue type Feature request or suggestion
Title Increase complexity of session IDs
Status Completed
Handling member Chris Graham
Addon core
Description If someone disables the "Enforce IP addresses for sessions" option, then a brute-force hack-attack (executing within a timeframe of an admin having been active) could steal the admin login.

The brute-force would need to last roughly 11-days (if 10 requests per second): (10^7)/(10*3600*24)
The default session expiry time is significantly less than this.

The following conjunction of events would make a site vulnerable:
- A hacker attacking a site
- Run by someone who wasn't noticing the ramp-up in (suspicious) hits
- Run by someone who'd disabled the "Enforce IP addresses for sessions" option
- A persistent attack lasting months (multiples of 11-days, hoping for an overlap between guessing a session ID and that session ID having not yet expired)

If we increase the session ID complexity we can reduce the likelihood of a guess significantly.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated