Bug Bounty: When a “Random” UUID Wasn’t Random Enough — Cross-Tenant Credential Leak in an ATS…
Bug Bounty Tips
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 a recruiting SaaS platform, and the feature in question is its integrations settings page. This is where a company connects its applicant tracking system (ATS) so that the platform can pull job and candidate data on the company's behalf. The ATS products named in the report are Greenhouse, Workday, Bullhorn, Talemetry and Heymarket.
The integration layer is exposed through an API path under /api/integrations-proxy/. Each tenant is identified by an organisation GUID, passed to the API as the orgId query parameter. The report does not describe the platform's name or the program it was reported through.
Setup
The researcher used Burp to watch proxy history while clicking through the integrations menus. No special account, role or version is described beyond a normal account belonging to the researcher's own organisation, which had no integrations configured. Knowing a target company's email domain was enough to obtain its organisation GUID.
Finding it
While browsing the integration settings, one request stood out:
GET /api/integrations-proxy/connections?orgId=<my-org-guid>
The response was an empty list, [], because the researcher had not set anything up. What mattered was where the tenant identifier lived: the orgId was in the URL, not in a signed cookie and not derived server-side from the session. It was editable by the client.
Exploitation
Step 1: find another way to obtain a tenant GUID
The researcher's reasoning was that a random UUID is only secret until some other part of the product hands it out. Searching the login and SSO flow turned up an endpoint that resolves a company's email domain to an SSO redirect, with no authentication required:
GET /api/auth/ssoEmail?email=[redacted]
The response contained a redirect URL:
{ "redirectUrl": ".../api/auth/sso/<target-company-org-guid>?.." }
The GUID embedded in that redirect had the same shape and format as the orgId used by the connections endpoint. Anyone could request it for any company simply by knowing the company's email domain, with no login and, as far as the researcher could find, no rate limiting. The identifier the access model relied on was therefore public.
Step 2: swap the tenant identifier on the read endpoint
With the foreign GUID in hand, the researcher replayed the connections request with the same session and the same cookies, changing only the orgId value:
GET /api/integrations-proxy/connections?orgId=<target-company-org-guid>
The response contained twenty-two connection records, all live and validated, covering Greenhouse, Workday, Bullhorn, Talemetry and Heymarket. Each record included the actual credential, not a field name and not a masked value:
{ "atsType": "heymarket", "validationStatus": "validated", "orgDomain": "target-company.com", "userAuthData": { "token": "<the actual, working token>" }}
Step 3: use a leaked connection ID as a bearer token on another endpoint
One of the leaked connection IDs, sent as a header to a different endpoint, returned the foreign company's job data:
GET /api/integrations-proxy/jobs/jobDescriptionsX-Account-ConnectionId: <foreign connection id>
The researcher's own organisation header was present in the request and had no effect. The connection ID alone was sufficient, behaving like a bearer token.
Step 4: prove write access with a create
The first report was deliberately read-only. The triager scored it without integrity or availability impact because nothing had been created or broken. To demonstrate more, the researcher tested whether the same endpoint accepted a POST. It did, and it used the same orgId query parameter as its tenant selector with the same missing check, so there was no separate authorisation logic for writes. A minimal, obviously fake connection record was posted to the foreign organisation:
POST /api/integrations-proxy/connections?orgId=<target-company-org-guid>{ "name": "RESEARCH-MARKER-<random>", "atsType": "bullhorn", "userAuthData": { "onlyProspects": false }, "orgDomain": "target-company.com"}
The response was 200 OK and echoed a generated id for the new record. Because a 200 alone does not prove persistence, the researcher went back to the read endpoint and counted: twenty-two connections before, twenty-three after, with the marker present in the list.
Step 5: turn the create into a delete
There was no DELETE verb on the resource and no remove action in the UI to trace. The create response, however, echoed the entire record, including fields the server had filled in: dateCreated, version and isDeleted: false. The presence of isDeleted suggested the endpoint performed an upsert, so posting again with the same id would overwrite the existing record rather than create a second one.
The researcher took the record the server had returned, changed nothing structurally, set isDeleted to true and renamed it so the action would be obvious in logs:
POST /api/integrations-proxy/connections?orgId=<target-company-org-guid>{ "id": "3f8tb8h68m", "name": "RESEARCH-MARKER-<random>-DELETED-BY-RESEARCHER", "atsType": "bullhorn", "userAuthData": { "onlyProspects": false }, "orgDomain": "target-company.com", "isDeleted": true}
The response was 200 OK with the same ID and isDeleted: true. To confirm the record had left the active inventory, the researcher read the list again: twenty-three connections became twenty-two, and the marker was gone from the list a normal recruiter would see.
Root cause
Tenant scope was taken from a client-controlled query parameter rather than from the session. The orgId value was treated as an unguessable secret, but a separate unauthenticated endpoint in the SSO flow disclosed it for any company whose email domain was known. The same missing check applied to both GET and POST on the connections resource, so the write path had no separate authorisation logic. On the jobs endpoint, the connection ID was trusted on its own, with the organisation header ignored, so possession of the ID was sufficient. The create endpoint behaved as an upsert keyed on the supplied id, which turned a create into an overwrite and allowed the isDeleted flag to be set on an existing record. Credentials were returned unmasked in API responses.
Impact
An unauthenticated attacker who knows a company's email domain can obtain that company's organisation GUID, then read its integration connections, including live validated credentials for Greenhouse, Workday, Bullhorn, Talemetry and Heymarket. With a leaked connection ID, the attacker can read that company's job data. The attacker can also create records in the foreign tenant and mark a record as deleted, changing another company's environment. The researcher notes that the read-only report was scored without integrity or availability impact, and that the demonstrated create and delete loop moved the severity from High to Critical.
Fix
The report does not state which changes were made. The recommendations it gives are: derive tenant scope from the session rather than the query string; treat a UUID as public if any other endpoint hands it out; check every verb that touches the resource, not just the read path; and mask live secrets in API responses so that even the legitimate owner does not see the raw value on every page load.
Variants to test
- Look for unauthenticated endpoints that resolve an email domain, subdomain or other public identifier to an internal tenant ID, such as SSO discovery, login redirect or workspace lookup. A positive result is a response containing a GUID or numeric ID matching the tenant selector used elsewhere.
- On any endpoint with a tenant or organisation parameter in the query string, replay the request with a foreign value while keeping your own session. A positive result is data belonging to the other tenant.
- Send a leaked or guessed resource ID as a header or path segment to a different endpoint and watch whether your own tenant header is ignored. A positive result is foreign data returned despite your own organisation context.
- Test whether a create endpoint is an upsert by posting the same
idtwice. A positive result is the second response returning the same ID with changed fields rather than a new record. - Look for soft-delete flags such as
isDeleted,deleted,archivedorstatusin create responses, then set them on an existing record. A positive result is the record disappearing from the normal listing. - Check whether credential fields in API responses are masked. A positive result is a raw token or secret returned in plain text.
What happened, in plain words
A security researcher was clicking around the settings of a recruiting website, the kind of site a company uses to manage job applications. That site lets a company connect other services, called applicant tracking systems (ATS), so the site can pull in job and candidate information automatically. While watching the network traffic, the researcher noticed that the site asked for a company's data using an identifier that was sitting right there in the web address, easy to change. By changing that one value, the researcher was able to read another company's connections, including the real tokens those connections used. Then the researcher went further and showed that the same weakness allowed creating and deleting records inside another company's account. This is a beginner-friendly walkthrough of how that was found and proven.
Background: what the product and feature do
A recruiting SaaS platform is a website that companies pay to use, rather than installing software themselves. One of its features is an integrations settings page. This is where a company hooks up its applicant tracking system (ATS) so that the platform can pull job and candidate data on the company's behalf. The ATS products named in the report are Greenhouse, Workday, Bullhorn, Talemetry and Heymarket.
To understand the rest, you need a few everyday ideas:
- API: think of it as a waiter in a restaurant. Your browser (the customer) does not walk into the kitchen; it asks the waiter for a dish, and the waiter brings it back. An API is the set of requests a website's front end sends to its back end to fetch or change data. Each request has a method (like
GETto read orPOSTto send something), a path (like/api/integrations-proxy/connections), and sometimes extra values called parameters. - Query parameter: the part of a web address after a question mark. In
?orgId=abc, the parameter name isorgIdand its value isabc. Anyone using the browser can edit it before pressing Enter. - Tenant: one customer's separate space inside a shared service. Your company's data and another company's data live in the same product but should be kept apart, like separate flats in one building.
- GUID / UUID: a long random-looking identifier, such as a string of letters and numbers, used to name a thing uniquely. People often assume that because it looks random, nobody can guess it.
- Cookie: a small piece of data your browser stores and sends back with each request so the server remembers who you are. A session is the server's memory of your logged-in visit, usually tied to a cookie.
- Token / credential: a secret string that acts like a password for a machine-to-machine connection. If someone else gets it, they can act as that connection.
- IDOR: short for Insecure Direct Object Reference. It means the server lets you ask for a specific object (a record, a file, an account) by its identifier, and does not check whether that object belongs to you. It is like a hotel giving you a key card that opens any room whose number you type in.
- Burp: a tool that sits between your browser and the website and lets you see and edit every request. The researcher used Burp to watch proxy history, meaning the log of requests passing through it.
The integration layer is exposed through an API path under /api/integrations-proxy/. Each tenant is identified by an organisation GUID, passed to the API as the orgId query parameter. The report does not describe the platform's name or the program it was reported through.
Setup
The researcher used Burp to watch proxy history while clicking through the integrations menus. No special account, role or version is described beyond a normal account belonging to the researcher's own organisation, which had no integrations configured. Knowing a target company's email domain was enough to obtain its organisation GUID.
Finding it
While browsing the integration settings, one request stood out:
GET /api/integrations-proxy/connections?orgId=<my-org-guid>
Line by line:
GETmeans "read something, do not change it"./api/integrations-proxy/connectionsis the address of the list of integration connections.?orgId=<my-org-guid>tells the server which company's list to return. Here it is the researcher's own organisation identifier.
The response was an empty list, [], because the researcher had not set anything up. What mattered was where the tenant identifier lived: the orgId was in the URL, not in a signed cookie and not derived server-side from the session. It was editable by the client. In plain terms, the server was trusting a value that the browser could type, instead of looking up the company from the logged-in session. That is the seed of the whole bug: if the client can type it, the client can lie about it.
Exploitation
Step 1: find another way to obtain a tenant GUID
The researcher's reasoning was that a random UUID is only secret until some other part of the product hands it out. Searching the login and SSO flow turned up an endpoint that resolves a company's email domain to an SSO redirect, with no authentication required:
GET /api/auth/ssoEmail?email=[redacted]
Line by line:
GETagain means read./api/auth/ssoEmailis an endpoint in the login flow. SSO stands for single sign-on, a way for a company's staff to log in through their company account.?email=[redacted]asks the server: given this email address, where should the login redirect go?
The response contained a redirect URL:
{ "redirectUrl": ".../api/auth/sso/<target-company-org-guid>?.." }
Line by line:
- The response is a small JSON object, a common text format for structured data.
redirectUrlis the address the browser would be sent to next.- Inside that address sits
<target-company-org-guid>, the company's organisation identifier.
The GUID embedded in that redirect had the same shape and format as the orgId used by the connections endpoint. Anyone could request it for any company simply by knowing the company's email domain, with no login and, as far as the researcher could find, no rate limiting. Rate limiting means a cap on how many requests you can make in a period. The identifier the access model relied on was therefore public. The lesson: a UUID is not a security boundary just because it is random. It is only as secret as the least careful endpoint that ever hands it out.
Step 2: swap the tenant identifier on the read endpoint
With the foreign GUID in hand, the researcher replayed the connections request with the same session and the same cookies, changing only the orgId value:
GET /api/integrations-proxy/connections?orgId=<target-company-org-guid>
Line by line:
- Everything is the same as the researcher's own request: same browser session, same cookies, same logged-in user.
- The only change is the
orgIdvalue, now pointing at the other company. - If the server checked the session, it would refuse. If it trusts the URL, it will answer.
The response contained twenty-two connection records, all live and validated, covering Greenhouse, Workday, Bullhorn, Talemetry and Heymarket. Each record included the actual credential, not a field name and not a masked value:
{ "atsType": "heymarket", "validationStatus": "validated", "orgDomain": "target-company.com", "userAuthData": { "token": "<the actual, working token>" }}
Line by line:
atsTypesays which ATS product this connection is for, here Heymarket.validationStatussays the connection has been checked and works.orgDomainis the company's email domain.userAuthDataholds the login data for the connection, andtokenis the real secret. Masking would show something like dots; here the raw value came back.
This is the IDOR in action: the server returned another tenant's records because the request simply named that tenant. The credentials being unmasked makes it worse, because a leaked token can be used directly.
Step 3: use a leaked connection ID as a bearer token on another endpoint
One of the leaked connection IDs, sent as a header to a different endpoint, returned the foreign company's job data:
GET /api/integrations-proxy/jobs/jobDescriptionsX-Account-ConnectionId: <foreign connection id>
Line by line:
GET /api/integrations-proxy/jobs/jobDescriptionsis a different endpoint that returns job descriptions.X-Account-ConnectionId: <foreign connection id>is a header, an extra piece of information attached to a request. Here it carries the connection ID taken from the leaked list.- The researcher's own organisation header was present in the request and had no effect. The connection ID alone was sufficient, behaving like a bearer token. A bearer token is a secret where simply holding it grants access, like a cloakroom ticket: whoever has the ticket gets the coat.
This showed the problem was a pattern, not one forgotten check. The fix is not one if statement; it is checking every place this ID is trusted.
Step 4: prove write access with a create
The first report was deliberately read-only. The triager scored it without integrity or availability impact because nothing had been created or broken. A triager is the person on the receiving side who assesses a report. Integrity impact means damage to data being correct; availability impact means damage to a service being usable. To demonstrate more, the researcher tested whether the same endpoint accepted a POST. It did, and it used the same orgId query parameter as its tenant selector with the same missing check, so there was no separate authorisation logic for writes. A minimal, obviously fake connection record was posted to the foreign organisation:
POST /api/integrations-proxy/connections?orgId=<target-company-org-guid>{ "name": "RESEARCH-MARKER-<random>", "atsType": "bullhorn", "userAuthData": { "onlyProspects": false }, "orgDomain": "target-company.com"}
Line by line:
POSTmeans "send data to create or change something".- The
orgIdin the URL again chooses the tenant, and again it is the foreign one. - The body (the JSON after the address) describes a new connection: a name clearly marked as a research marker, the ATS type
bullhorn, a small settings object, and the company domain. - The name is deliberately obvious so nobody mistakes it for real data.
The response was 200 OK and echoed a generated id for the new record. 200 OK is the standard success code. Because a 200 alone does not prove persistence, the researcher went back to the read endpoint and counted: twenty-two connections before, twenty-three after, with the marker present in the list. Persistence means the change actually stuck. The state change, not the status code, is the proof.
Step 5: turn the create into a delete
There was no DELETE verb on the resource and no remove action in the UI to trace. A verb here means the request method, such as GET, POST or DELETE. The create response, however, echoed the entire record, including fields the server had filled in: dateCreated, version and isDeleted: false. The presence of isDeleted suggested the endpoint performed an upsert, so posting again with the same id would overwrite the existing record rather than create a second one. An upsert means "update if it exists, otherwise insert". A soft delete is marking a record as deleted with a flag instead of erasing it.
The researcher took the record the server had returned, changed nothing structurally, set isDeleted to true and renamed it so the action would be obvious in logs:
POST /api/integrations-proxy/connections?orgId=<target-company-org-guid>{ "id": "3f8tb8h68m", "name": "RESEARCH-MARKER-<random>-DELETED-BY-RESEARCHER", "atsType": "bullhorn", "userAuthData": { "onlyProspects": false },
"orgDomain": "target-company.com",
"isDeleted": true
}
Line by line:
POSTto the same connections endpoint with the same foreignorgId.idis the identifier the server gave back earlier, so this is the same record, not a new one.- The name now says it was deleted by the researcher, for clarity in logs.
isDeleted: trueis the flag that marks the record as deleted.
The response was 200 OK with the same ID and isDeleted: true. To confirm the record had left the active inventory, the researcher read the list again: twenty-three connections became twenty-two, and the marker was gone from the list a normal recruiter would see. The satisfying part was realising that create and delete were secretly the same operation wearing different clothes.
Root cause
Tenant scope was taken from a client-controlled query parameter rather than from the session. The orgId value was treated as an unguessable secret, but a separate unauthenticated endpoint in the SSO flow disclosed it for any company whose email domain was known. The same missing check applied to both GET and POST on the connections resource, so the write path had no separate authorisation logic. On the jobs endpoint, the connection ID was trusted on its own, with the organisation header ignored, so possession of the ID was sufficient. The create endpoint behaved as an upsert keyed on the supplied id, which turned a create into an overwrite and allowed the isDeleted flag to be set on an existing record. Credentials were returned unmasked in API responses.
Impact
An unauthenticated attacker who knows a company's email domain can obtain that company's organisation GUID, then read its integration connections, including live validated credentials for Greenhouse, Workday, Bullhorn, Talemetry and Heymarket. With a leaked connection ID, the attacker can read that company's job data. The attacker can also create records in the foreign tenant and mark a record as deleted, changing another company's environment. The researcher notes that the read-only report was scored without integrity or availability impact, and that the demonstrated create and delete loop moved the severity from High to Critical.
Fix
The report does not state which changes were made. The recommendations it gives are: derive tenant scope from the session rather than the query string; treat a UUID as public if any other endpoint hands it out; check every verb that touches the resource, not just the read path; and mask live secrets in API responses so that even the legitimate owner does not see the raw value on every page load.
Variants to test
- Look for unauthenticated endpoints that resolve an email domain, subdomain or other public identifier to an internal tenant ID, such as SSO discovery, login redirect or workspace lookup. A positive result is a response containing a GUID or numeric ID matching the tenant selector used elsewhere.
- On any endpoint with a tenant or organisation parameter in the query string, replay the request with a foreign value while keeping your own session. A positive result is data belonging to the other tenant.
- Send a leaked or guessed resource ID as a header or path segment to a different endpoint and watch whether your own tenant header is ignored. A positive result is foreign data returned despite your own organisation context.
- Test whether a create endpoint is an upsert by posting the same
idtwice. A positive result is the second response returning the same ID with changed fields rather than a new record. - Look for soft-delete flags such as
isDeleted,deleted,archivedorstatusin create responses, then set them on an existing record. A positive result is the record disappearing from the normal listing. - Check whether credential fields in API responses are masked. A positive result is a raw token or secret returned in plain text.
Glossary
- API: the set of requests a website's front end sends to its back end to read or change data, like a waiter carrying orders to the kitchen.
- ATS (applicant tracking system): software a company uses to manage job applications and candidates.
- Bearer token: a secret where simply holding it grants access, like a cloakroom ticket.
- Burp: a tool that sits between your browser and a website so you can see and edit every request.
- Cookie: a small piece of data your browser stores and sends back so the server remembers who you are.
- Credential: a secret string, such as a token, that lets a connection act on someone's behalf.
- DELETE verb: a request method meaning "remove this".
- GET: a request method meaning "read something, do not change it".
- GUID / UUID: a long random-looking identifier used to name a thing uniquely.
- Header: an extra piece of information attached to a request, separate from the address and body.
- IDOR (Insecure Direct Object Reference): a flaw where the server lets you ask for an object by its identifier without checking that it belongs to you.
- Integrity impact: damage to data being correct, for example records being created or changed.
- Availability impact: damage to a service being usable, for example records being removed.
- JSON: a common text format for structured data, using curly braces and quoted names.
- Masking: hiding a secret in a response, for example showing dots instead of the real value.
- Org / tenant: one customer's separate space inside a shared service.
- Parameter (query parameter): a value in the web address after a question mark, such as
?orgId=abc. - Persistence: whether a change actually stuck, rather than just being acknowledged.
- POST: a request method meaning "send data to create or change something".
- Proxy history: the log of requests that passed through a proxy tool such as Burp.
- Rate limiting: a cap on how many requests you can make in a period.
- Redirect URL: the address a browser is sent to next.
- Session: the server's memory of your logged-in visit, usually tied to a cookie.
- Soft delete: marking a record as deleted with a flag instead of erasing it.
- SSO (single sign-on): logging in through a company account instead of a separate password.
- Status code (200 OK): a number in a response saying how the request went; 200 means success.
- Token: a secret string used as a password for a machine-to-machine connection.
- Triager: the person on the receiving side who assesses a security report.
- Upsert: an operation that updates a record if it exists and inserts it if it does not.
- Verb (request method): the word at the start of a request, such as
GET,POSTorDELETE.