<noframes id="vfxvr">

    <track id="vfxvr"></track>

      <span id="vfxvr"></span>

          CWE-942 過度許可的跨域白名單

          Overly Permissive Cross-domain Whitelist

          結構: Simple

          Abstraction: Variant

          狀態: Incomplete

          被利用可能性: unkown

          基本描述

          The software uses a cross-domain policy file that includes domains that should not be trusted.

          擴展描述

          A cross-domain policy file ("crossdomain.xml" in Flash and "clientaccesspolicy.xml" in Silverlight) defines a whitelist of domains from which a server is allowed to make cross-domain requests. When making a cross-domain request, the Flash or Silverlight client will first look for the policy file on the target server. If it is found, and the domain hosting the application is explicitly allowed to make requests, the request is made.

          Therefore, if a cross-domain policy file includes domains that should not be trusted, such as when using wildcards, then the application could be attacked by these untrusted domains.

          An overly permissive policy file allows many of the same attacks seen in Cross-Site Scripting (CWE-79). Once the user has executed a malicious Flash or Silverlight application, they are vulnerable to a variety of attacks. The attacker could transfer private information, such as cookies that may include session information, from the victim's machine to the attacker. The attacker could send malicious requests to a web site on behalf of the victim, which could be especially dangerous to the site if the victim has administrator privileges to manage that site.

          In many cases, the attack can be launched without the victim even being aware of it.

          相關缺陷

          • cwe_Nature: ChildOf cwe_CWE_ID: 284 cwe_View_ID: 1000 cwe_Ordinal: Primary

          • cwe_Nature: ChildOf cwe_CWE_ID: 284 cwe_View_ID: 699 cwe_Ordinal: Primary

          • cwe_Nature: ChildOf cwe_CWE_ID: 183 cwe_View_ID: 1000

          • cwe_Nature: CanPrecede cwe_CWE_ID: 668 cwe_View_ID: 1000

          適用平臺

          Language: {'cwe_Class': 'Language-Independent', 'cwe_Prevalence': 'Undetermined'}

          Paradigm: {'cwe_Name': 'Web Based', 'cwe_Prevalence': 'Undetermined'}

          常見的影響

          范圍 影響 注釋
          ['Confidentiality', 'Integrity', 'Availability', 'Access Control'] ['Execute Unauthorized Code or Commands', 'Bypass Protection Mechanism', 'Read Application Data', 'Varies by Context'] An attacker may be able to bypass the web browser's same-origin policy. An attacker can exploit the weakness to manipulate or steal cookies, create requests that can be mistaken for those of a valid user, compromise confidential information, or execute malicious code on the end user systems for a variety of nefarious purposes. Other damaging attacks include the disclosure of end user files, installation of Trojan horse programs, redirecting the user to some other page or site, running ActiveX controls (under Microsoft Internet Explorer) from sites that a user perceives as trustworthy, and modifying presentation of content.

          可能的緩解方案

          Architecture and Design

          策略: Attack Surface Reduction

          Avoid using wildcards in the 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']

          策略: Environment Hardening

          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.

          ['Architecture and Design', 'Operation']

          策略: Attack Surface Reduction

          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.

          示例代碼

          These cross-domain policy files mean to allow Flash and Silverlight applications hosted on other domains to access its data:

          Flash crossdomain.xml :

          bad XML

          <cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd">
          <allow-access-from domain=".example.com"/>
          <allow-access-from domain="
          "/>
          </cross-domain-policy>

          Silverlight clientaccesspolicy.xml :

          bad XML

          <?xml version="1.0" encoding="utf-8"?>
          <access-policy>
          <cross-domain-access>
          <policy>
          <allow-from http-request-headers="SOAPAction">
          <domain uri="*"/>
          </allow-from>
          <grant-to>
          <resource path="/" include-subpaths="true"/>
          </grant-to>
          </policy>
          </cross-domain-access>
          </access-policy>

          These entries are far too permissive, allowing any Flash or Silverlight application to send requests. A malicious application hosted on any other web site will be able to send requests on behalf of any user tricked into executing it.

          分析過的案例

          標識 說明 鏈接
          CVE-2012-2292 Product has a Silverlight cross-domain policy that does not restrict access to another application, which allows remote attackers to bypass the Same Origin Policy. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-2292
          CVE-2014-2049 The default Flash Cross Domain policies in a product allows remote attackers to access user files. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2049
          CVE-2007-6243 Chain: Adobe Flash Player does not sufficiently restrict the interpretation and usage of cross-domain policy files, which makes it easier for remote attackers to conduct cross-domain and cross-site scripting (XSS) attacks. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-6243
          CVE-2008-4822 Chain: Adobe Flash Player and earlier does not properly interpret policy files, which allows remote attackers to bypass a non-root domain policy. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4822
          CVE-2010-3636 Chain: Adobe Flash Player does not properly handle unspecified encodings during the parsing of a cross-domain policy file, which allows remote web servers to bypass intended access restrictions via unknown vectors. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3636

          引用

          欧美日韩国产亚洲,天天射影院,大芭蕉天天视频在线观看,欧美肥老太牲交大片,奇米色888,黄三级高清在线播放,国产卡一卡二卡三卡四,亚洲第一黄色视频 日韩中文字幕中文有码,日本A级作爱片一,奇米第四,三级片短片视频免费在线观看,奇米网狠狠网,影音先锋色AV男人资源网,日本丰满熟妇hd 日本日韩中文字幕无区码,涩 色 爱 性,天天射影视,中文字幕制服丝袜第57页,777米奇影院奇米网狠狠,尤物TV国产精品看片在线,欧洲女同牲恋牲交视频 久久AV天堂日日综合,亚洲性爱影院色yeye,日韩亚洲欧美Av精品,十八禁全身裸露全彩漫画,奇米网影视,人人爽人人澡人人人妻,动漫AV专区,天天色综合影院 日韩精品中文字幕,特级无码毛片免费视频,人妻少妇不卡无码视频,制服丝袜有码中文字幕在线,深爱激动情网婷婷,影音先锋全部色先锋,香港三级日本三级韩级人妇 日韩欧美亚洲综合久久在线视频,2021XX性影院,玖玖资源站最稳定网址,日韩亚洲制服丝袜中文字幕,国产超碰人人模人人爽人人喊,先锋色熟女丝袜资源 很黄特别刺激又免费的视频,2021一本久道在线线观看,色中娱乐黄色大片,日本高清不卡在线观看播放,97国产自在现线免费视频,国产在线精品亚洲第一区 免费中文字幕精品一区二区 视频,狠狠爱俺也色,天天好逼网,日韩制服丝袜,国产女人大象蕉视频在线观看,国产 精品 自在 线免费,午夜时刻在线观看