A local file exposure flaw was found in the way HTML browser plug-in of SabreDAV, a WebDAV framework for the PHP language, processed certain file system paths for icon and image files on certain platforms. A remote attacker could provide a specially-crafted icon / image file location that, when processed by an application using the SabreDav framework, would allow them to (remotely) obtain arbitary system file, accessible with the privileges of that SabreDAV application. References: [1] https://groups.google.com/forum/?fromgroups=#!topic/sabredav-discuss/ehOUu7wTSGQ [2] http://www.openwall.com/lists/oss-security/2013/04/11/3 Relevant upstream patch (seems to be the following): [3] https://github.com/evert/SabreDAV/commit/5f6d71b2c4e2d3c6fc32c20afe7331e38877c489
This issue affects the versions of the php-sabredav-Sabre_DAV package, as shipped with Fedora release of 17 and 18. Please schedule an update. -- This issue affects the version of the php-sabredav-Sabre_DAV package, as shipped with Fedora EPEL-6. Please schedule an update.
Created php-sabredav-Sabre_DAV tracking bugs for this issue Affects: fedora-all [bug 951568] Affects: epel-6 [bug 951569]
Suggested workaround (from [1]): --------------------------------- As a workaround, you setup the plugin as such: // 1.8 $plugin = new Sabre\DAV\Browser\Plugin(true, false); // 1.6, 1.7 $plugin = new Sabre_DAV_Browser_Plugin(true, false); To disable this feature completely.
php-sabredav-Sabre_DAV-1.6.5-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
Fixed back porting the upstream fix. Been fixed since 05/24/2013.