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.

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
- 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
- Mozilla Patches High-Severity Vulnerabilities With Release of Firefox 111
- Microsoft: 17 European Nations Targeted by Russia in 2023 as Espionage Ramping Up
Latest News
- Google Suspends Chinese Shopping App Amid Security Concerns
- Verosint Launches Account Fraud Detection and Prevention Platform
- Ransomware Gang Publishes Data Allegedly Stolen From Maritime Firm Royal Dirkzwager
- Zoom Paid Out $3.9 Million in Bug Bounties in 2022
- Oleria Scores $8M Seed Funding for ID Authentication Technology
- Exploitation of 55 Zero-Day Vulnerabilities Came to Light in 2022: Mandiant
- News Analysis: UK Commits $3 Billion to Support National Quantum Strategy
- Malicious NuGet Packages Used to Target .NET Developers
