Information Leak through WSDL File |
Weakness ID: 651 (Weakness Variant) | Status: Incomplete |
Description Summary
Extended Description
An information disclosure leak may occur if:
1. The WSDL file is accessible to a wider audience than intended
2. The WSDL file contains information on the methods/services that should not be publicly accessible or information about deprecated methods. This problem is made more likely due to the WSDL often being automatically generated from the code.
3. Information in the WSDL file helps guess names/locations of methods/resources that should not be publicly accessible.
The system employs a web services architecture. |
WSDL is used to advertise information information on how to communicate with the service. |
Reference | Description |
---|---|
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. |
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. |
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. |
Do not use method names in WSDL that might help an adversary guess names of private methods/resources used by the service. |
Nature | Type | ID | Name | View(s) this relationship pertains to![]() |
---|---|---|---|---|
ChildOf | ![]() | 538 | File and Directory Information Exposure | Development Concepts (primary)699 Research Concepts (primary)1000 |
Submissions | ||||
---|---|---|---|---|
Submission Date | Submitter | Organization | Source | |
2008-01-30 | Evgeny Lebanidze | Cigital | External Submission | |
Modifications | ||||
Modification Date | Modifier | Organization | Source | |
2008-09-08 | CWE Content Team | MITRE | Internal | |
updated Applicable Platforms, Common Consequences, Description, Relationships | ||||
2009-10-29 | CWE Content Team | MITRE | Internal | |
updated Common Consequences |