hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12691) Add CSRF Filter for REST APIs to Hadoop Common
Date Thu, 14 Jan 2016 20:01:39 GMT

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

Chris Nauroth updated HADOOP-12691:
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s:     (was: 3.0.0)
           Status: Resolved  (was: Patch Available)

+1 for patch v003.  I agree with deferring documentation until subsequent JIRAs, where individual
components will start using the filter.  I have committed this to trunk and branch-2.  [~lmccay],
thank you for contributing this patch.

> Add CSRF Filter for REST APIs to Hadoop Common
> ----------------------------------------------
>                 Key: HADOOP-12691
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12691
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: security
>            Reporter: Larry McCay
>            Assignee: Larry McCay
>             Fix For: 2.9.0
>         Attachments: CSRFProtectionforRESTAPIs.pdf, HADOOP-12691-001.patch, HADOOP-12691-002.patch,
> CSRF prevention for REST APIs can be provided through a common servlet filter. This filter
would check for the existence of an expected (configurable) HTTP header - such as X-XSRF-Header.
> The fact that CSRF attacks are entirely browser based means that the above approach can
ensure that requests are coming from either: applications served by the same origin as the
REST API or that there is explicit policy configuration that allows the setting of a header
on XmlHttpRequest from another origin.

This message was sent by Atlassian JIRA

View raw message