Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Session Cookie issue

Started by Benoît Barnéoud 7 years ago · 0 replies · 703 views
7 years ago

Hello!

We are working on a Grav CMS based web site for one of our client. The client IT has run pentests on our website before allowing it to be live. Unfortunately, our website didn’t successfully passed the pentests because mainly of a GRAV session fixation issue : « The application differentiates users by issuing a session cookie with a unique value. Unfortunately, the application does not issue a new session cookie and value to the user after a successful login. Instead, the user is forced to use the (old) session cookie issued before authentication. » The IT recommandation is to « invalidate any already existing session cookie when a user has logged-in. Further, make sure a new session cookie is assigned to the user after a successful authentication attempt is made in order to avoid session fixation attacks. ».

Is there any mean to correct the issue without hacking GRAV core? Indeed, we don’t want to loose further updates.

Thank you for your help!

Benoît

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 228 11 hours ago
Support · by alex, 2 months ago
8 667 1 day ago
Support · by Supple, 5 days ago
1 98 2 days ago
Support · by TomW, 1 week ago
3 160 3 days ago
Support · by TomW, 6 days ago
2 106 6 days ago