How I Found Critical Flaws in a Medical SOAP API
The report describes a SOAP API for a medical institution that exposed its WSDL, lacked authorization checks on operations, used SOAP 1.1 with a mutable SOAPAction header, employed SHA-1 in WS-Security, and omitted token protection for SAML. An attacker could use the exposed WSDL to craft requests and, without authorization checks, invoke sensitive operations such as resetting patient consent.
medium.com
Published on medium.com
Hey folks! This is my first bug bounty hunting, I recently jumped back in — and I landed a high-severity security flaw in a live healthcare platform on my very first try.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API exposed its full WSDL and did not enforce role-based authorization on SOAP operations, while also using outdated security settings.
Impact
An attacker with a valid token could call any SOAP operation, including admin services, and potentially reset patient consent data; the report does not show that this was actually exploited.
What the attacker needed
A valid token; access to the public WSDL
The fix
The API should restrict access to the WSDL, enforce role-based authorization on every SOAP operation, use modern SOAP versions with strict SOAPAction validation, replace SHA-1 with a secure hash, and protect SAML tokens.
How it was found
- Find the public WSDL endpoint for the SOAP API.
- Inspect the WSDL to list available operations.
- Test each operation to see whether authorization is enforced.
- Craft a SOAP request with a spoofed SOAPAction header to call a sensitive operation.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
A SOAP API is a way for programs to talk to each other using XML messages. This report says the API publicly listed all its available actions and did not check whether a caller was allowed to perform them, so someone with a valid token could run sensitive actions like resetting patient consent. It also notes weaker security settings such as an old signature method and unprotected SAML tokens.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.