Actions
Feature #21697
open
Set secure flag of the session cookie depending on original request
Feature #21697:
Set secure flag of the session cookie depending on original request
Status:
Reopened
Priority:
Normal
Assignee:
-
Category:
Security
Target version:
-
Resolution:
Description
The default configuration of redmine sends session cookie open for any connection type. This allows an attacker to steal the session cookie and access one's redmine session.
It is possible to secure the cookie by changing the option in application.rb file.
But this will prevent users from accessing system via plain HTTP protocol in local network.
Let Redmine set secure cookie flag depending on request scheme and X-Forwarded-Proto HTTP-header.
Files
Actions