SAP IAS Open Self-Registration: How I Accessed a Fortune 500 Production Supply Chain System in 10…
The SAP IAS tenant allowed unrestricted self-registration, and the SAML configuration had AllowCreate set to true, so any external email address could create an account and be automatically authenticated to the production supplier portal. An attacker could reach the SAP NetWeaver login screen for the live supply chain system without any credentials.
Published on medium.com
Bugbounty
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.
Context
The target was the supplier portal of a major international sports brand, listed under Group 2 (Website Testing) in a Bugcrowd program brief. The portal fronted a live SAP NetWeaver production environment; the report names purchase orders, vendor records and procurement workflows as its subject matter. and authentication was delegated to a SAP Identity Authentication Service (IAS) tenant branded with the target's identity.
The feature at the centre of the finding is SAP IAS self-registration. IAS can host a public registration form that lets a visitor create an identity in the tenant, normally as a controlled onboarding step for partners and suppliers. Combined with the SAML AllowCreate attribute, the Service Provider can ask the Identity Provider to create an account on the fly during authentication. Here the registration form was reachable by anyone and the SAML request told IAS to create accounts automatically, with no domain allowlist, no admin approval and no organisational vetting.
The researcher reports the finding as P3 (400 to 600 USD), Server Security Misconfiguration > Exposed Portal > Non-Admin Portal. It was marked duplicate: the same issue had been submitted nine months earlier and was still unpatched at the time of discovery. Bounty was $0.
Setup
The work was done during a bug bounty engagement on Bugcrowd. The asset was in scope twice: the hostname sat under Group 2 (Website Testing), and the IP it resolved to fell inside a range listed under Group 4 (Network Testing).
No accounts, credentials or special tooling were needed beyond DNS and HTTP utilities. The researcher used dig, nmap, curl and a short Python snippet for decoding. The only identity used was a personal Gmail address, and the only precondition was that the IAS tenant exposed its public registration form and that the Service Provider accepted identities created through it.
Finding it
Recon started with DNS resolution of the supplier hostname:
dig A snctest-s.[target].com
The returned IP fell within a range also listed in scope under Group 4, so the asset was covered from two angles. A quick service scan confirmed the attack surface:
nmap -sV -p 80,443 [IP]
Ports 80 and 443 were open. The response carried an NSC_ESNS cookie, the well-known fingerprint of a Citrix NetScaler ADC acting as a load balancer: standard enterprise infrastructure, nothing anomalous by itself.
Requesting the supplier endpoint and following redirects:
curl -sk https://snctest-s.[target].com/supplier \ --max-redirs 2 -v 2>&1 | head -60
Two 302 redirects led to a SAP Identity Authentication Service tenant branded with the target's identity. The response headers leaked internal infrastructure details:
sap-server: truesap-usercontext: sap-client=100sap-perf-fesrec: 8142.000000
These headers confirmed SAP backend infrastructure and the client number. Not exploitable on their own, but useful recon.
The redirect URL contained a SAMLRequest parameter, base64 encoded and zlib compressed. Decoding it:
import base64, zlib, urllib.parse
saml = urllib.parse.unquote('[value from redirect URL]')raw = saml.replace('-', '+').replace('_', '/')print(zlib.decompress(base64.b64decode(raw + '=='), -15).decode())
The decoded XML:
<samlp:AuthnRequest Destination="https://[ias-tenant].accounts.ondemand.com/saml2/idp/sso/..." ForceAuthn="false"> <saml:Issuer>SCP</saml:Issuer> <samlp:NameIDPolicy AllowCreate="true"/></samlp:AuthnRequest>
Two things stood out. <saml:Issuer>SCP</saml:Issuer> identifies SCP as Supplier Collaboration Production, so this was the live production system. And AllowCreate="true" means the Service Provider was explicitly instructing the Identity Provider to create an account automatically during authentication if the user did not already have one. That is a legitimate SAP IAS feature designed for controlled onboarding flows; here it was enabled with zero restrictions.
Visiting the SAP IAS login page revealed a "Register" button at the bottom, publicly visible and reachable without authentication:
curl -sk https://[ias-tenant].accounts.ondemand.com/ui/public/showRegisterForm \ -o /dev/null -w "%{http_code}\n"
The registration form accepted any email address: no domain restriction, no admin approval workflow, no organisational vetting of any kind.
Exploitation
Step 1: confirm the behaviour on QA
The QA tenant was tested first, to confirm the behaviour without touching production:
- Filled out the registration form with a personal Gmail address.
- Received standard email verification from [redacted]
- Activated the account; User ID P185030 was assigned.
- Navigated back to the supplier portal.
- The SAML flow completed automatically.
- Email OTP was triggered and completed.
- Reached the SAP NetWeaver SCQ login screen: System SCQ, Mandant 100.
The screen displayed:
⛔ UA 20/Twenty SCM Quality Assuranceℹ SAP Clients:⚠ 100 — QA Testing ClientRefresh date: August 15, 2026
The researcher stopped here and attempted no SAP credentials.
Step 2: repeat against production
The production tenant was serving the same registration endpoint, and the behaviour was confirmed the same way:
- Registered with Gmail on the production tenant.
- Activation email received from [redacted]
- Account activated; User ID P212606 was assigned.
- Navigated to the production supplier portal.
- SAML flow completed.
- Email OTP completed.
- Reached the SAP NetWeaver SCP login screen: System SCP, Mandant 100.
Again the researcher stopped immediately: no credentials attempted, no data accessed, tab closed.
Step 3: collect system-generated proof
SAP IAS provides a built-in "Download my data" feature available to any registered user. The researcher used it on both accounts, so the evidence was generated by the target's own system.
QA account (P185030):
{ "uid": "P185030", "type": "public", "mail": "[gmail]", "spUsersAttributes": [{ "ServiceProviderName": "SCQ", "ProtectedURL": "https://snctest-s.[target].com", "Status": "ACTIVE", "ActivationTime": "20260920115821Z" }]}
Production account (P212606):
{ "uid": "P212606", "type": "public", "mail": "[gmail]", "spUsersAttributes": [{ "ServiceProviderName": "SCP", "ProtectedURL": "https://supplier.[target].com", "Status": "ACTIVE", "ActivationTime": "20260921192144Z" }]}
The key field is "type": "public": not an employee, not a provisioned partner, but a fully external Gmail account automatically granted ACTIVE status on a Fortune 500 production supplier system.
Step 4: responsible disclosure
At every stage the researcher stopped the moment access was confirmed: at the SCQ login screen on QA, at the SCP login screen on production. No SAP username or password was attempted at any point, no data was accessed, no records viewed and no actions performed. Both test accounts were deleted after submission. The goal was to prove the attack chain exists, not to exploit it.
Step 5: check the patch after submission
After submission, the researcher observed that the target had partially remediated the issue. The registration form without parameters now returned an error:
https://[ias-tenant].accounts.ondemand.com/ui/public/showRegisterForm→ "The identity provider cannot process the request because of an incorrect configuration."
However, the original attack vector remained fully functional:
https://[ias-tenant].accounts.ondemand.com/ui/public/showRegisterForm?spName=sp.accounts.sap.com→ HTTP 200 — full registration form accessible
The fix disabled the generic endpoint but left the spName parameter path open. This was reported immediately via a comment on the Bugcrowd submission.
Root cause
Three misconfigurations combined to create the vulnerability:
- SAP IAS self-registration enabled with no restrictions. The IAS tenant had self-registration open to anyone, with no email domain allowlist and no admin approval workflow.
AllowCreate="true"in the SAML configuration. The Service Provider explicitly authorised the Identity Provider to create new identities on the fly during authentication.- No SP-side authorisation check. The SCQ and SCP applications trusted any account the IAS tenant vouched for, without verifying group membership or organisational affiliation.
Any one of these alone would be manageable. Combined, they created a complete authentication bypass.
Impact
An external party with nothing more than a Gmail address could obtain an ACTIVE identity on the production supplier system and reach the SAP NetWeaver SCP login screen. The researcher did not go past the login screen, so what an authenticated SAP user could actually do there is not demonstrated in the report. The severity assigned by the program was P3.
Fix
The report lists the following remediation, and the partial patch observed afterwards addressed only part of it.
Immediate:
- Disable self-registration on both IAS tenants, or restrict it to authorised email domains.
- Audit existing accounts for unauthorised self-registrations, looking for
"type": "public"accounts not provisioned through official channels. - Verify the
spNameparameter path is also disabled.
Short term:
- Implement SP-side authorisation: verify group membership, not just IAS authentication.
- Remove internal SAP headers from public-facing HTTP responses.
Long term:
- Audit all SAP IAS tenants for the same configuration.
- Any legitimate supplier onboarding flow should require admin approval.
Variants to test
- Other IAS tenants with a public registration form. Request the registration endpoint on tenants you are authorised to test; a positive result is an HTTP 200 form that accepts an address outside the organisation's domains.
AllowCreate="true"in decoded SAML requests. Decode theSAMLRequestfrom any redirect to an IAS or similar IdP; a positive result isAllowCreate="true"on a Service Provider that fronts a sensitive application.- Parameter-based registration paths after a patch. If the bare registration endpoint starts returning a configuration error, try the same endpoint with a
spNameparameter; a positive result is HTTP 200 with the full form still rendered. - SP-side authorisation gaps. After authenticating with a self-registered account, check whether the application grants access based on authentication alone rather than group or role membership; a positive result is reaching an application login or landing page with an account that was never provisioned.
- Self-service data export as evidence. Where the IdP offers a "Download my data" feature, use it to capture the account's own record; a positive result is a
"type": "public"entry with"Status": "ACTIVE"against the production Service Provider.
What happened, in plain words
A security researcher was taking part in a bug bounty programme on Bugcrowd. A bug bounty programme is a scheme where a company says: "if you find a security problem in our systems, tell us and we may pay you". The researcher was looking at the supplier portal of a major international sports brand. A supplier portal is a website where outside companies log in to do business with the brand: send invoices, receive purchase orders, update their details.
Behind that portal sits a big business system made by SAP, called SAP NetWeaver. The report describes the environment in terms of purchase orders, vendor records and procurement workflows. To let people log in, the brand used another SAP product, SAP Identity Authentication Service, usually shortened to IAS. IAS is a login service: instead of every application checking passwords itself, the applications ask IAS "is this person who they say they are?".
The problem was that the IAS login page had a public "Register" button. Anyone on the internet could create an account there, with any email address, including a free Gmail one. And the supplier portal was configured to trust any account that IAS vouched for. So the researcher created a Gmail account on the login service, completed the email one-time password, and was taken to the login screen of the live production SAP system. He stopped there, did not try any username or password, and reported it.
The report was marked as a duplicate: someone else had found the same thing nine months earlier, and it was still not fixed. The researcher earned $0. The programme rated the issue P3, which is a medium-low severity on Bugcrowd's scale, with an indicated range of 400 to 600 US dollars.
This article walks through the whole thing from zero: what each tool does, what each line of the commands means, and why each step was taken.
The pieces involved
Before the steps, here are the main parts, explained as if you had never heard of them.
- DNS: the internet's phone book. Computers find each other by numbers (IP addresses), but people type names like
example.com. DNS translates the name into the number. Thedigcommand asks the phone book a question. - IP address: the numeric address of a machine on a network, like a street address for a computer.
- Port: one machine can run many services. A port is like a numbered door on that machine. Web traffic normally goes through door 80 (plain HTTP) and door 443 (encrypted HTTPS).
- HTTP and HTTPS: the language browsers and web servers speak. HTTPS is the same language inside an encrypted tunnel, so nobody in the middle can read or change it.
- Cookie: a small piece of text a website asks your browser to keep and send back on every later request. It is how a site remembers who you are between page loads. Cookies often carry session identifiers, which act like a temporary badge.
- Header: extra labelled information attached to a web request or response, alongside the actual content. Think of the address and handling notes on an envelope.
- Redirect: when a server answers "not here, go there instead", and gives the new address. Browsers follow these automatically; command-line tools need to be told to.
- Load balancer: a machine that sits in front of several servers and spreads incoming traffic between them, like a receptionist directing visitors to the right desk.
- SAML: a standard way for one system (the Identity Provider, which holds the accounts) to tell another system (the Service Provider, the application) "this user is authenticated". When you click login on an application, it sends your browser to the Identity Provider with a signed request, you log in there, and the Identity Provider sends you back with an assertion saying who you are.
- Identity Provider (IdP): the system that holds accounts and checks credentials. Here, SAP IAS.
- Service Provider (SP): the application that trusts the Identity Provider. Here, the supplier portal and the SAP systems behind it.
- Base64: a way of writing arbitrary data using only ordinary letters, digits and a couple of symbols, so it can travel safely inside a URL or a text field. It is not encryption; anyone can reverse it.
- zlib: a compression format, like zipping a file, used to make data smaller before sending it.
- OTP: one-time password, a short code sent by email or text that you type in addition to your password.
- Authentication vs authorisation: authentication is proving who you are (logging in). Authorisation is deciding what you are allowed to do once you are in. The bug here combined an open registration form, an automatic account-creation setting and no check that the account should have access.
- Authentication bypass: any flaw that lets someone get past a login check they should not pass. Here it was not a broken password check; it was a legitimate door left open to the public.
Scope and reconnaissance
A bug bounty programme has a scope: the list of systems you are allowed to test. Testing outside scope is not allowed. The target hostname was listed under Group 2 (Website Testing) in the programme brief. The researcher started by asking DNS what address that name points to:
dig A snctest-s.[target].com
Line by line:
digis a command-line tool for asking DNS questions.Ais the type of record being requested: an A record maps a name to an IPv4 address.snctest-s.[target].comis the hostname. The[target]part is a placeholder where the real brand's domain would be; it is hidden because of the programme's disclosure policy.
The answer was an IP address that also fell inside a range listed in scope under Group 4 (Network Testing). So the same machine was covered by two separate entries in the programme rules. That matters because it removes any doubt about whether testing it was allowed.
Next, a quick check of which services were listening on that machine:
nmap -sV -p 80,443 [IP]
Line by line:
nmapis a port scanner: it knocks on doors and reports which ones answer.-sVasks it to also try to identify the software and version behind each open port.-p 80,443limits the scan to just those two ports, which is faster and less noisy than scanning everything.[IP]is the address found in the previous step.
Ports 80 and 443 were open, which is exactly what you expect from a public website. The response also contained a cookie named NSC_ESNS. That name is a well-known fingerprint of a Citrix NetScaler ADC, a common appliance used as a load balancer. In plain terms: the site sits behind standard enterprise networking kit. Nothing unusual, but useful to know what you are talking to.
Following the redirect chain
The researcher then asked for the supplier page and told the tool to follow redirects:
curl -sk https://snctest-s.[target].com/supplier \ --max-redirs 2 -v 2>&1 | head -60
Line by line:
curlis a command-line browser: it fetches a URL and prints what comes back.-smeans silent: do not print the progress meter.-kmeans ignore certificate errors. Useful when a test host has a certificate that does not match its name; it does not change what the server sends back.https://snctest-s.[target].com/supplieris the address being requested. The path/supplieris the supplier area of the site.- The backslash at the end of the line is a line continuation: it tells the shell the command carries on to the next line.
--max-redirs 2allows at most two redirects to be followed.-vmeans verbose: show the request and response headers, not just the body. This is how you see what the server is doing behind the scenes.2>&1sends the error output into the normal output, so everything appears together.| head -60pipes the result intohead, which shows only the first 60 lines. Handy when a response is long.
Two 302 redirects (302 is the HTTP status code meaning "found elsewhere, go here") led to a SAP IAS login page carrying the brand's logo and styling. That is the normal start of a SAML login: the application hands you to the Identity Provider.
The response headers from that exchange contained this:
sap-server: truesap-usercontext: sap-client=100sap-perf-fesrec: 8142.000000
These are three headers run together in the captured output:
sap-server: truesays the responding system is an SAP server.sap-usercontext: sap-client=100says which SAP "client" is in use. In SAP, a client is a logical partition inside one installation, a bit like a separate tenant or database area. The number 100 is a common identifier.sap-perf-fesrec: 8142.000000is a performance measurement figure reported by the server.
None of this is a vulnerability by itself. It is reconnaissance: it confirms that real SAP infrastructure sits behind the portal and tells you which client number is in play. In a report, details like this help the receiving team locate the exact system.
Decoding the SAMLRequest
When the portal redirected the browser to the login service, the redirect address contained a parameter called SAMLRequest. A parameter is a named value attached to a URL after a question mark, like ?name=value. This one holds the login request that the portal is sending to the Identity Provider, encoded so it can travel in a URL: base64 encoded and zlib compressed.
To read it, the researcher used Python, a programming language, with two of its built-in libraries:
import base64, zlib, urllib.parse
Line by line:
importloads a library so its functions can be used.base64handles base64 encoding and decoding.zlibhandles zlib compression and decompression.urllib.parsehandles URL encoding, where special characters are written as%XXsequences.
Then the actual decoding:
saml = urllib.parse.unquote('[value from redirect URL]')raw = saml.replace('-', '+').replace('_', '/')print(zlib.decompress(base64.b64decode(raw + '=='), -15).decode())
Line by line:
saml = urllib.parse.unquote('[value from redirect URL]')takes the value copied out of the redirect URL and undoes URL encoding, so%2Bbecomes+and so on. The result is stored in a variable calledsaml.raw = saml.replace('-', '+').replace('_', '/')converts from the URL-safe variant of base64 back to the standard alphabet. URL-safe base64 uses-and_where standard base64 uses+and/, because those two characters have special meanings in URLs.base64.b64decode(raw + '==')turns the base64 text back into raw bytes. The'=='pads the string to the length base64 expects; without correct padding the decoder complains.zlib.decompress(..., -15)decompresses the bytes. The-15tells zlib the data is raw deflate with no header, which is how SAML requests are usually packed..decode()turns the resulting bytes into readable text.print(...)displays it.
The decoded request looked like this:
<samlp:AuthnRequest Destination="https://[ias-tenant].accounts.ondemand.com/saml2/idp/sso/..." ForceAuthn="false"> <saml:Issuer>SCP</saml:Issuer> <samlp:NameIDPolicy AllowCreate="true"/></samlp:AuthnRequest>
This is XML, a text format for structured data, with tags in angle brackets. Reading it:
<samlp:AuthnRequest ...>is the outer element: a request to authenticate someone.samlpis just a namespace prefix, a label saying which standard this tag belongs to.Destination="https://[ias-tenant].accounts.ondemand.com/saml2/idp/sso/..."is where the request is being sent: the IAS tenant. A tenant here means one organisation's own separate instance of the service.ForceAuthn="false"means the Identity Provider does not have to make the user type credentials again if they already have a session. In other words, an existing login can be reused.<saml:Issuer>SCP</saml:Issuer>says which application is asking. SCP stands for Supplier Collaboration Production, so this is the live production system, not a test copy.<samlp:NameIDPolicy AllowCreate="true"/>is the important one. It tells the Identity Provider: if this person does not have an account yet, create one during this login.
That last setting is a real, documented SAP IAS feature, intended for controlled onboarding: a company can let known partners create accounts as part of their first login. The problem is that here it was switched on with no restrictions at all. In everyday terms: the application told the receptionist "if the visitor has no badge, print one for them", and the receptionist had no list of who was expected.
The registration page
The researcher then looked at the IAS login page itself and noticed a "Register" button at the bottom. It was visible to anyone, with no login needed to reach it. To confirm it was really reachable, he requested it directly:
curl -sk https://[ias-tenant].accounts.ondemand.com/ui/public/showRegisterForm \ -o /dev/null -w "%{http_code}\n"
Line by line:
curl -skas before: fetch the URL, quietly, ignoring certificate errors.- The URL is the registration form page on the IAS tenant.
-o /dev/nullthrows away the page content. We do not care what the form looks like, only whether it answers.-w "%{http_code}\n"prints the HTTP status code after the request.%{http_code}is a curl placeholder for the numeric result, and\nadds a newline.
A successful answer here means the form is publicly served. The form itself accepted any email address: no rule limiting it to the brand's own domains, no step where an administrator approves the new account, no check that the person works for a real supplier. That is the whole weakness in one sentence.
Exploitation
Step 1: confirm the behaviour on QA
"QA" means quality assurance: a test copy of the system, used before changes go live. Testing there first is good practice, because a mistake cannot affect real business data. The researcher went through the registration flow on the QA tenant:
- Filled out the registration form with a personal Gmail address.
- Received the standard verification email from
[redacted]. - Clicked the link to activate the account. The system assigned User ID P185030.
- Went back to the supplier portal.
- The SAML login completed automatically, because the account now existed and the portal trusted it.
- An email one-time password was triggered and entered.
- The browser landed on the SAP NetWeaver SCQ login screen, with System SCQ and Mandant 100.
SCQ is the QA counterpart of SCP. "Mandant" is the German word for client, the same SAP partition concept mentioned earlier. The screen showed:
⛔ UA 20/Twenty SCM Quality Assuranceℹ SAP Clients:⚠ 100 — QA Testing ClientRefresh date: August 15, 2026
This is the text of the QA system's landing page: it names the product area (SCM, supply chain management), labels itself as quality assurance, lists client 100 as a QA testing client, and shows a refresh date. Seeing this screen means the login chain worked end to end and the account had reached the application.
The researcher stopped here. He did not type any SAP username or password. The point had been proven: an outside Gmail account could get as far as the application's own login screen.
Step 2: repeat against production
The production tenant was serving the same registration page. Production means the real system, the one the business actually uses. The same steps were repeated:
- Registered with Gmail on the production tenant.
- Received the activation email from
[redacted]. - Activated the account. User ID P212606 was assigned.
- Went to the production supplier portal.
- The SAML login completed.
- The email one-time password was completed.
- The browser reached the SAP NetWeaver SCP login screen, with System SCP and Mandant 100.
Again he stopped immediately: no credentials attempted, no data accessed, the tab closed. This restraint is what separates a bug bounty test from an intrusion. The goal is to show that the door opens, not to walk through it.
Step 3: collect system-generated proof
SAP IAS has a built-in feature called "Download my data", available to any registered user. It produces a file describing that user's own account. The researcher used it on both accounts, which means the evidence came from the target's own system rather than from anything he wrote himself. That is much stronger in a report: the system is effectively signing a statement against itself.
QA account (P185030):
{ "uid": "P185030", "type": "public", "mail": "[gmail]", "spUsersAttributes": [{ "ServiceProviderName": "SCQ", "ProtectedURL": "https://snctest-s.[target].com", "Status": "ACTIVE", "ActivationTime": "20260920115821Z" }]}
Production account (P212606):
{ "uid": "P212606", "type": "public", "mail": "[gmail]", "spUsersAttributes": [{ "ServiceProviderName": "SCP", "ProtectedURL": "https://supplier.[target].com", "Status": "ACTIVE", "ActivationTime": "20260921192144Z" }]}
This is JSON, a text format for structured data built from names and values. Reading the fields:
uidis the user identifier the system assigned.typesays what kind of account it is.publicmeans a self-registered outside account, not an employee and not a partner set up through official channels.mailis the email address used. It was a Gmail address, redacted here.spUsersAttributesis a list of the applications this account is linked to.ServiceProviderNameis which application: SCQ for QA, SCP for production.ProtectedURLis the address of that application.StatusisACTIVE, meaning the account is live and enabled.ActivationTimeis when it was activated, in a compact timestamp format.
The key line is "type": "public" together with "Status": "ACTIVE" against the production service provider. A free email account, created by anyone, was live on a Fortune 500 company's production supplier system.
Step 4: responsible disclosure
Responsible disclosure means telling the owner about a problem privately and giving them time to fix it, rather than using it or publishing it. At every stage the researcher stopped the moment access was confirmed: at the SCQ login screen on QA, at the SCP login screen on production. No SAP username or password was attempted at any point, no data was accessed, no records viewed, no actions performed. Both test accounts were deleted after submission. The aim was to prove the attack chain exists, not to exploit it.
Step 5: check the patch after submission
After the report was filed, the researcher checked again and saw that the target had partially fixed the issue. The registration page without any parameters now returned an error:
https://[ias-tenant].accounts.ondemand.com/ui/public/showRegisterForm→ "The identity provider cannot process the request because of an incorrect configuration."
That looks like a fix: the generic registration address no longer serves a form. But the original route in still worked:
https://[ias-tenant].accounts.ondemand.com/ui/public/showRegisterForm?spName=sp.accounts.sap.com→ HTTP 200 — full registration form accessible
Line by line:
- The base address is the same registration page.
?spName=sp.accounts.sap.comadds a parameter naming a specific service provider. The?starts the parameter list,spNameis the parameter name, and the value after=identifies which application the registration is for.HTTP 200is the status code for success, and the full form was still rendered.
So the fix had closed the front door but left a side door open. The researcher reported this straight away as a comment on the Bugcrowd submission. Checking whether a fix actually works, rather than assuming it does, is part of the job.
Root cause
Three misconfigurations combined to create the vulnerability:
- SAP IAS self-registration enabled with no restrictions. The IAS tenant had self-registration open to anyone, with no email domain allowlist and no admin approval workflow.
AllowCreate="true"in the SAML configuration. The Service Provider explicitly authorised the Identity Provider to create new identities on the fly during authentication.- No SP-side authorisation check. The SCQ and SCP applications trusted any account the IAS tenant vouched for, without verifying group membership or organisational affiliation.
Any one of these alone would be manageable. Combined, they created a complete authentication bypass.
A simple comparison: a building where the receptionist will print a badge for anyone who asks, the tenant has told reception to do exactly that, and the office doors only check that a badge exists, not what is printed on it. Each rule sounds reasonable on its own. Together they let anyone walk in.
Impact
An external party with nothing more than a Gmail address could obtain an ACTIVE identity on the production supplier system and reach the SAP NetWeaver SCP login screen. The researcher did not go past the login screen, so what an authenticated SAP user could actually do there is not demonstrated in the report. The severity assigned by the programme was P3.
Fix
The report lists the following remediation, and the partial patch observed afterwards addressed only part of it.
Immediate:
- Disable self-registration on both IAS tenants, or restrict it to authorised email domains.
- Audit existing accounts for unauthorised self-registrations, looking for
"type": "public"accounts not provisioned through official channels. - Verify the
spNameparameter path is also disabled.
Short term:
- Implement SP-side authorisation: verify group membership, not just IAS authentication.
- Remove internal SAP headers from public-facing HTTP responses.
Long term:
- Audit all SAP IAS tenants for the same configuration.
- Any legitimate supplier onboarding flow should require admin approval.
Variants to test
These are the same ideas applied elsewhere, for researchers working within an authorised scope:
- Other IAS tenants with a public registration form. Request the registration endpoint on tenants you are authorised to test; a positive result is an HTTP 200 form that accepts an address outside the organisation's domains.
AllowCreate="true"in decoded SAML requests. Decode theSAMLRequestfrom any redirect to an IAS or similar IdP; a positive result isAllowCreate="true"on a Service Provider that fronts a sensitive application.- Parameter-based registration paths after a patch. If the bare registration endpoint starts returning a configuration error, try the same endpoint with a
spNameparameter; a positive result is HTTP 200 with the full form still rendered. - SP-side authorisation gaps. After authenticating with a self-registered account, check whether the application grants access based on authentication alone rather than group or role membership; a positive result is reaching an application login or landing page with an account that was never provisioned.
- Self-service data export as evidence. Where the IdP offers a "Download my data" feature, use it to capture the account's own record; a positive result is a
"type": "public"entry with"Status": "ACTIVE"against the production Service Provider.
Outcome and lessons
The Bugcrowd response was duplicate: the same vulnerability had been submitted nine months earlier and was still unpatched at the time of this submission. The bounty was $0. The finding itself was confirmed as valid at P3.
The researcher's own summary of what he learned: bug bounty rewards the first researcher on timing, not the best researcher. A perfectly documented finding submitted second is worth $0. Check known issues before investing hours. The methodology was right; the timing was not. A duplicate is confirmation that your skills are at the level where you find real vulnerabilities, not a failure. And always monitor your submissions after filing: the incomplete patch was found because he went back and checked.
Glossary
- Authentication: proving who you are, usually by logging in.
- Authentication bypass: a flaw that lets someone get past a login check they should not pass.
- Authorisation: deciding what an authenticated user is allowed to do.
- Base64: an encoding that turns any data into ordinary characters so it can travel in URLs or text. Not encryption; easily reversed.
- Bug bounty: a programme that pays researchers for reporting security problems responsibly.
- Bugcrowd: a platform that runs bug bounty programmes for companies.
- Client (SAP): a logical partition inside one SAP installation, identified by a number such as 100.
- Cookie: a small piece of text a site stores in your browser and receives back on later requests, often used to remember a session.
- curl: a command-line tool for sending HTTP requests and printing the responses.
- dig: a command-line tool for querying DNS.
- DNS: the system that translates names like
example.cominto IP addresses. - Duplicate: a report of a problem that has already been reported before.
- Header: labelled extra information sent with an HTTP request or response.
- HTTP / HTTPS: the language of the web; HTTPS is the same language inside an encrypted tunnel.
- IAS (SAP Identity Authentication Service): SAP's login and identity service, which holds accounts and authenticates users for applications.
- IP address: the numeric address of a machine on a network.
- JSON: a text format for structured data made of names and values.
- Load balancer: a machine that spreads incoming traffic across several servers.
- Mandant: German for client; the SAP partition concept.
- nmap: a command-line tool that scans a machine for open ports and identifies services.
- OTP (one-time password): a short code, often sent by email or text, used once as an extra login step.
- Parameter: a named value attached to a URL after a question mark, as in
?name=value. - Port: a numbered door on a machine through which a particular service is reached; 80 and 443 are the usual web ports.
- Production: the real, live system used by the business.
- QA (quality assurance): a test copy of a system used before changes go live.
- Reconnaissance: the information-gathering phase before testing, such as DNS lookups and port scans.
- Redirect: a server response telling the client to go to a different address.
- SAML: a standard for one system to tell another that a user is authenticated.
- SAMLRequest: the encoded login request an application sends to an Identity Provider in a SAML flow.
- Scope: the list of systems a bug bounty programme allows you to test.
- Self-registration: a feature that lets visitors create their own account without an administrator approving it.
- Service Provider (SP): the application that trusts an Identity Provider for logins.
- Severity (P3): a rating of how serious a finding is; on Bugcrowd, P3 is a medium-low level.
- Tenant: one organisation's separate instance of a shared service.
- XML: a text format for structured data using tags in angle brackets.
- zlib: a compression format used to shrink data before sending it.