CWE一覧に戻る
CWE-942

信頼されないドメインによる許容的なクロスドメイン・セキュリティ・ポリシー

Permissive Cross-domain Security Policy with Untrusted Domains
脆弱性 作成中
JA

この製品は、コンテンツ・セキュリティ・ポリシー(CSP
コンテンツ・セキュリティ・ポリシー(CSP)や
クロスドメインポリシーファイルのようなウェブクライアント保護メカニズムを使用している。
ドメインが含まれています。
通信を許可する信頼できないドメインが含まれている。

クロスドメインポリシーファイルに、ワイルドカードを使用した場合など、信頼すべきでないドメインが含まれている場合
高レベルドメインの下でワイルドカードを使用する場合など、信頼すべきでないドメインが
を使用している場合など、クロスドメインポリシーファイルに信頼すべきでないドメインが含まれている場合、アプリケーションはこれらの信頼できないドメインによって攻撃される可能性があります。
攻撃される可能性があります。多くの場合
多くの場合、攻撃は被害者が気づかないうちに開始されます。
多くの場合、攻撃は被害者が気づかないうちに開始されます。

EN

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.

If a cross-domain policy file includes domains
that should not be trusted, such as when using wildcards
under a high-level domain, then the application could be
attacked by these untrusted domains. In many cases, the
attack can be launched without the victim even being aware
of it.

Scope: Confidentiality, Integrity, Availability, Access Control / Impact: Execute Unauthorized Code or Commands; Bypass Protection Mechanism; Read Application Data; Varies by Context
Define a restrictive Content Security Policy [REF-1486] or cross-domain policy file.
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.
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.
MITRE公式ページ — CWE-942