Title: [152698] trunk/Source/WebKit2
Revision
152698
Author
[email protected]
Date
2013-07-15 19:36:28 -0700 (Mon, 15 Jul 2013)

Log Message

PluginProcess deny file-read-data /Library/Application Support/Macromedia/FlashPlayerTrust
https://bugs.webkit.org/show_bug.cgi?id=118690
<rdar://problem/14255963>

Patch by Simon Cooper <[email protected]> on 2013-07-15
Reviewed by Dean Jackson.

Silently deny access to FlashPlayerTrust. This location contains
files containing lists of paths that Flash Player will
"allow" access to (without asking the user). Since the plugin
sandbox won't permit the access to the listed paths it is better
to silently block attempts to read these "whitelists". The
"whitelists" are created by other Adobe "installer" like
applications.

* Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (152697 => 152698)


--- trunk/Source/WebKit2/ChangeLog	2013-07-16 02:24:44 UTC (rev 152697)
+++ trunk/Source/WebKit2/ChangeLog	2013-07-16 02:36:28 UTC (rev 152698)
@@ -1,3 +1,21 @@
+2013-07-15  Simon Cooper  <[email protected]>
+
+        PluginProcess deny file-read-data /Library/Application Support/Macromedia/FlashPlayerTrust
+        https://bugs.webkit.org/show_bug.cgi?id=118690
+        <rdar://problem/14255963>
+
+        Reviewed by Dean Jackson.
+
+        Silently deny access to FlashPlayerTrust. This location contains
+        files containing lists of paths that Flash Player will
+        "allow" access to (without asking the user). Since the plugin
+        sandbox won't permit the access to the listed paths it is better
+        to silently block attempts to read these "whitelists". The
+        "whitelists" are created by other Adobe "installer" like
+        applications.
+
+        * Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb:
+
 2013-07-14  Jon Lee  <[email protected]>
 
         Calling Notification.requestPermission() without a callback crashes

Modified: trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb (152697 => 152698)


--- trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb	2013-07-16 02:24:44 UTC (rev 152697)
+++ trunk/Source/WebKit2/Resources/PlugInSandboxProfiles/com.macromedia.Flash Player.plugin.sb	2013-07-16 02:36:28 UTC (rev 152698)
@@ -28,6 +28,9 @@
 (allow file-read* file-write*
     (mount-relative-regex #"^/\.TemporaryItems/"))
 
+(deny file-read* (with no-log)
+    (subpath "/Library/Application Support/Macromedia/FlashPlayerTrust"))
+
 (allow network-bind (local ip))
 
 (webkit-powerbox)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to