Lucene search
+L

Microsoft Edge Chakra JIT BoundFunction::NewInstance Bug

🗓️ 12 Jul 2018 00:00:00Reported by Google Security ResearchType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 47 Views

Microsoft Edge Chakra BoundFunction::NewInstance Bu

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Microsoft Edge Chakra JIT - BoundFunction::NewInstance Out-of-Bounds Read Exploit
12 Jul 201800:00
–zdt
bdu_fstec
BDU FSTEC
ChakraCore Buffer Overflow RCE
29 Jun 201800:00
–bdu_fstec
circl
Circl
CVE-2018-8139
12 Jul 201800:00
–circl
cnvd
CNVD
Microsoft ChakraCore and Edge Remote Code Execution Vulnerability (CNVD-2018-10202)
9 May 201800:00
–cnvd
checkpoint_advisories
Check Point Advisories
Microsoft Edge Out Of Bounds Read (CVE-2018-8139)
12 Jul 201800:00
–checkpoint_advisories
cve
CVE
CVE-2018-8139
9 May 201819:00
–cve
cvelist
Cvelist
CVE-2018-8139
9 May 201819:00
–cvelist
exploitdb
Exploit DB
Microsoft Edge Chakra JIT - BoundFunction::NewInstance Out-of-Bounds Read
12 Jul 201800:00
–exploitdb
euvd
EUVD
EUVD-2022-4070
9 May 201819:00
–euvd
euvd
EUVD
EUVD-2022-5586
9 May 201819:00
–euvd
Rows per page
`Microsoft Edge: Chakra: A bug in BoundFunction::NewInstance   
  
CVE-2018-8139  
  
  
BoundFunction::NewInstance is used to handle calls to a bound function. The method first allocates a new argument array and copies the prepended arguments and others into the new argument array and calls the actual function. The problem is, it doesn't care about the CallFlags_NewTarget flag which indicates that there's an extra argument (new.target) at the end of the argument array. So the size of the new argument array created with the CallFlags_NewTarget flag will be always 1 less then required, this leads to an OOB read.  
  
PoC:  
function func() {  
new.target.x;  
}  
  
let bound = func.bind({}, 1);  
  
Reflect.construct(bound, []);  
  
  
  
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