Wednesday, December 18, 2024
HomeChromeGoogle Adds V8 Sandbox To Chrome To Fight Against Browser Attacks

Google Adds V8 Sandbox To Chrome To Fight Against Browser Attacks

Published on

SIEM as a Service

A Sandbox is a protective medium that blocks the entire system from any application accessing vulnerable resources. 

Restrictive environments for web content in browsers called sandboxes reduce the impact that can be caused by browser-based attacks such as malicious programs or infected scripts. 

This helps limit, to some extent, the damage attackers can do to the user’s device or data.

- Advertisement - SIEM as a Service

After years of development, the V8 Sandbox—a lightweight, in-process sandbox for the V8 JavaScript engine—has advanced enough to be included in Chrome’s Vulnerability Reward Program, marking an important step towards becoming a strong security boundary. 

Google Adds V8 Sandbox

After years in development, the V8 Sandbox – a lightweight, in-process sandbox for V8 JavaScript engine – has advanced enough to be included in Chrome’s Vulnerability Reward Program, marking an important step towards becoming a strong security boundary. 

Though issues remain before full enforcement, Chrome 123 represents a “beta” release showcasing how the sandbox prevents V8 memory corruptions from spreading within the host process.

When number conversion is performed as part of user-defined callbacks, there might be some hidden vulnerability.

Document
Stop Advanced Phishing Attack With AI

AI-Powered Protection for Business Email Security

Trustifi’s Advanced threat protection prevents the widest spectrum of sophisticated attacks before they reach a user’s mailbox. Stopping 99% of phishing attacks missed by other email security solutions. .

However, this demonstrates why modern JavaScript engines are usually attacked by flawed logic rather than memory corruption-style bugs. 

Consequently, memory-safe languages could help in preventing such problems from happening within handwritten runtime code but do nothing to prevent logic bugs due to optimized JIT compilers generating unsafe code.

The inter-object corruption detection in V8 has no space for tag bits because of pointer compression.

While some specific applications have proven their efficiency, they do not work effectively with complicated logic bugs in JavaScript engines.

Using the sandbox approach like in operating systems where there is a separation between user and kernel allows the use of V8’s memory isolation for preventing potential exploits.

However, the current software-based sandbox does not allow memory access outside of the vulnerable data types as it replaces them.

To create a read/write primitive, the attacker has to manipulate either the size or buffer pointer. 

Outcomes (Source – V8)

With the sandbox active, assuming the buffer resides within, the object is transformed to include a sandbox_ptr_t offset and a sandbox-compatible size. 

Sandbox design (Source – V8)

In contrast, if the buffer is external, the object changes with an external_ptr_t that references the buffer through pointer table indirection like those in memory safety mechanisms such as Unix kernels’ file descriptor table or WebAssembly.Table.

The published post states that the V8 Sandbox, which can be enabled or disabled by the v8_enable_sandbox flag, has to use a 64-bit system at build time because it reserves one TB of virtual address space.

For the past two years, Chrome versions have supported it by default to ensure stability and gather performance data.

These had to be bypassed in recent exploits, providing early security feedback.

The current memory safety limitations are not being prevented by something, but this new mechanism prevents V8 memory corruption from affecting other processes required for optimizing the JavaScript engine.

Secure your emails in a heartbeat! To find your ideal email security vendor, Take a Free 30-Second Assessment.

Tushar Subhra
Tushar Subhra
Tushar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Latest articles

New VIPKeyLogger Via Weaponized Office Documenrs Steals Login Credentials

The VIPKeyLogger infostealer, exhibiting similarities to the Snake Keylogger, is actively circulating through phishing...

INTERPOL Urges to End ‘Pig Butchering’ & Replaces With “Romance Baiting”

INTERPOL has called for the term "romance baiting" to replace "pig butchering," a phrase...

New I2PRAT Malware Using encrypted peer-to-peer communication to Evade Detections

Cybersecurity experts are sounding the alarm over a new strain of malware dubbed "I2PRAT,"...

Earth Koshchei Employs RDP Relay, Rogue RDP server in Server Attacks

 A new cyber campaign by the advanced persistent threat (APT) group Earth Koshchei has...

API Security Webinar

72 Hours to Audit-Ready API Security

APIs present a unique challenge in this landscape, as risk assessment and mitigation are often hindered by incomplete API inventories and insufficient documentation.

Join Vivek Gopalan, VP of Products at Indusface, in this insightful webinar as he unveils a practical framework for discovering, assessing, and addressing open API vulnerabilities within just 72 hours.

Discussion points

API Discovery: Techniques to identify and map your public APIs comprehensively.
Vulnerability Scanning: Best practices for API vulnerability analysis and penetration testing.
Clean Reporting: Steps to generate a clean, audit-ready vulnerability report within 72 hours.

More like this

1-Click RCE Attack In Kerio Control UTM Allow Attackers Gain Firewall Root Access Remotely

GFI Software's Kerio Control, a popular UTM solution, was found to be vulnerable to...

Multiple SHARP Routers Vulnerabilities Let Attackers Execute Arbitrary Code

Multiple vulnerabilities have been identified in SHARP routers, potentially allowing attackers to execute arbitrary...

CISA Warns of Adobe & Windows Kernel Driver Vulnerabilities Exploited in Attacks

The Cybersecurity and Infrastructure Security Agency (CISA) has issued a critical alert, adding two...