CWE-651 通过WSDL文件导致的信息暴露

admin 2021年11月6日14:50:55评论204 views字数 1817阅读6分3秒阅读模式

CWE-651 通过WSDL文件导致的信息暴露

Information Exposure Through WSDL File

结构: Simple

Abstraction: Variant

状态: Incomplete

被利用可能性: unkown

基本描述

The Web services architecture may require exposing a Web Service Definition Language (WSDL) file that contains information on the publicly accessible services and how callers of these services should interact with them (e.g. what parameters they expect and what types they return).

扩展描述

An information exposure may occur if any of the following apply:

相关缺陷

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

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

适用平台

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

Technology: {'cwe_Name': 'Web Server', 'cwe_Prevalence': 'Often'}

常见的影响

范围 影响 注释
Confidentiality Read Application Data The attacker may find sensitive information located in the WSDL file.

可能的缓解方案

Architecture and Design

策略:

Limit access to the WSDL file as much as possible. If services are provided only to a limited number of entities, it may be better to provide WSDL privately to each of these entities than to publish WSDL publicly.

Architecture and Design

策略: Separation of Privilege

Make sure that WSDL does not describe methods that should not be publicly accessible. Make sure to protect service methods that should not be publicly accessible with access controls.

Architecture and Design

策略:

Do not use method names in WSDL that might help an adversary guess names of private methods/resources used by the service.

示例代码

The WSDL for a service providing information on the best price of a certain item exposes the following method: float getBestPrice(String ItemID) An attacker might guess that there is a method setBestPrice (String ItemID, float Price) that is available and invoke that method to try and change the best price of a given item to their advantage. The attack may succeed if the attacker correctly guesses the name of the method, the method does not have proper access controls around it and the service itself has the functionality to update the best price of the item.

文章来源于互联网:scap中文网

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年11月6日14:50:55
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   CWE-651 通过WSDL文件导致的信息暴露http://cn-sec.com/archives/613651.html

发表评论

匿名网友 填写信息