[Webkit-unassigned] [Bug 215842] New: Web Share allows for inadvertently sharing of local files
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 26 00:51:37 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=215842
Bug ID: 215842
Summary: Web Share allows for inadvertently sharing of local
files
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Major
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tomac at google.com
Created attachment 407280
--> https://bugs.webkit.org/attachment.cgi?id=407280&action=review
macOS Messages
Full credits: https://blog.redteam.pl/2020/08/stealing-local-files-using-safari-web.html
Below are the steps to reproduce the issue:
1. Visit https://overflow.pl/webshare/poc1.html using Safari or Mobile Safari
2. Click “Share it with friends!”
3. Select the method (e.g. Mail, Messages)
4. “Send it” or “Share it” (or just inspect what has been attached)
5. Local /etc/passwd has been sent to the recipient
This works on both iOS (still as of iOS 14 beta 6) and macOS, tested on Safari Release 112 (Safari 14.0, WebKit 15610.1.25.5.1).
Gmail (or Safari?) does some renaming of the shared file without user intervention (see https://user-images.githubusercontent.com/145676/91273520-ad247f80-e77d-11ea-973d-ebd2b4337bf7.png), whereas Messages and Mail seem to use the original file name.
Related spec issue: https://github.com/w3c/web-share/issues/173.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200826/510795f1/attachment.htm>
More information about the webkit-unassigned
mailing list