Bypassing Access Controls: How I Found an Unauthenticated Payment Processing Endpoint (CVSS 8.5)
A production payment microservice exposed critical endpoints that processed real Cybersource payment operations without server-side authentication, relying only on a CORS Origin header. An unauthenticated attacker could mint signed session tokens, reach the live payment processor, and enumerate internal product structures.
Cybersecurity
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
During web application security research, I identified a critical vulnerability on a production payment microservice at payments.itlp.c1.vanguard.com. The application exposed multiple critical endpoints that processed real Cybersource payment operations without any server-side authentication.
The sole mechanism protecting these endpoints was a CORS Origin header. That is a browser-only restriction, and it is trivially bypassed using command-line tools like curl.
The report classifies the issue under two weakness classes:
- CWE-306: Missing Authentication for Critical Function
- CWE-200: Exposure of Sensitive Information
It carries a CVSS 3.1 score of 8.5 (High) with the vector AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N, and at the time of writing its status was Triaged / Open.
Setup
The testing was done against the production payment microservice. The only tooling the report shows is curl, used from the command line. No accounts, roles or special preconditions are described: the whole point of the finding is that the requests below were sent without any user session or authentication token.
Finding it
The OpenAPI documentation for the service was completely public and did not require authentication. Reading it exposed internal routes (ISA, JISA, GA, SIPP), vgNumber formats, and 3DS flows. The schema exposed the internal routes, the vgNumber format and the 3DS flows.
What made the exposure look wrong was the combination: a public schema describing payment operations, endpoints that answered without authentication, and a CORS Origin header as the only thing standing between a caller and the processor. A header that browsers enforce is not an access control for anything that can speak HTTP directly.
Exploitation
Step 1: Confirming the public OpenAPI schema
The OpenAPI documentation was reachable without authentication and disclosed the internal routes, the vgNumber format and the 3DS flows:
curl -sS 'https:
Step 2: Minting a live Cybersource session
An unauthenticated POST to the microforms session endpoint returned a live, signed RS256 captureContext JWT. That JWT contained the merchant's JWK and the allowed card networks (VISA, MASTERCARD, MAESTRO).
curl -sS \ -H 'Content-Type: application/json' \ -H 'Origin: https: -d '{"amount":"10.00","currency":"GBP","product":"ISA"}' \ 'https:
The request sets a JSON content type, supplies an Origin header, and posts an amount, a currency and a product. The response is a signed token containing the merchant's JWK and the enabled card networks.
Step 3: Reaching the live payment processor
Forwarding a payment request directly to the processor, with no user session and no authentication token, returned real, valid transaction IDs from Cybersource.
curl -sS \ -H 'Content-Type: application/json' \ -d '{ "transientToken": "not-a-real-token", "amount": "1.00", "currency": "GBP", "referenceNumber": "H1-RESEARCH-NO-CHARGE", "product": "ISA", "vgNumber": "VG000000-001", "paymentRouteType": "Single Payment" }' \ 'https:
The payload carries a deliberately invalid transientToken, a one-unit amount in GBP, a research reference number, a product, a vgNumber and a payment route type. The response contained real transaction IDs, for example 7892376939806836504896, which confirmed that the endpoint had successfully communicated with the live Cybersource gateway.
Root cause
The endpoints performed no server-side authentication. The only control in front of them was a CORS Origin header check, which constrains what a browser will let a page read but does nothing to a client that sets its own headers, such as curl. Because the check lives at the browser boundary rather than in the service, any direct caller reached the same code path that the frontend uses, including the session minting and the forwarding to Cybersource.
Impact
An unauthenticated attacker could leverage these flaws to:
- Obtain live merchant credentials: extract signed JWTs and active card network configurations outside the intended frontend application.
- Forward arbitrary payment requests: reach the live Cybersource processor directly without investor verification.
- Enumerate internal product structures: map out account types, routing workflows and parameter requirements to plan subsequent attacks.
The report says testing was halted immediately once transaction IDs confirmed processor reachability.
Ethics and safety
As ethical security researchers, responsible testing was the stated priority:
- No real card data (PAN, CVV, expiry) was used at any point.
- No financial charges were completed or attempted.
- No Personally Identifiable Information (PII) or investor accounts were accessed.
- Testing was halted immediately upon receiving transaction IDs that confirmed processor reachability.
Fix
The report does not describe a remediation that was applied, and its status was Triaged / Open.
Variants to test
- Public API schemas on payment services: fetch the OpenAPI document without credentials. A positive result is a schema that lists internal routes, identifier formats or third-party processor flows.
- Session or token minting endpoints: send an unauthenticated POST with a minimal body and an
Originheader. A positive result is a signed token, key material or processor configuration returned to an anonymous caller. - Direct processor forwarding: replay a payment-shaped request with a deliberately invalid token and a research reference. A positive result is a real transaction identifier from the processor, which shows the request reached the live gateway.
- CORS as the only control: repeat any of the above with
curland no browser. If the request succeeds, theOrigincheck was never an access control.
What happened, in plain words
A security researcher was looking at a payment service that belongs to a large financial company. This service is not the website you see in your browser. It is a behind-the-scenes piece of software, called a microservice, that the website talks to when someone pays. The researcher found that several of its most important functions could be used by anyone on the internet, with no login, no password and no account at all.
The only thing that appeared to protect these functions was a rule about which websites are allowed to talk to the service. That rule is enforced by web browsers, not by the service itself. Anyone using a command-line tool such as curl can simply ignore it. The researcher used curl to prove this: they read the service's public documentation, obtained a live payment session token, and sent a payment-shaped request straight to the real payment processor, which answered with real transaction IDs.
No real card details were used, no money was charged, and no customer data was accessed. The researcher stopped as soon as the processor's reply proved the point.
The background you need first
Before the steps make sense, here are the ideas the report relies on. Each one is explained from zero.
What an API and an endpoint are
An API (Application Programming Interface) is the set of doors a piece of software offers so that other software can ask it to do things. Think of a restaurant: the menu and the waiter are the API. You do not walk into the kitchen; you ask through the waiter, using dishes the kitchen has agreed to make.
An endpoint is one specific door on that API. It is a URL, like a web address, that accepts a particular kind of request and does a particular job. One endpoint might create a payment session; another might forward a payment to the card processor.
What a microservice is
A microservice is a small, focused program that does one job inside a larger system. A bank's website might be built from dozens of them: one for logins, one for statements, one for payments. The one in this report handles payments, and it is described as a production service, meaning the real one rather than a test copy.
What authentication and authorisation are
Authentication means proving who you are, like showing your passport at a border. Authorisation means checking whether that identified person is allowed to do the thing they are asking for, like a passport not granting you the right to enter every room in the building.
When a report says an endpoint has no server-side authentication, it means the checking is not done by the server, the computer that actually holds the data and does the work. If the server never checks, then anyone who can reach it is treated as a legitimate caller.
What a token and a JWT are
A token is a short piece of text that stands in for proof of identity or permission, a bit like a cloakroom ticket: whoever holds it can collect the coat. A JWT (JSON Web Token) is a particular format for such a token. It is a string of characters that carries some information inside it and can be signed, meaning the issuer stamps it in a way that lets others verify it really came from them and was not altered.
RS256 is the name of one signing method used for JWTs. It uses a pair of cryptographic keys: a private key that only the issuer has, used to sign, and a public key that anyone can use to check the signature.
What a JWK and a merchant are
A JWK (JSON Web Key) is a way of writing a cryptographic key as JSON, the text format used for most data exchanged between web services. In a payment setup, the merchant is the business that is allowed to take payments through the card processor. The merchant's key material is what proves to the processor that requests come from that business, so it is sensitive.
What Cybersource is
Cybersource is a payment processor: a company whose systems actually talk to the card networks to authorise and record card payments. A shop or bank does not process cards itself; it forwards the details to a processor like this one. Reaching the live processor means reaching the system that handles real money movements.
What CORS and the Origin header are
CORS (Cross-Origin Resource Sharing) is a set of rules that web browsers follow when a page loaded from one site tries to fetch data from another site. The browser sends an Origin header saying which site the page came from, and the server replies saying whether that site is allowed. The important part: the browser is the one enforcing the answer. A program like curl is not a browser. It sends whatever headers it likes and does not care about the reply's permission. So a CORS check is not a lock on the door; it is a note on the door that only browsers bother to read.
What OpenAPI is
OpenAPI is a standard way of writing down, in a machine-readable document, what an API offers: which endpoints exist, what each one expects, and what it returns. It is like the restaurant's printed menu. If that menu is public, anyone can read the full list of dishes and their ingredients without ordering anything.
What curl is
curl is a command-line tool for sending HTTP requests, the same kind of requests a browser sends, but typed by hand in a terminal. It is the standard way to show that something works without a browser in the way.
What the vulnerability classes mean
The report files the issue under two CWE entries. CWE is a catalogue of common software weaknesses, each with a number, so that findings can be compared across projects.
- CWE-306: Missing Authentication for Critical Function. A critical function, here payment processing, can be used without proving who you are. The comparison is a bank vault with no lock: the door is heavy and impressive, but it opens for anyone who pushes it.
- CWE-200: Exposure of Sensitive Information. Information that should be private is handed out to people who should not have it, such as internal route names or merchant key material.
What the CVSS score means
CVSS is a standard scoring system for the severity of a security flaw. Version 3.1 produces a number from 0 to 10 and a vector, a compact string listing the reasons for the score. A score of 8.5 is labelled High. The vector in this report is AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:N. Read piece by piece:
| Part | Meaning |
|---|---|
AV:N |
Attack Vector: Network. It can be attacked remotely over the internet. |
AC:L |
Attack Complexity: Low. No special conditions are needed. |
PR:N |
Privileges Required: None. No account or role is needed. |
UI:N |
User Interaction: None. No victim has to click anything. |
S:C |
Scope: Changed. The flaw affects components beyond the one that is vulnerable. |
C:L |
Confidentiality: Low impact on secrecy of data. |
I:H |
Integrity: High impact on the correctness of data. |
A:N |
Availability: No impact on the service being available. |
The status at the time of writing was Triaged / Open.
How the testing was set up
The testing was done against the production payment microservice, the real one. The only tool the report shows is curl, run from the command line. No accounts, roles or special preconditions are described, and that is the whole point: every request below was sent with no user session and no authentication token.
Finding it
The researcher read the service's OpenAPI documentation. It was completely public and needed no login. Reading it revealed internal routes named ISA, JISA, GA and SIPP, the format used for something called a vgNumber, and 3DS flows. 3DS (3-D Secure) is the extra verification step some card payments go through, such as a code sent to your phone.
Why start here? Because a public menu tells you what the kitchen can cook before you order anything. The schema exposed the internal routes, the vgNumber format and the 3DS flows.
What made the exposure look wrong was the combination: a public document describing payment operations, endpoints that answered without authentication, and a CORS Origin header as the only thing standing between a caller and the processor. A header that browsers enforce is not an access control for anything that can speak HTTP directly.
Exploitation
Step 1: Confirming the public OpenAPI schema
The OpenAPI documentation was reachable without authentication and disclosed the internal routes, the vgNumber format and the 3DS flows:
curl -sS 'https:
Line by line:
curlis the command-line tool being run.-sScombines two options:-ssilences the progress meter so the output is clean, and-Sstill shows error messages if something goes wrong. Together they mean quiet on success, loud on failure.- The quoted string is the URL being requested. It is the address of the OpenAPI document.
The documentation was readable by an anonymous visitor. It was, and the document listed the internal route names, the identifier format and the card verification flows. That gave the researcher the vocabulary needed for the next steps.
Step 2: Minting a live Cybersource session
An unauthenticated POST to the microforms session endpoint returned a live, signed RS256 captureContext JWT. That JWT contained the merchant's JWK and the allowed card networks (VISA, MASTERCARD, MAESTRO).
curl -sS \ -H 'Content-Type: application/json' \ -H 'Origin: https: -d '{"amount":"10.00","currency":"GBP","product":"ISA"}' \ 'https:
Line by line:
curl -sSagain runs the tool quietly but with errors visible.\at the end of a line means the command continues on the next line. It is only formatting, so a long command can be read.-H 'Content-Type: application/json'tells the server that the body being sent is JSON, the standard text format for structured data. Without this, the server might not know how to read the body.-H 'Origin: https:sends anOriginheader, the same kind a browser would send, naming the site the request supposedly comes from. The researcher is supplying it by hand, which is exactly what a browser would do automatically and whatcurlcan do freely.-d '{"amount":"10.00","currency":"GBP","product":"ISA"}'is the body of the request: an amount of 10.00, the currency GBP (British pounds), and the productISA.-dmeans send this as the request body.- The final quoted string is the URL of the session endpoint.
Why this step? Because the frontend, the part of the website a customer sees, needs a token before it can talk to Cybersource. The token could be obtained without logging in. It could. The response was a signed token containing the merchant's JWK and the enabled card networks. In other words, an anonymous caller was handed the credentials and configuration that belong to the merchant.
Step 3: Reaching the live payment processor
Forwarding a payment request directly to the processor, with no user session and no authentication token, returned real, valid transaction IDs from Cybersource.
curl -sS \ -H 'Content-Type: application/json' \ -d '{ "transientToken": "not-a-real-token", "amount": "1.00", "currency": "GBP", "referenceNumber": "H1-RESEARCH-NO-CHARGE", "product": "ISA", "vgNumber": "VG000000-001", "paymentRouteType": "Single Payment" }' \ 'https:
Line by line:
curl -sSruns the tool quietly but with errors visible.-H 'Content-Type: application/json'again declares the body as JSON.-d '{ ... }'is the JSON body, sent as the request body. Inside it:"transientToken": "not-a-real-token"is a deliberately invalid token. A transient token is a short-lived stand-in for card details, so the real card number never has to travel through every system. The token is deliberately invalid."amount": "1.00"is a one-unit amount in the chosen currency."currency": "GBP"is British pounds."referenceNumber": "H1-RESEARCH-NO-CHARGE"is a label attached to the request. The text makes clear it is research and no charge is intended."product": "ISA"names the product."vgNumber": "VG000000-001"is an identifier."paymentRouteType": "Single Payment"says which kind of payment routing to use.
- The final quoted string is the URL of the endpoint that forwards to the processor.
Why this step? Because obtaining a token only shows that a session can be created. The payment-shaped request reached the live processor. The response contained real transaction IDs, for example 7892376939806836504896, which confirmed that the endpoint had successfully communicated with the live Cybersource gateway. The researcher stopped at that point: a real transaction ID is proof of reachability.
Root cause
The endpoints performed no server-side authentication. The only control in front of them was a CORS Origin header check. That check constrains what a browser will let a page read, but it does nothing to a client that sets its own headers, such as curl. Because the check lives at the browser boundary rather than in the service, any direct caller reached the same code path that the frontend uses, including the session minting and the forwarding to Cybersource.
A useful comparison: a nightclub with a sign saying "members only" but no doorman. Anyone who walks past the sign is inside, because the sign was never enforcement.
Impact
An unauthenticated attacker could leverage these flaws to:
- Obtain live merchant credentials: extract signed JWTs and active card network configurations outside the intended frontend application.
- Forward arbitrary payment requests: reach the live Cybersource processor directly without investor verification.
- Enumerate internal product structures: map out account types, routing workflows and parameter requirements to plan subsequent attacks.
The report says testing was halted immediately once transaction IDs confirmed processor reachability.
Ethics and safety
As ethical security researchers, responsible testing was the stated priority:
- No real card data (PAN, CVV, expiry) was used at any point.
- No financial charges were completed or attempted.
- No Personally Identifiable Information (PII) or investor accounts were accessed.
- Testing was halted immediately upon receiving transaction IDs that confirmed processor reachability.
A few of those terms: PAN is the long number printed on a card. CVV is the three-digit security code on the back. PII means information that can identify a real person, such as a name, address or account number.
Fix
The report does not describe a remediation that was applied, and its status was Triaged / Open.
In plain terms: put a doorman at the door, not a sign.
Variants to test
If you are learning to look for this kind of flaw, these are checks worth trying, each with what a positive result looks like:
- Public API schemas on payment services: fetch the OpenAPI document without credentials. A positive result is a schema that lists internal routes, identifier formats or third-party processor flows.
- Session or token minting endpoints: send an unauthenticated POST with a minimal body and an
Originheader. A positive result is a signed token, key material or processor configuration returned to an anonymous caller. - Direct processor forwarding: replay a payment-shaped request with a deliberately invalid token and a research reference. A positive result is a real transaction identifier from the processor, which shows the request reached the live gateway.
- CORS as the only control: repeat any of the above with
curland no browser. If the request succeeds, theOrigincheck was never an access control.
Glossary
- API: the set of doors a piece of software offers so other software can ask it to do things.
- Endpoint: one specific URL on an API that accepts a particular request and performs a particular job.
- Microservice: a small, focused program that does one job inside a larger system.
- Production: the real, live version of a system that actual users and money depend on, as opposed to a test copy.
- Authentication: proving who you are.
- Authorisation: checking whether an identified person is allowed to do what they are asking.
- Server-side: done by the server, the computer that holds the data and performs the work, rather than by the browser.
- Token: a short piece of text that stands in for proof of identity or permission.
- JWT (JSON Web Token): a standard format for a signed token that carries information inside it.
- Signed: stamped cryptographically so others can verify who issued it and that it was not altered.
- RS256: a signing method for JWTs that uses a private key to sign and a public key to verify.
- JWK (JSON Web Key): a way of writing a cryptographic key as JSON.
- JSON: a plain-text format for structured data, widely used between web services.
- Merchant: the business that is allowed to take payments through a card processor.
- Cybersource: a payment processor, a company whose systems talk to the card networks to handle card payments.
- Payment processor: a service that carries out card payments on behalf of a merchant.
- CORS (Cross-Origin Resource Sharing): browser rules about whether a page from one site may fetch data from another site.
Originheader: a request header naming the site a request supposedly comes from; browsers send it automatically and enforce the server's answer.- OpenAPI: a standard, machine-readable description of what an API offers.
- Schema: the document describing the structure of an API or of data.
curl: a command-line tool for sending HTTP requests by hand.- HTTP request: a message a client sends to a server asking it to do something.
- Header: a labelled piece of extra information attached to an HTTP request or response.
- POST: an HTTP method used to send data to a server, often to create or submit something.
- Body: the main content of an HTTP request, such as the JSON data being submitted.
Content-Typeheader: a header saying what format the body is in, such as JSON.- CWE: a catalogue of common software weaknesses, each with a number.
- CWE-306: Missing Authentication for Critical Function, a critical function usable without proving identity.
- CWE-200: Exposure of Sensitive Information, private information handed to people who should not have it.
- CVSS: a standard scoring system for the severity of a security flaw, producing a number and a vector.
- CVSS vector: a compact string listing the reasons behind a CVSS score.
- Triaged / Open: reviewed and accepted by the receiving team, and not yet closed.
- 3DS (3-D Secure): an extra verification step for some card payments, such as a code sent to a phone.
captureContext: the name of the token returned by the session endpoint in this report.- Transient token: a short-lived stand-in for card details so the real card number need not travel through every system.
vgNumber: an identifier in a format described by the public documentation.- Transaction ID: an identifier the processor returns for a payment request it has handled.
- PAN: the long number printed on a payment card.
- CVV: the short security code printed on a payment card.
- PII (Personally Identifiable Information): information that can identify a real person.
- Remediation: the fix applied to close a vulnerability.