Testing WSDL (OWASP-WS-002)

Brief Summary
Once that the WSDL is identified, we can test that entry point.

Description of the Issue
Check the WSDL of the web service to find the entry points and try to invoke an operation that is not used in a standard SOAP Request. Ensure that the WS doesn’t give you some confidential information.

Black Box testing and example
Given the Standard SOAP message that the Web services supplier waits from Web services consumer, you can craft a particular message that invoke some hidden operations. Example: A good example is WebGoat 5.0 WSDL Scanning lesson.

Here we have an interface that invokes a Web Service using only Account Number, FirstName, LastName, and Login Count as parameters. If you look at the relative WSDL you will find: ...    

    

   

   </wsdl:operation> </wsdl:portType> ... We find 4 operations and not only 3. Using WebScarab Web Service plugin, we can craft a SOAP Request to get the Credit Card given a specific ID.

Whitepapers
 * W3Schools schema introduction - http://www.w3schools.com/schema/schema_intro.asp

Tools
 * OWASP WebScarab: Web Services plugin - OWASP_WebScarab_Project