You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2015/11/18 23:39:11 UTC

[jira] [Created] (HADOOP-12584) Disable directory browsing in HttpServer2

Robert Kanter created HADOOP-12584:
--------------------------------------

             Summary: Disable directory browsing in HttpServer2
                 Key: HADOOP-12584
                 URL: https://issues.apache.org/jira/browse/HADOOP-12584
             Project: Hadoop Common
          Issue Type: Bug
          Components: security
    Affects Versions: 2.8.0
            Reporter: Robert Kanter
            Assignee: Robert Kanter


We found a minor security issue with the Yarn Web UIs (or anything using {{HttpServer2}}.  Currently, you can list the contents of the {{/static}} directory for the RM, NM, and JHS.  This isn't a huge deal, but there are some ways to abuse this to get access to files on the host, though it would be pretty difficult.  It's also good practice to disable directory listing on web apps.

Here are the URLs:
- http://HOST:8088/static/
- http://HOST:19888/static/
- http://HOST:8042/static/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)