find: Security Summary
1
1 11.5 Summary
1 ============
1
1 Where untrusted parties can create files on the system, or affect the
1 names of files that are created, all uses for 'find', 'locate' and
1 'xargs' have known security problems except the following:
1
1 Informational use only
1 Uses where the programs are used to prepare lists of file names
1 upon which no further action will ever be taken.
1
1 '-delete'
1 Use of the '-delete' action with 'find' to delete files which meet
1 specified criteria
1
1 '-execdir'
1 Use of the '-execdir' action with 'find' where the 'PATH'
1 environment variable contains directories which contain only
1 trusted programs.
1