<?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 How to Modify Content-Security-Policy (CSP) for FTD Remote Access VPN in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/how-to-modify-content-security-policy-csp-for-ftd-remote-access/m-p/5269474#M1119965</link>
    <description>&lt;P&gt;I am working on securing the WebVPN (AnyConnect SSL VPN) portal on a Cisco FTD managed via FMC. The current Content-Security-Policy (CSP) header includes weak directives like 'unsafe-inline' and 'unsafe-eval', which expose the portal to potential XSS attacks.&lt;/P&gt;&lt;P&gt;I attempted to modify the CSP using FlexConfig, but I found that FTD does not support the http-headers CLI command, unlike ASA. Additionally, I explored WebVPN customization settings in FMC, but there is no direct way to modify response headers.&lt;/P&gt;&lt;P&gt;To mitigate exposure, I applied the following FlexConfig command:&lt;/P&gt;&lt;P&gt;webvpn&lt;BR /&gt;keepout "503: Service Unavailable"&lt;/P&gt;&lt;P&gt;This resulted in the WebVPN page returning a 503 Service Unavailable response. However, despite this, our cybersecurity team is still flagging the service as vulnerable due to weak CSP headers being present.&lt;/P&gt;&lt;P&gt;Questions:&lt;BR /&gt;Is there any supported method in FMC or CLI to modify HTTP response headers (specifically CSP) for FTD WebVPN?&lt;BR /&gt;Are there alternative configurations within FMC to restrict inline scripts (unsafe-inline) and eval (unsafe-eval) in WebVPN?&lt;BR /&gt;Would using a reverse proxy (e.g., NGINX) in front of FTD be the best approach to enforce a stricter CSP policy?&lt;BR /&gt;Since webvpn keepout "503: Service Unavailable" blocks the page entirely, is there a better way to mitigate these findings while keeping the portal functional?&lt;/P&gt;&lt;P&gt;Any insights from the community would be greatly appreciated. Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Mar 2025 07:55:57 GMT</pubDate>
    <dc:creator>srajiwate</dc:creator>
    <dc:date>2025-03-13T07:55:57Z</dc:date>
    <item>
      <title>How to Modify Content-Security-Policy (CSP) for FTD Remote Access VPN</title>
      <link>https://community.cisco.com/t5/network-security/how-to-modify-content-security-policy-csp-for-ftd-remote-access/m-p/5269474#M1119965</link>
      <description>&lt;P&gt;I am working on securing the WebVPN (AnyConnect SSL VPN) portal on a Cisco FTD managed via FMC. The current Content-Security-Policy (CSP) header includes weak directives like 'unsafe-inline' and 'unsafe-eval', which expose the portal to potential XSS attacks.&lt;/P&gt;&lt;P&gt;I attempted to modify the CSP using FlexConfig, but I found that FTD does not support the http-headers CLI command, unlike ASA. Additionally, I explored WebVPN customization settings in FMC, but there is no direct way to modify response headers.&lt;/P&gt;&lt;P&gt;To mitigate exposure, I applied the following FlexConfig command:&lt;/P&gt;&lt;P&gt;webvpn&lt;BR /&gt;keepout "503: Service Unavailable"&lt;/P&gt;&lt;P&gt;This resulted in the WebVPN page returning a 503 Service Unavailable response. However, despite this, our cybersecurity team is still flagging the service as vulnerable due to weak CSP headers being present.&lt;/P&gt;&lt;P&gt;Questions:&lt;BR /&gt;Is there any supported method in FMC or CLI to modify HTTP response headers (specifically CSP) for FTD WebVPN?&lt;BR /&gt;Are there alternative configurations within FMC to restrict inline scripts (unsafe-inline) and eval (unsafe-eval) in WebVPN?&lt;BR /&gt;Would using a reverse proxy (e.g., NGINX) in front of FTD be the best approach to enforce a stricter CSP policy?&lt;BR /&gt;Since webvpn keepout "503: Service Unavailable" blocks the page entirely, is there a better way to mitigate these findings while keeping the portal functional?&lt;/P&gt;&lt;P&gt;Any insights from the community would be greatly appreciated. Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 07:55:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/how-to-modify-content-security-policy-csp-for-ftd-remote-access/m-p/5269474#M1119965</guid>
      <dc:creator>srajiwate</dc:creator>
      <dc:date>2025-03-13T07:55:57Z</dc:date>
    </item>
  </channel>
</rss>

