CyberSecBulletin

Permissive Cross-domain Security Policy with Untrusted Domains

CWE-942

The product uses a web-client protection mechanism such as a Content Security Policy (CSP) or cross-domain policy file, but the policy includes untrusted domains with which the web client is allowed to communicate.

We track 71 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.4.

How this weakness is prevented

  • Architecture and Design Operation: Define a restrictive Content Security Policy or cross-domain policy file.
  • Architecture and Design Operation: Avoid using wildcards in the CSP / cross-domain policy file. Any domain matching the wildcard expression will be implicitly trusted, and can perform two-way interaction with the target server.
  • Architecture and Design Operation: For Flash, modify crossdomain.xml to use meta-policy options such as 'master-only' or 'none' to reduce the possibility of an attacker planting extraneous cross-domain policy files on a server.

Latest Permissive Cross-domain Security Policy with Untrusted Domains vulnerabilities