Remediation of CSRF Vulnerabilities on login.fcc in Web Agent and CA Access Gateway (SPS)
search cancel

Remediation of CSRF Vulnerabilities on login.fcc in Web Agent and CA Access Gateway (SPS)

book

Article ID: 195234

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign-On

Issue/Introduction

A Cross-Site Request Forgery (XSRF/CSRF) vulnerability has been identified on the login.fcc page. In this specific architecture, the SSO login page is hosted on a WebLogic Application Server, while the credentials entered are submitted to the login.fcc endpoint hosted on the SiteMinder Web Agent (installed on the Web Server).

Environment

  • Web Agent: All versions
  • CA Access Gateway (SPS): All versions

Resolution

To remediate this vulnerability and secure the Credential Collector, implement the following configuration changes:

  1. Implement Security Remediation Techniques


    Follow the industry-standard practices for CA Single Sign-On to harden the Web Agent against request forgery (1).

  2. Restrict Redirects and Define Valid Domains


    Configure the Web Agent to prevent unauthorized redirects after authentication. This ensures that the TARGET parameter cannot be manipulated to point to malicious external domains (2).

    Enable TargetAsRelativeURI: Forces the Web Agent to treat the target as a relative URI.
    Configure ValidTargetDomain: Explicitly defines the list of trusted domains to which the agent can redirect users.

  3. Prevent Cross-Site Scripting (XSS) in FCC Pages


    Since CSRF and XSS often go hand-in-hand, ensure the Web Agent is configured to sanitize and protect FCC (Forms Credential Collector) pages from malicious script injection (3).

    Note: When hosting the login UI on a separate application server while submitting to a Web Agent on a different web server, ensure that the CORS (Cross-Origin Resource Sharing) policies and P3P headers (if applicable) are also reviewed to maintain a seamless and secure user experience.

Additional Information

  1. Tech Tip : CA Single Sign-On :Web Agent : Security vulnerability remediation techniques
       
  2. Define Valid Target Domains

  3. Prevent Cross-Site Scripting Attacks in Web Agent FCC Pages