Skip to content
Access control Write-up Intermediate

Story of **Unauthorized user registration via Target.com hidden SOAP endpoint P1 and Reflected XSS.**

A hidden SOAP endpoint on a Target subdomain allowed unauthorised user registration, and the researcher also found a reflected XSS and an open redirect on the same service. An attacker could register an account on an internal-only service and potentially use the XSS to run script in a victim's browser.

Sonahri Follow

Published on medium.com

Story of Unauthorized user registration via Target.com hidden SOAP endpoint P1 and Reflected XSS.

Sonahri, on medium.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 registration endpoint lacked authentication or access control, so it accepted account-creation requests from unauthenticated external users.

Impact

An unauthenticated attacker could create an account on an internal-only service, and the reflected XSS could run script in a victim's browser if they followed a crafted link; the open redirect was reported separately but not chained.

What the attacker needed

Knowledge of SOAP request format; access to the subdomain

How it was found

  1. Notice that the subdomain redirects to Microsoft authentication when accessed by name but shows a login page when accessed by IP.
  2. Fuzz for endpoints and find one vulnerable to reflected XSS.
  3. Find an open redirect on the same service.
  4. Locate a website that allows registration into the app and use it to learn the correct SOAP request format.
  5. Construct a SOAP request to register an account on the server.

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 endpoint is a web address that accepts structured XML messages to perform actions like creating an account. The researcher found that this internal service would accept a registration request from anyone who knew the right format, even though it was meant only for staff. Separately, a reflected XSS means a crafted link can make the site run attacker-supplied JavaScript in the visitor's browser.

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.

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.