Red Hat Bugzilla – Bug 951562
CVE-2013-1939 php-sabredav-Sabre_DAV: Local file exposure due improper icons / images path checking in the HTML Browser plug-in
Last modified: 2015-07-31 03:03:35 EDT
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.
Relevant upstream patch (seems to be the following):
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 ):
As a workaround, you setup the plugin as such:
$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.