You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2021/08/24 04:37:00 UTC

[jira] [Updated] (NIFI-9060) HTTP Cookie Paths ignore Proxy Context Path Headers

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

David Handermann updated NIFI-9060:
-----------------------------------
    Status: Patch Available  (was: Open)

> HTTP Cookie Paths ignore Proxy Context Path Headers
> ---------------------------------------------------
>
>                 Key: NIFI-9060
>                 URL: https://issues.apache.org/jira/browse/NIFI-9060
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Security
>    Affects Versions: 1.14.0, 1.15.0
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>              Labels: security
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> HTTP cookies that NiFi uses for authentication have hard-coded paths set to forward-slash.  This is acceptable for deployments where clients have direct access to NiFi, or when a reverse proxy does not rewrite the context path. In deployments where a reverse proxy performs URL rewriting, NiFi should set cookie path based on proxy HTTP headers. NiFi WebUtils includes methods to determine the context path based on supported proxy headers, which should be used to set the paths for HTTP cookies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)