<span id="7ztzv"></span>
<sub id="7ztzv"></sub>

<span id="7ztzv"></span><form id="7ztzv"></form>

<span id="7ztzv"></span>

        <address id="7ztzv"></address>

            Hadoop Cluster Manipulation

            ABSTRACT

            通過調用 on line ,攻擊者可以控制客戶端應用程序運行所使用的 Hadoop 群集的核心組件。

            EXPLANATION

            Hadoop cluster control 錯誤在以下情況下發生:

            - 數據從一個不可信賴的數據源進入程序。

            - 數據被 NameNodeDataNodeJobTraker 等 Hadoop 群集核心組件用來更改群集的狀態。

            Hadoop 群集是一種有害環境。當用來防止對群集節點未經授權訪問的安全配置設置不當時,攻擊可能會乘機控制基礎設施。從而造成 Hadoop 群集提供的任何數據被篡改的可能性。

            例 1:下列代碼是典型客戶端應用程序中提交的 Job,其輸入來自 Hadoop 群集中主計算機的命令行:


            public static void run(String args[]) throws IOException {

            String path = "/path/to/a/file";
            DFSclient client = new DFSClient(arg[1], new Configuration());
            ClientProtocol nNode = client.getNameNode();

            /* This sets the ownership of a file pointed by the path to a user identified
            * by command line arguments.
            */
            nNode.setOwner(path, args[2], args[3]);
            ...
            }


            Copyright 2013 Fortify Software - All rights reserved.
            (Generated from version 2013.1.1.0008 of the Fortify Secure Coding Rulepacks)
            desc.dataflow.java.hadoop_cluster_manipulation

            <span id="7ztzv"></span>
            <sub id="7ztzv"></sub>

            <span id="7ztzv"></span><form id="7ztzv"></form>

            <span id="7ztzv"></span>

                  <address id="7ztzv"></address>

                      亚洲欧美在线