<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Strange behaviour with JSESSIONID creating Session Fixation issue in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42989#M17803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After adding an OOTB evaluator&amp;nbsp;&lt;STRONG&gt;group.module.evaluator&amp;nbsp;&lt;/STRONG&gt;in my &lt;A href="https://pastebin.com/fB6Y4BPr" rel="nofollow noopener noreferrer"&gt;extension module&lt;/A&gt; for hiding &lt;STRONG&gt;Create Site&lt;/STRONG&gt; option for non admin user, which BTW works fine, I can see that there is a change in the way JSESSIONID is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In normal standalone share project&amp;nbsp;&lt;SPAN&gt;JSESSIONID is created when the user logs in and refreshes on every login but after adding the above evaluator I can see the&amp;nbsp;&lt;SPAN&gt;JSESSIONID is getting created the moment I hit the login page and it stays there even after the login but refreshes on every logout.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I did some digging into the Alfresco code for the evaluator bean and found out that&amp;nbsp;&lt;STRONG&gt;isMemberOfGroups&amp;nbsp;&lt;/STRONG&gt;method of the&amp;nbsp;&lt;STRONG&gt;SlingshotEvaluatorUtil&amp;nbsp;&lt;/STRONG&gt;class called from the &lt;STRONG&gt;SlingshotGroupModuleEvaluator&amp;nbsp;&lt;/STRONG&gt;class&amp;nbsp;creates a session for storing the&amp;nbsp;GROUP membership in the session.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Now this behaviour&amp;nbsp;creates a &lt;A href="https://www.owasp.org/index.php/Session_fixation" rel="nofollow noopener noreferrer"&gt;Session Fixation&lt;/A&gt; issue&amp;nbsp;&lt;SPAN style="color: #252525; background-color: #ffffff; font-size: 14px;"&gt;that permits an attacker to hijack a valid user session.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #252525; font-size: 14px;"&gt;Can anyone please suggest what can be done here ??&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #252525; font-size: 14px;"&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #252525; font-size: 14px;"&gt;Hiten Rastogi&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2018 10:21:58 GMT</pubDate>
    <dc:creator>hiten_rastogi1</dc:creator>
    <dc:date>2018-05-10T10:21:58Z</dc:date>
    <item>
      <title>Strange behaviour with JSESSIONID creating Session Fixation issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42989#M17803</link>
      <description>Hi,After adding an OOTB evaluator&amp;nbsp;group.module.evaluator&amp;nbsp;in my extension module for hiding Create Site option for non admin user, which BTW works fine, I can see that there is a change in the way JSESSIONID is created.In normal standalone share project&amp;nbsp;JSESSIONID is created when the user logs in and</description>
      <pubDate>Thu, 10 May 2018 10:21:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42989#M17803</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2018-05-10T10:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour with JSESSIONID creating Session Fixation issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42990#M17804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create an issue in the Alfresco JIRA and maybe even a pull request on the Alfresco Surf project to make the login controller always create a new session as part of the login (currently it only creates a new session if the old session contains a specific attribute to denote an already authenticated user).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:24:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42990#M17804</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-11T08:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour with JSESSIONID creating Session Fixation issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42991#M17805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://issues.alfresco.com/jira/browse/AIF-430" title="https://issues.alfresco.com/jira/browse/AIF-430" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/AIF-430&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:40:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42991#M17805</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2018-05-11T08:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Strange behaviour with JSESSIONID creating Session Fixation issue</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42992#M17806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NEVER create an issue in any project other then ALF unless you are absolutely sure it is the right one. The project you have chosen&amp;nbsp;has nothing to do with Share...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 15:25:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/strange-behaviour-with-jsessionid-creating-session-fixation/m-p/42992#M17806</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-11T15:25:49Z</dc:date>
    </item>
  </channel>
</rss>

