A vulnerability discovered in one of the subdomains of the official Salesforce website could have been exploited by malicious actors to take control of user accounts, researchers have warned.
Researchers at cloud application security firm Elastica identified a DOM-based cross-site scripting (XSS) vulnerability in admin.salesforce.com, a subdomain that hosts the ButtonClick Admin blog dedicated to Salesforce administrators.
The vulnerability allowed an attacker to inject scripts into the email address field where users subscribe to the blog. Experts demonstrated that the security hole could have also been exploited to inject JavaScript code hosted on a remote server, allowing malicious actors to push a well-designed phishing page that could harvest users’ credentials.
For the attack to work, the attackers had to trick users into clicking on a specially crafted link. However, researchers pointed out that since the URL appeared to lead to salesforce.com, it was unlikely that users would have suspected anything. Furthermore, it’s likely that spam filters and anti-phishing solutions would have allowed malicious emails containing such URLs to pass through.
In addition to phishing attacks, cybercriminals could have exploited the vulnerability to steal cookies and session identifiers, which could have led to account hijacking. Attackers could have also leveraged the security bug to deliver malicious code to users’ computers, Elastica said.
Experts believe this vulnerability posed a serious threat because Salesforce uses Single Sign On (SSO). While this feature makes it easier for customers to access various integrated apps, it also allows malicious actors who trick users into handing over their credentials to access several services.
“The use of SSO makes this vulnerability a viable threat to all SaaS applications. If user login credentials are compromised, the attackers have the ability to infiltrate a variety of cloud applications accessible through the service,” Elastica said.
The vulnerability was reported to Salesforce more than a month ago, but since it affected a subdomain and not the main website, the company rated it as having low impact. The issue was addressed only after Elastica informed Salesforce about its intention to disclose the flaw publicly.
“Exploitation of XSS vulnerabilities is among the most prolific methods of Web application hacking today,” noted Dr. Aditya K. Sood, lead architect of Elastica Cloud Threat Labs. “Although this particular flaw was only present in a Salesforce subdomain, exploiting the trust of the company’s primary domain could have allowed attackers to easily implement phishing attacks to gain access to user credentials. With stolen credentials, attackers can then access users’ accounts and exfiltrate sensitive data undetected for long periods of time.”

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.
More from Eduard Kovacs
- High-Severity Vulnerabilities Found in WellinTech Industrial Data Historian
- CISA Expands Cybersecurity Committee, Updates Baseline Security Goals
- Exploitation of 55 Zero-Day Vulnerabilities Came to Light in 2022: Mandiant
- Organizations Notified of Remotely Exploitable Vulnerabilities in Aveva HMI, SCADA Products
- Waterfall Security, TXOne Networks Launch New OT Security Appliances
- Hitachi Energy Blames Data Breach on Zero-Day as Ransomware Gang Threatens Firm
- New York Man Arrested for Running BreachForums Cybercrime Website
- Exploitation of Recent Fortinet Zero-Day Linked to Chinese Cyberspies
Latest News
- Backslash Snags $8M Seed Financing for AppSec Tech
- ‘Badsecrets’ Open Source Tool Detects Secrets in Many Web Frameworks
- High-Severity Vulnerabilities Found in WellinTech Industrial Data Historian
- Chrome 111 Update Patches High-Severity Vulnerabilities
- BreachForums Shut Down Over Law Enforcement Takeover Concerns
- CISA Expands Cybersecurity Committee, Updates Baseline Security Goals
- Malware Trends: What’s Old Is Still New
- Burnout in Cybersecurity – Can It Be Prevented?
