<?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 HTTP security headers not detected in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/http-security-headers-not-detected/m-p/5170#M2513</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We are using ACS 5.2.6 with windows os.&lt;/P&gt;&lt;P&gt;We have recieved the security vulnerability titled:- HTTP security headers not detected.&lt;/P&gt;&lt;P&gt;And for the same we have two solution:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;1. Security filters and clickjacking mitigation&lt;/P&gt;&lt;DIV class="region region-content"&gt;&lt;DIV class="node node-documentation-page node-promoted clearfix"&gt;&lt;DIV class="content"&gt;&lt;DIV class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;DIV class="field-items"&gt;&lt;DIV class="field-item even"&gt;&lt;DIV class="body conbody"&gt;&lt;DIV class="abstract"&gt;&lt;SPAN class="shortdesc"&gt;You can configure a security filter,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SecurityHeadersPolicy, that mitigates clickjacking attacks in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Alfresco Share&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P class="p"&gt;SecurityHeadersPolicy&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is a Java Servlet filter that applies HTTP response headers to incoming requests in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Share&lt;/SPAN&gt;. The headers that are returned are defined in a configuration section called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SecurityHeadersPolicy&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;alfresco-security-config.xml.&lt;/P&gt;&lt;DIV class="p"&gt;Three headers are added by default;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;X-Frame-Options,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;X-Content-Type-Options&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;X-XSS-Protection:&lt;PRE&gt;&lt;SPAN class="tag"&gt;&amp;lt;config&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;evaluator&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"string-compare"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;condition&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"SecurityHeadersPolicy"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;headers&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;header&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;X-Frame-Options&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;SAMEORIGIN&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/header&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;header&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;X-Content-Type-Options&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;nosniff&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/header&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;header&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;X-XSS-Protection&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;1; mode=block&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/header&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;/headers&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;/config&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2.&amp;nbsp; X-Frame-Options header&lt;/P&gt;&lt;P class="p"&gt;Adding this header to an HTTP response tells the browser whether&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Share&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pages are permitted inside iframes. In our default configuration we have set this to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SAMEORIGIN&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;which means that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Share&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pages are only permitted inside iFrames inside&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Share&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or in other web applications that live under the same domain.&amp;nbsp;&lt;/P&gt;&lt;DIV class="p"&gt;You can override the configuration and set the header to return&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;DENY&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;instead, by placing the following configuration in your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;share-config-custom.xml&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file:&lt;PRE&gt;&lt;SPAN class="tag"&gt;&amp;lt;config&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;evaluator&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"string-compare"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;condition&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"SecurityHeadersPolicy"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;headers&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;header&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;X-Frame-Options&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;DENY&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/header&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;/headers&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;/config&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV class="section"&gt;&amp;nbsp;&lt;P&gt;Can any one suggest which one will be the perfect solution for the same.&lt;/P&gt;&lt;P&gt;Currently we are planning to go with solution no 2(&lt;FONT size="3"&gt;X-Frame-Options header&lt;/FONT&gt;)&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 11 Jun 2020 08:29:19 GMT</pubDate>
    <dc:creator>Mohammadsherani</dc:creator>
    <dc:date>2020-06-11T08:29:19Z</dc:date>
    <item>
      <title>HTTP security headers not detected</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/http-security-headers-not-detected/m-p/5170#M2513</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;We are using ACS 5.2.6 with windows os.&lt;/P&gt;&lt;P&gt;We have recieved the security vulnerability titled:- HTTP security headers not detected.&lt;/P&gt;&lt;P&gt;And for the same we have two solution:-&lt;/P&gt;&lt;P&gt;&amp;nbsp;1. Security filters and clickjacking mitigation&lt;/P&gt;&lt;DIV class="region region-content"&gt;&lt;DIV class="node node-documentation-page node-promoted clearfix"&gt;&lt;DIV class="content"&gt;&lt;DIV class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;DIV class="field-items"&gt;&lt;DIV class="field-item even"&gt;&lt;DIV class="body conbody"&gt;&lt;DIV class="abstract"&gt;&lt;SPAN class="shortdesc"&gt;You can configure a security filter,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SecurityHeadersPolicy, that mitigates clickjacking attacks in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Alfresco Share&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P class="p"&gt;SecurityHeadersPolicy&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is a Java Servlet filter that applies HTTP response headers to incoming requests in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Share&lt;/SPAN&gt;. The headers that are returned are defined in a configuration section called&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SecurityHeadersPolicy&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;alfresco-security-config.xml.&lt;/P&gt;&lt;DIV class="p"&gt;Three headers are added by default;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;X-Frame-Options,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;X-Content-Type-Options&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;X-XSS-Protection:&lt;PRE&gt;&lt;SPAN class="tag"&gt;&amp;lt;config&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;evaluator&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"string-compare"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;condition&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"SecurityHeadersPolicy"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;headers&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;header&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;X-Frame-Options&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;SAMEORIGIN&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/header&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;header&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;X-Content-Type-Options&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;nosniff&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/header&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;header&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;X-XSS-Protection&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;1; mode=block&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/header&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;/headers&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;/config&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;2.&amp;nbsp; X-Frame-Options header&lt;/P&gt;&lt;P class="p"&gt;Adding this header to an HTTP response tells the browser whether&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Share&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pages are permitted inside iframes. In our default configuration we have set this to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;SAMEORIGIN&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;which means that&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Share&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pages are only permitted inside iFrames inside&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;Share&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or in other web applications that live under the same domain.&amp;nbsp;&lt;/P&gt;&lt;DIV class="p"&gt;You can override the configuration and set the header to return&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;DENY&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;instead, by placing the following configuration in your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;share-config-custom.xml&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file:&lt;PRE&gt;&lt;SPAN class="tag"&gt;&amp;lt;config&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;evaluator&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"string-compare"&lt;/SPAN&gt; &lt;SPAN class="atn"&gt;condition&lt;/SPAN&gt;&lt;SPAN class="pun"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv"&gt;"SecurityHeadersPolicy"&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;headers&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;header&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;name&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln"&gt;X-Frame-Options&lt;/SPAN&gt;&lt;SPAN class="tag"&gt;&amp;lt;/name&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="tag"&gt;&amp;lt;value&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln"&gt;DENY&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="tag"&gt;&amp;lt;/value&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="tag"&gt;&amp;lt;/header&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="tag"&gt;&amp;lt;/headers&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="tag"&gt;&amp;lt;/config&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV class="section"&gt;&amp;nbsp;&lt;P&gt;Can any one suggest which one will be the perfect solution for the same.&lt;/P&gt;&lt;P&gt;Currently we are planning to go with solution no 2(&lt;FONT size="3"&gt;X-Frame-Options header&lt;/FONT&gt;)&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jun 2020 08:29:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/http-security-headers-not-detected/m-p/5170#M2513</guid>
      <dc:creator>Mohammadsherani</dc:creator>
      <dc:date>2020-06-11T08:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP security headers not detected</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/http-security-headers-not-detected/m-p/5171#M2514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81429"&gt;@Mohammadsherani&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;As I customer I advise you to raise a ticket through the customer support portal.&lt;/P&gt;
&lt;P&gt;HTH,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 12:20:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/http-security-headers-not-detected/m-p/5171#M2514</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-06-15T12:20:24Z</dc:date>
    </item>
  </channel>
</rss>

