Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Vulnerabilities

Researchers Show DRAM “Rowhammer” Bug Can Be Exploited Remotely

A team of researchers from Austria and France have demonstrated what they claim to be the first remote software-induced hardware fault attack. They have found a way to exploit the “Rowhammer” vulnerability remotely by using JavaScript.

A team of researchers from Austria and France have demonstrated what they claim to be the first remote software-induced hardware fault attack. They have found a way to exploit the “Rowhammer” vulnerability remotely by using JavaScript.

Google researchers demonstrated in March that a bug affecting some dynamic random-access memory (DRAM) chips can be exploited to gain kernel privileges on Linux and other systems.

The vulnerability exists because the memory cells in DRAM chips have been placed very close together to increase capacity and decreasing size. This makes it more difficult to prevent cells from electrically interacting with each other. Repeatedly accessing specific memory locations causes bit flips which, as Google researchers demonstrated, can be used for privilege escalation.

However, the exploits created by Google experts have been written in native code, they rely on special instructions, and they require physical access to the targeted machine.

Researchers have now demonstrated that such hardware fault attacks can be carried out remotely using JavaScript.

Rowhammer.js does not require the execution of native code or access to special instructions. And since it leverages JavaScript, the attack can be launched against a large number of users simultaneously from a malicious website.

While Rowhammer.js has been implemented in JavaScript on Firefox, the experts have pointed out that the technique they describe can be adapted to any architecture, runtime environment and programming language as long as an efficient stream of memory access instructions can be produced. They have also noted that their proof-of-concept (PoC) attack does not rely on any JavaScript or browser vulnerabilities.

“Rowhammer.js is possible because today’s JavaScript implementations are well optimized and achieve almost native code performance for our use case. JavaScript is strictly sandboxed and the language provides no possibility to retrieve virtual or physical addresses. However, the usage of large pages allows determining parts of the physical address,” reads the research paper published last week.

Researchers have demonstrated that a Rowhammer attack can be launched using JavaScript, but they have not developed a full root exploit. However, they believe malicious actors could adapt existing Rowhammer exploits to their attack technique in order to gain root privileges.

Some hardware manufacturers, including Apple, have already started releasing BIOS updates to mitigate Rowhammer attacks. However, since many users never update the BIOS, experts propose a different approach. They advise browser vendors to integrate Rowhammer protection mechanisms in their products.

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.

Register

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.

Register

Expert Insights

Related Content

Vulnerabilities

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

Application Security

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

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

Vulnerabilities

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.

Vulnerabilities

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