[acronis.secure.force.com] - Insecure Salesforce default/custom object permissions leads to information disclosure
A Salesforce instance exposed the Event object to unauthenticated guest users through its Aura API, so anyone could query records without logging in. An attacker could pull sensitive records belonging to other users, including internal meeting information.
- Triaged in 3 days
- Fixed in 12 days
- Paid in 3 days
- Disclosed after 10 months
Hi there,
I know that this domain https://acronis.secure.force.com is not listed in scope but I thought it would be a good idea to share this finding with you because this endpoint is leaking internal information/meetings.
Target: The Salesforce instance at https://acronis.secure.force.com.
Description: The web application at https://acronis.secure.force.com is built using Salesforce. Salesforce is a CRM for developing web applications providing a number of abstractions to simplify the development of data-driven applications. In particular, the Aura framework enables developers to build applications using reusable components exposing an API in order for the components to interact with the application.
During testing it was discovered that the Salesforce instance has loose permissions on the Event object for unauthenticated Guest users.
Therefore, a malicious attacker may be able to extract sensitive information belonging to other users of the application. To do this, an unauthenticated attacker may craft a HTTP request directly to the Aura API at https://acronis.secure.force.com/acc/aura, using built-in controller methods normally used by the Salesforce Lightning components.
Steps to Reproduce:
- Ensure Burp Suite is sniffing all HTTP(S) requests in the background;
- Navigate to https://aaroncostello-developer-edition.eu45.force.com, this is to retrieve a template aura request for use;
- Find a POST request in Burp's Proxy history to the
/s/sfsites/auraendpoint; - Send it to the repeater;
- Modify both the Host header and Burp's target field to
acronis.secure.force.com - Modify the POST request to
/acc/aura - Change the message POST parameter to the payload below. Please note that all other parameters should remain untouched, and that in this example payload, a pageSize of 100 is used for speed however more records can be retrieved:
Event
{"actions":[{"id":"123;a","descriptor":"serviceComponent://ui.force.components.controllers.lists.selectableListDataProvider.SelectableListDataProviderController/ACTION$getItems","callingDescriptor":"UNKNOWN","params":{"entityNameOrId":"Event","layoutType":"FULL","pageSize":100,"currentPage":0,"useTimeout":false,"getCount":false,"enableRowActions":false}}]}
- Submit the request
- The response contains sensitive information belonging to other users.
Remediation: Enforce record level security (RLS) on the vulnerable object to ensure records are only able to be retrieved by the record owner, and privileged users of the application.
Thank you
Impact
The Salesforce instance does not enforce sufficient authorization checks when specific objects are requested. As such, an unauthenticated attacker may be able to extract sensitive data from the records in these objects which contains information of other users. This includes internal information/meetings.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the guest user profile was granted read access to the Event object without record-level security, so the Aura controller returned records to unauthenticated callers.
Impact
An unauthenticated attacker may be able to extract sensitive data, including internal information and meetings, belonging to other users.
What the attacker needed
No account needed; ability to send crafted HTTP requests
The fix
Record-level security should be enforced on the affected object so only the record owner and privileged users can retrieve records.
How it was found
- Capture traffic in an intercepting proxy while browsing.
- Visit a separate Salesforce developer instance to obtain a template Aura request.
- Find a POST request to the Aura endpoint in the proxy history and send it to the repeater.
- Change the host and target to the Acronis instance and point the path at its Aura endpoint.
- Replace the message parameter with a request for Event records, leaving other parameters unchanged.
- Submit the request; the response returns other users' records.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Salesforce is a platform for building business apps, and its Aura API is the channel the app's own pages use to fetch data. Here the permission settings let anyone, even someone not logged in, ask that API for records they should never see. The fix is to tighten those permissions so only the right people can read each record.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.