<?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 [Resolved]Possible CSRF attack noted when comparing token in session and request header in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/resolved-possible-csrf-attack-noted-when-comparing-token-in/m-p/69044#M22829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;Do you know how to solve this case?&lt;/P&gt;&lt;P&gt;I'm using Alfresco Community Edition(201707), separately deployed Share on another machine.&lt;/P&gt;&lt;P&gt;And configured hostname in alfresco-global.properties&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;alfresco.context=alfresco&lt;BR /&gt;alfresco.host=alfresco&lt;BR /&gt;alfresco.port=8080&lt;BR /&gt;alfresco.protocol=http&lt;/P&gt;&lt;P&gt;share.context=share&lt;BR /&gt;share.host=docuplace.dreamintek.com&lt;BR /&gt;share.port=80&lt;BR /&gt;share.protocol=http&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And on client machine in hosts file I've set:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;192.168.37.100 alfresco&lt;BR /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;192.168.37.101&lt;/SPAN&gt;&amp;nbsp;docuplace.dreamintek.com dreamintek docuplace&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When use this url: &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/docuplace.dreamintek.com/share" rel="nofollow noopener noreferrer" target="_blank"&gt;http://docuplace.dreamintek.com/share&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and attempt to&amp;nbsp;create a folder, in Catalina.out I see below error.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[org.springframework.extensions.webscripts.servlet.CSRFFilter] [http-apr-8080-exec-5] Possible CSRF attack noted when comparing token in session and request header. Request: POST /share/proxy/alfresco/api/type/cm%3Afolder/formprocessor&lt;BR /&gt;2019-01-07 09:47:06,711 ERROR [org.alfresco.web.site] [http-apr-8080-exec-5] javax.servlet.ServletException: Possible CSRF attack noted when comparing token in session and request header. Request: POST /share/proxy/alfresco/api/type/cm%3Afolder/formprocessor&lt;/P&gt;&lt;P&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)&lt;BR /&gt; at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)&lt;BR /&gt; at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)&lt;BR /&gt; at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2549)&lt;BR /&gt; at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2538)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;BR /&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;BR /&gt; at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)&lt;BR /&gt; at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;P&gt;2019-01-07 09:47:06,711 ERROR [alfresco.web.site] [http-apr-8080-exec-5] javax.servlet.ServletException: Possible CSRF attack noted when comparing token in session and request header. Request: POST /share/proxy/alfresco/api/type/cm%3Afolder/formprocessor&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;However when I use this url: &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/http:" rel="nofollow noopener noreferrer" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;docuplace/share, there is no problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've search to figure it out, but I couldn't find similar issue.&lt;/P&gt;&lt;P&gt;And also checked&amp;nbsp;web-client-security-config.xml and web.xml, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I resolve this? Any idea would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2019 02:26:53 GMT</pubDate>
    <dc:creator>keon</dc:creator>
    <dc:date>2019-01-07T02:26:53Z</dc:date>
    <item>
      <title>[Resolved]Possible CSRF attack noted when comparing token in session and request header</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/resolved-possible-csrf-attack-noted-when-comparing-token-in/m-p/69044#M22829</link>
      <description>Dear all,Do you know how to solve this case?I'm using Alfresco Community Edition(201707), separately deployed Share on another machine.And configured hostname in alfresco-global.propertiesalfresco.context=alfrescoalfresco.host=alfrescoalfresco.port=8080alfresco.protocol=httpshare.context=shareshare.</description>
      <pubDate>Mon, 07 Jan 2019 02:26:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/resolved-possible-csrf-attack-noted-when-comparing-token-in/m-p/69044#M22829</guid>
      <dc:creator>keon</dc:creator>
      <dc:date>2019-01-07T02:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: [Resolved]Possible CSRF attack noted when comparing token in session and request header</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/resolved-possible-csrf-attack-noted-when-comparing-token-in/m-p/69045#M22830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've simply removed browser cache(Chrome in this case) and resolved. Good as new &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 03:56:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/resolved-possible-csrf-attack-noted-when-comparing-token-in/m-p/69045#M22830</guid>
      <dc:creator>keon</dc:creator>
      <dc:date>2019-01-07T03:56:55Z</dc:date>
    </item>
  </channel>
</rss>

