security issue with metas/readdir in reiser4
Hi,
There is a security problem with the implementation of dir/metas/readdir. This file is readable even if the directory isn't readable by the current user. This is against traditional unix behavior and is a security issue in many configurations (apache user dir setups, spool directories of some MTA's, etc).
There are other minor issues, like metas/* appearing owned by the current uid and not the actual file owner, and not returning EACCES while changing rwx when you don't have permissions. Just silently ignoring the action.
Regards,
Filipe Almeida
--
Filipe Almeida <[email protected]>
http://mega.ist.utl.pt/~filipe/
Quoted 5 lines · Filipe Almeida
Hi,
There is a security problem with the implementation of dir/metas/readdir. This file is readable even if the directory isn't readable by the current user.
Well, this is silly and will be fixed.
Quoted 5 lines
This is against traditional unix behavior and is a security issue in many configurations (apache user dir setups, spool directories of some MTA's, etc).
There are other minor issues, like metas/* appearing owned by the current uid and not the actual file owner, and not returning EACCES while changing rwx when you don't have permissions. Just silently ignoring the action.
thanks much, Nikita will fix these.
Quoted 11 lines
Regards,
Filipe Almeida--
Filipe Almeida <[email protected]>
http://mega.ist.utl.pt/~filipe/
Signature · 1 line
Hans