Closed (fixed)
Project:
Filebrowser
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
9 Mar 2005 at 04:26 UTC
Updated:
27 Mar 2005 at 13:33 UTC
Description
Just see the example script getting exploited by clicking:
http://drupal.hu/?q=filebrowser/..
Here's my solution:
Replace line 291 (i think) with this:
$safer = str_replace(array("\\", "../", "/.svn", "/CVS", ".."), array("/", "", "", "",""), $folder);
Martin G.
martin {{at}} isg.si
Comments
Comment #1
gábor hojtsyFixed in 4.5 and HEAD too. Since this only allowed the view of the particular one folder up (and no other folder), it was thanfully not that big a consern. Thanks for the report.