hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-6368) TransferFsImage#receiveFile() should perform validation on fsImageName parameter
Date Thu, 12 Jun 2014 20:51:02 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Wang resolved HDFS-6368.
-------------------------------

    Resolution: Fixed

closing as not a problem, since this is only an issue if the cluster is already compromised.

> TransferFsImage#receiveFile() should perform validation on fsImageName parameter
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-6368
>                 URL: https://issues.apache.org/jira/browse/HDFS-6368
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> Currently only null check is performed:
> {code}
>           if (fsImageName == null) {
>             throw new IOException("No filename header provided by server");
>           }
>           newLocalPaths.add(new File(localPath, fsImageName));
> {code}
> Value of fsImageName, obtained from HttpURLConnection header, may be tainted.
> This may allow an attacker to access, modify, or test the existence of critical or sensitive
files.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message