Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Millions of Devices With Intel CPUs Exposed to SWAPGS Attack

SWAPGS attack

Researchers have discovered yet another speculative execution vulnerability that can allow attackers to steal potentially sensitive information from devices with Intel processors.

SWAPGS attack

Researchers have discovered yet another speculative execution vulnerability that can allow attackers to steal potentially sensitive information from devices with Intel processors.

The flaw, identified by researchers at Bitdefender, is similar to Spectre Variant 1, which researchers disclosed in January 2018. However, unlike in the case of the original Spectre, for which Intel released processor microcode patches, the new vulnerability has been addressed only with software updates.

The newly disclosed side-channel attack method, dubbed SWAPGS Attack, is related to how Intel processors handle the SWAPGS instruction during speculative execution, a performance optimization technique that involves executing instructions before they are actually needed.

A skilled attacker who has already compromised the targeted system could use a SWAPGS attack to gain access to data stored in the memory that they would normally not be allowed to access. They could use this to escalate privileges or obtain sensitive information, such as passwords and encryption keys.

According to Bitdefender, the vulnerability impacts millions of home and enterprise devices that use Intel CPUs supporting SWAPGS and WRGSBASE instructions. This includes a vast majority of CPUs made since 2012. The cybersecurity firm has published a whitepaper detailing its findings, along with a video showing an attack against a machine running Windows 10.

After consultations with industry partners, Intel decided that the best mitigation for this flaw, tracked as CVE-2019-1125, would be at the software layer. Microsoft released a software update that should address the issue in July and published an advisory on August 6 to coincide with Bitdefender’s disclosure. Previous mitigations for Spectre attacks do not provide protection for SWAPGS attacks.

“To exploit this vulnerability, an attacker would have to log on to an affected system and run a specially crafted application. The vulnerability would not allow an attacker to elevate user rights directly, but it could be used to obtain information that could be used to try to compromise the affected system further,” Microsoft said.

Red Hat has published a knowledgebase article describing the impact of the vulnerability on Linux systems, and informed users that updates to the Linux kernel are required.

Devices with AMD processors do not appear to be vulnerable to the SWAPGS attack.

“Based on external and internal analysis, AMD believes it is not vulnerable to the SWAPGS variant attacks because AMD products are designed not to speculate on the new GS value following a speculative SWAPGS. For the attack that is not a SWAPGS variant, the mitigation is to implement our existing recommendations for Spectre variant 1,” AMD said.

News of the SWAPGS vulnerability comes just weeks after the disclosure of several Microarchitectural Data Sampling (MDS) vulnerabilities affecting most Intel processors made in the last decade.

Related: Several Siemens Devices Affected by Intel MDS Vulnerabilities

Related: New Class of Vulnerabilities Leak Data From Intel Chips

Related: Foreshadow: New Speculative Execution Flaws Found in Intel CPUs

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

Expert Insights

Related Content

Cloud Security

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

IoT Security

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

Mobile & Wireless

Apple rolled out iOS 16.3 and macOS Ventura 13.2 to cover serious security vulnerabilities.

Email Security

Microsoft is urging customers to install the latest Exchange Server updates and harden their environments to prevent malicious attacks.

Mobile & Wireless

Technical details published for an Arm Mali GPU flaw leading to arbitrary kernel code execution and root on Pixel 6.

Vulnerabilities

Security researchers have observed an uptick in attacks targeting CVE-2021-35394, an RCE vulnerability in Realtek Jungle SDK.

Vulnerabilities

Google has awarded more than $25,000 to the researchers who reported the vulnerabilities patched with the release of the latest Chrome update.

Mobile & Wireless

Apple’s iOS 12.5.7 update patches CVE-2022-42856, an actively exploited vulnerability, in old iPhones and iPads.