It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Persistent Cookies Vulnerability - Confluence Server 6.13.8

Hi All,

I've been banging my head against this one for a couple days now. We are running Confluence Server behind an Apache Reverse Proxy and require Security Scans to clear our applications for operation.

I have a 'Medium' level Vulnerability 'Cookie Security: Persistent Cookie' that is being flagged against the cookies 'confluence-language' & ''. This is caused by the Expiry/Max-Age directives in the Set-Cookie Header. I need to remove or alter these directives from the cookie to change these into Session Cookies rather than Persistent Cookies. I understand that these are not Authentication Cookies and just store language selections and most recently visited page however we are attempting to enforce best practices...

I have tried adding the following line to httpd.conf, however this doesn't seem to have any effect as the original Max-Age directive remains in the cookie Header:

"Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure"

Any suggestions would be much appreciated.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

67 views 3 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you