[ 
https://issues.apache.org/jira/browse/MAPREDUCE-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443530#comment-13443530
 ] 

Todd Lipcon commented on MAPREDUCE-4572:
----------------------------------------

Though, looking at the Jetty code, we already have a vulnerability here, 
because its symlink check is racy (TOCTOU). So maybe we should just say: any 
time we use Jetty's built in file servlet, we need to make sure it is either 
accessing a directory which isn't user-writable, or it is accessible to admins 
only.
                
> Can not access user logs - Jetty is not configured by default to serve 
> aliases/symlinks
> ---------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4572
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4572
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker, webapps
>    Affects Versions: 1.0.0
>            Reporter: Ahmed Radwan
>            Assignee: Ahmed Radwan
>             Fix For: 1.2.0, 2.2.0-alpha
>
>         Attachments: MAPREDUCE-4572.patch, MAPREDUCE-4572_trunk.patch
>
>
> The task log servlet can no longer access user logs because MAPREDUCE-2415 
> introduce symlinks to the logs and jetty is not configured by default to 
> serve symlinks. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to