[ 
https://issues.apache.org/jira/browse/YARN-6352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928695#comment-15928695
 ] 

Varun Saxena edited comment on YARN-6352 at 3/16/17 7:31 PM:
-------------------------------------------------------------

Apps#toAppId looks like a generic enough method which may not be only used for 
constructing a message which is sent back in HTTP response.
How about catching the exception in WebAppProxyServlet and then sending back a 
custom message?


was (Author: varun_saxena):
Apps#toAppId looks like a generic enough method which may not be only used for 
web pages.
How about catching the exception in WebAppProxyServlet and then sending back a 
custom message?

> Header injections are possible in the application proxy servlet
> ---------------------------------------------------------------
>
>                 Key: YARN-6352
>                 URL: https://issues.apache.org/jira/browse/YARN-6352
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.8.0, 2.7.3, 3.0.0-alpha2
>            Reporter: Naganarasimha G R
>            Assignee: Naganarasimha G R
>         Attachments: headerInjection.png, YARN-6352.001.patch
>
>
> This issue was found in WVS security tool. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to