-
Notifications
You must be signed in to change notification settings - Fork 240
Mon 3204 enable session cookie strict mode #7892
Conversation
Co-Authored-By: Matthieu Kermagoret <mkermagoret@centreon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO the security fix about session fixation should also be applied within www/include/views/graphs/generateGraphs/generateImage.php
* fix(secu): enable session cookie strict mode * fix(secu): destroy session cookie at logout * enh(BE): correct variable name * enh(BE): correct variable name and optim condition * enh(BE): correct variable name * enh(secu): remove all saved session of the disconnected user * restore multi users current session management * enh(BE): moving the session parameters in the php.ini * fix(secu): regenerate session id after login * enh(BE): remove the forced deletion of the cookie * fix(secu): session fixation for the image generation autologin process * fix(secu): activate the delete_old_sid param
* fix(secu): enable session cookie strict mode * fix(secu): destroy session cookie at logout * enh(BE): correct variable name * enh(BE): correct variable name and optim condition * enh(BE): correct variable name * enh(secu): remove all saved session of the disconnected user * restore multi users current session management * enh(BE): moving the session parameters in the php.ini * fix(secu): regenerate session id after login * enh(BE): remove the forced deletion of the cookie * fix(secu): session fixation for the image generation autologin process * fix(secu): activate the delete_old_sid param
this pull break my app Droideon because of regenerations of cookies |
Hi @jeromedevel , As you can see in the Owasp resources : https://cheatsheetseries.owasp.org/cheatsheets/Session_Management_Cheat_Sheet.html ; If you need help to fix your application, you need to help us understand how and when, your app is using the sessionId. Regards |
Pull Request Template
Description
Securing the PHPSESSID cookie from hijack or modifications using the session.strict_mode in the php.ini (these modifications have been removed from current PR; and already merged on centreon-build to be deployed with the next RPMs).
Regenerating the session_id() value after the login and after the logout
Minor typo and variable naming corrections
Fixes # (none)
Type of change
Target serie
How this pull request can be tested ?
Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.
-> Please contact me
Checklist
Community contributors & Centreon team
Centreon team only