This patch does the following:
- Updates the DRUPAL-5 branch to work under Drupal 6
- Adds a bunch of t() functions to status messages
- Prevents "jah error" message from appearing when users do not have download privileges
- Restrict all fileshare node base paths to be within the Drupal 'files' hierarchy only
See SA-2008-004 - Fileshare - Arbitrary code execution.
There were already some post SA updates in CVS that were meant to address the security vulnerability. But apparently they were not sufficient, since the module is still unpublished. Therefore support for assigning arbitrary base paths is removed by this patch. Privileged users may still assign base paths, provided they are within the 'files' hierarchy.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | fileshare-D5toD6.patch | 42.11 KB | jchan |
Comments
Comment #1
jchan commentedComment #2
wdouglascampbell commentedWhat is the status on this? Patch seems good. Can we unblock the Fileshare module now?
Comment #3
glottus commentedAlso interested in the status of this module with this patch. As an alternative, can anyone help explain how this module differs from the Filebrowser module? I haven't seen Fileshare in action, but have a potential need to upgrade from an older version of this to Drupal 6.
Comment #4
Marvine commentedHi,
I am also interested by this module in Drupal 6 but I haven't the original code of Fileshare in Drupal 5.
Could you provide us the Drupal 6 code of this module with the patch applied or the Drupal 5 code ?
Comment #5
wdouglascampbell commentedCheck out CVS: http://drupalcode.org/viewvc/drupal/contributions/modules/fileshare/
Comment #6
Marvine commentedThank you.
Not better, the patch works wrong with this sources ...
So the module is not ok in Drupal 6 :( .
Comment #7
iannakin commentedIf some of you are still interrested, I created an issue for a port in D6 and D7 that I wrote.
It's here : Port of fileshare in D7 and D6