Virtual Event Today: Supply Chain Security Summit - Join Event In-Progress

Security Experts:

Connect with us

Hi, what are you looking for?



Flaw in Salesforce Subdomain Enabled Phishing Attacks

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.

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, 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, 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.”

Written By

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.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.


Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.


GoAnywhere MFT users warned about a zero-day remote code injection exploit that can be targeted directly from the internet