“PhishForce” — Vulnerability Uncovered in Salesforce’s Email Services Exploited for Phishing Facebook Accounts In-The-Wild
A vulnerability in Salesforce's email services allowed attackers to send phishing emails from a salesforce.com address by abusing the Email-to-Case feature to receive a verification link and verify a salesforce.com address as an Organization-Wide Email Address. Attackers could then send emails that bypassed anti-spam filters and appeared to come from Salesforce, targeting Facebook users with phishing pages hosted on Facebook's legacy games platform.
Published on labs.guard.io
Table of Contents
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.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
Attackers could send phishing emails from a salesforce.com address that bypassed anti-spam and anti-phishing mechanisms and were even marked as important by Google, potentially leading to Facebook account compromise.
What the attacker needed
A Salesforce account with Email-to-Case feature; Ability to configure Organization-Wide Email Addresses
The fix
Salesforce fixed the vulnerability by checking the validity of the domain against an approved domains list before initiating the address verification process.
How it was found
- Create an Email-to-Case flow to control the username part of a salesforce.com email address.
- Add the salesforce.com address that sends verification emails to the Acceptable Email Addresses list.
- Create a new Organization-Wide Email Address using the controlled salesforce.com address.
- Receive the verification email as a task in the Salesforce system and extract the verification link.
- Navigate to the verification link to verify the salesforce.com address.
- Compose and send phishing emails using the verified salesforce.com address as the sender.
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 write-up has not been written yet. The Original tab links to the source.
Salesforce lets companies send emails on their behalf, but it checks that you own the email address first by sending a verification link. The researchers found a way to receive that link inside Salesforce itself, so they could verify an email address that looked like it belonged to Salesforce. Then they could send phishing emails that appeared to come from Salesforce, making them harder to detect.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.