Re: SWISH-E 2.4.4 filters can not locate files

Ludovic Drolez <[email protected]> Wed, 18 Oct 2006 08:27:19 -0700 (PDT)
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
On Tue, Oct 17, 2006 at 10:21:42PM -0500, Peter Karman wrote:
> Like most things Unix, I think we need to give users enough rope to hang 
> themselves. If they want to 'rm -rf /' in their FileFilter configuration, I 
> don't want to stop them. After all, swish-e config files are used for 
> indexing only, not searching, so there's no chance of unknown users 

I think you did not understand the security problem: 
1- imagine swish-e running as root under a cron which indexes users files
2- a user has strange files like "test.pdf;rm -rf /" or better "test & reboot .pdf"

Then your server will reboot or your files will be erased !

This potential security bug was 1st reported on the Debian BTS:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357239

Cheers,

-- 
Ludovic Drolez.

http://zaurus.palmopensource.com       - The Zaurus Open Source Portal
http://www.drolez.com      - Personal site - Linux, Zaurus and PalmOS stuff