Skip to content
Access control Write-up Intermediate

**From SOAP to Shell:**Exploiting Legacy SOAP Services for Full Admin Account Takeover (And Nearly RCE)

An unauthenticated SOAP service exposed user management operations, allowing an attacker to modify any user's email and username, create a privileged account, and sync it with Active Directory. The attacker could also confirm blind XXE and SSRF, potentially leading to full admin account takeover.

nav1n👨🏻‍💻⚠️ Follow

Published on infosecwriteups.com

When you think about modern web technologies, SOAP (Simple Object Access Protocol) probably isn’t the first thing that comes to mind. It’s an older protocol, often overshadowed by REST, GraphQL, and gRPC in today’s applications.

nav1n👨🏻‍💻⚠️, on infosecwriteups.com

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 SOAP endpoints lacked authentication and authorization checks, and the XML parser did not disable external entity processing.

Impact

An unauthenticated attacker could take over any user account, escalate privileges to admin, and interact with Active Directory; blind XXE and SSRF were also confirmed, though the program stopped further testing before RCE could be demonstrated.

What the attacker needed

Exposed SOAP WSDL; No authentication required; Network access to the service

The fix

The endpoint was secured and now requires authentication through the company's SSO system.

How it was found

  1. Find exposed SOAP WSDL endpoints via search engines.
  2. Access the WSDL to enumerate available operations.
  3. Call user info methods like ReadUserName and Re***Email with arbitrary IDs to enumerate users.
  4. Use I***Email and SetUserName to modify a user's email and username.
  5. Call ModificaInActiveDirectory and SetProfessionalFunctions to grant admin privileges.
  6. Trigger SynchronizeSID to finalize the account.

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.

SOAP is an older way for programs to talk to each other over the web. The service here had no login check, so anyone could call its functions to change user details and give themselves admin rights. The author also found a way to make the server fetch external files, which can be used to steal data.

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.

More by nav1n👨🏻‍💻⚠️

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.