Microsoft Edge Scripting Engine... CVE-2017-8659 CNNVD-201705-1296

4.3 AV AC AU C I A
发布: 2017-08-08
修订: 2017-08-15

There is an issue in Chakra JIT server that can be potentially exploited to compromise the JIT process from a compromised browser content process. Bugs like this could potentially be used to bypass ACG (Arbitrary Code Guard) in Microsoft Edge. The issue has been confirmed on a ChakraCore build from source. Chakra JIT server takes bytecode as an input from the calling process. When processing the Js::OpCode::ProfiledLoopStart opcode in IRBuilder::BuildUnsigned1() function in IRBuilder.cpp there is this line this->m_saveLoopImplicitCallFlags[num] = saveOpnd; where num is client-controlled (it's an usigned char following the Js::OpCode::ProfiledLoopStart opcode). m_saveLoopImplicitCallFlags is allocated in IRBuilder.h as m_saveLoopImplicitCallFlags = (IR::Opnd**)func->m_alloc->Alloc(sizeof(IR::Opnd*) * loopCount); where loopCount is also client-controlled (workItemData->jitData->bodyData->loopCount). Thus if a client sets num larger than loopCount, an out-of-bounds write will occur....

0%
当前有1条漏洞利用/PoC
当前有2条受影响产品信息