How to solve eMAM Panel and eFeeder loading problem after latest Microsoft security patches

Microsoft released a security update which is having changes in the cookie handling. Please refer to this article for more details - https://devblogs.microsoft.com/dotnet/net-framework-december-2019-security-and-quality-rollup/


This will affect the applications which are loaded inside an iFrame. eMAM panels and eFeeder are following this architecture so it will be an issue for now. We found some workarounds to tackle this issue. Please follow the below steps.


1. We will be tackling this issue by configuring a URL rewrite at the IIS level.

2. Download and install the URL rewrite module in eMAM Web servers. If there are multiple web servers, then install it in all the Web servers. Download link - https://www.iis.net/downloads/microsoft/url-rewrite

3. After installing the URL rewrite module, please go to C:\Program Files\Empress Media\eMAM Director in eMAM Web server and open web.config.

4. Search for <System.webServer> and paste the below content under that tag. Please find below.

<rewrite>

    <outboundRules>

       <rule name="Remove SameSite">

             <match serverVariable="RESPONSE_Set_Cookie" pattern="(.*;) SameSite=(strict|lux)*" />

              <action type="Rewrite" value="{R:1}" />

       </rule>

    </outboundRules>

</rewrite>



Eg: 

5. After adding this configuration, please open the Premiere panel and eFeeder to check whether it fixed the issue.

In case if you face trouble installing IIS URL Rewrite Module 2 as shown below



Please follow this workaround:


 1.Open Regedit > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp
 2.Edit "MajorVersion" and set the "DECIMAL" value to 9
 3.Hit F5 while in Regedit.
 4.Now go install the ReWrite 2.0 module.
 5.Change the "MajorVersion" back to the "DECIMAL" value of 10
 6.Hit F5 while in Regedit.
 7.Close Regedit.

 

or any further query or assistance, please contact eMAM Support at support@emamonline.com