hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1991) taskcontroller allows stealing permissions on any local file
Date Tue, 03 Aug 2010 18:18:20 GMT

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

Todd Lipcon commented on MAPREDUCE-1991:
----------------------------------------

We also have to fix the checks on permissions - it currently uses argv[0] which is spoofable.
Calling stat on /proc/self/exe is going to be more secure (and we've already used Linux-specific
code elsewhere in the task controller)

> taskcontroller allows stealing permissions on any local file
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-1991
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1991
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: task-controller
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Todd Lipcon
>            Priority: Blocker
>
> The linux task-controller setuid binary allows a malicious user to chmod any file on
the system to 644 (and as a side effect appends some junk to the end)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message