Attackers Exploit SaltStack Flaws to Compromise Open Source OS & Blogging Platform
Intruders gained access to core systems at the Android-based LineageOS project and the Ghost platform.
May 4, 2020
![](https://eu-images.contentstack.com/v3/assets/blt6d90778a997de1cd/bltc94608acf452fd67/655cf371ab171e040a838b2a/329050_DR23_Graphics_Website_V5_Default_Image_v1.png?width=1280&auto=webp&quality=95&format=jpg&disable=upscale)
Attackers exploited two recently disclosed vulnerabilities in the SaltStack orchestration and configuration management framework to compromise at least two well-known open source technologies over the weekend.
On early Sunday, the team maintaining the free, open source LineageOS mobile operating system announced that an attacker had used the flaws in SaltStack to access the project's main infrastructure.
The Saturday night intrusion resulted in all services being taken offline briefly while the maintainers of the operating system worked on reprovisioning affected servers. In a statement via Twitter, the LineageOS team announced that source code, signing keys, and OS builds had not been affected in the attack.
OS builds were unaffected because builds already had been paused since April 30 due to an unrelated issue, while signing keys for the OS were not affected because they are stored entirely separately from the main infrastructure, LineageOS said.
The Android-based LineageOS currently runs on more than 120 devices from nearly two-dozen vendors, including LG, Samsung, Sony, Google, Huawei, Motorola, and Asus. The OS has over 1.4 million downloads.
The second incident involved the Ghost open source blogging platform. As with LineageOS, the attack on the nonprofit happened on Saturday and involved the same vulnerabilities in SaltStack.
In a status update posted on its site, Ghost said the attackers exploited the SaltStack bug to plant cryptomining malware on Ghost's servers. "The mining attempt spiked CPUs and quickly overloaded most of our systems, which alerted us to the issue immediately," Ghost said.
The attackers appear to have made no attempt to access any of Ghost's systems or data. Even so, all sessions, passwords. and keys have been changed and all servers have been reprovisioned, the nonprofit said. Administrators at Ghost also added multiple new firewalls and security precautions, which in turn caused network instability and connectivity problems for some sites running on Ghost.
In subsequent updates, including one Monday, Ghost said it had addressed the stability and other issues caused by its new security controls and eliminated all traces of the cryptomining malware from its servers. "The team is now working hard on remediation to clean and rebuild our entire network. We will keep this incident open and continue to share updates," Ghost said.
SaltStack Flaws
Security vendor F-Secure recently discovered and reported on the two vulnerabilities in SaltStack that were exploited in the attacks on LineageOS and Ghost.
The company described the two flaws (CVE-2020-11651 and CVE-2020-11652) as authentication bypass and directory traversal vulnerabilities affecting the so-called "master" and "minion" model in the SaltStack framework.
The minion is basically an agent that runs on every server that is monitored and managed by a SaltStack master installation. F-Secure found that attackers could take advantage of the two vulnerabilities to essentially gain root-level access and execute malicious commands remotely on both the master and all minions connecting to it.
According to F-Secure, a scan of the Internet revealed more than 6,000 SaltStack masters that are exposed publicly and are vulnerable to attack. "We expect that any competent hacker will be able to create 100% reliable exploits for these issues in under 24 hours," the security vendor said in explaining why it had not so far released proof-of-concept exploit code.
SaltStack has issued a fix for both flaws, but at least some of the exposed master servers are not configured to automatically receive the updates, which means they are likely to remain vulnerable, F-Secure noted.
"Active exploitation has been observed in the wild for two critical flaws in the Salt management framework, which is used in data centers and cloud environments to configure, monitor, and update systems," Satnam Narang, staff research engineer at Tenable, wrote in an email.
Organizations that use Salt in their environment should apply the available patches as soon as possible, Narang advised. "If patching isn't possible, ensure that proper network security controls are in place for the Salt master," he wrote.
Related Content:
Check out The Edge, Dark Reading's new section for features, threat data, and in-depth perspectives. Today's featured story: "Election Security in the Age of Social Distancing."
About the Author
You May Also Like
Catch the Threat Before it Catches you: Proactive Ransomware Defense
September 5, 2024How to Evaluate Hybrid-Cloud Network Policies and Enhance Security
September 18, 2024DORA and PCI DSS 4.0: Scale Your Mainframe Security Strategy Among Evolving Regulations
September 26, 2024Harnessing the Power of Automation to Boost Enterprise Cybersecurity
October 3, 2024
[Virtual Event] The Essential Guide to Cloud Management
October 17, 2024Black Hat Europe - December 9-12 - Learn More
December 10, 2024SecTor - Canada's IT Security Conference Oct 22-24 - Learn More
October 22, 2024