You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Dave Thompson (Created) (JIRA)" <ji...@apache.org> on 2012/02/03 22:36:53 UTC

[jira] [Created] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

yarn webapp interface vulnerable to cross scripting attacks
-----------------------------------------------------------

                 Key: MAPREDUCE-3804
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: jobhistoryserver, resourcemanager
    Affects Versions: 0.23.0
            Reporter: Dave Thompson
            Assignee: Dave Thompson
             Fix For: 0.23.1


Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Mahadev konar (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201656#comment-13201656 ] 

Mahadev konar commented on MAPREDUCE-3804:
------------------------------------------

@bobby/Dave,
 The reason TestContainersMonitor fails is due to MAPREDUCE-3583. I'd suggest re running through hudson just to make sure everything else is fine.
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Robert Joseph Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201652#comment-13201652 ] 

Robert Joseph Evans commented on MAPREDUCE-3804:
------------------------------------------------

The patch looks good to me +1.  Could you please file a separate JIRA for the failure in org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.TestContainersMonitor.  It appears to not be related to this fix at all, but I could not find another JIRA for it, even though I found others where it also failed for them.
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Dave Thompson (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson updated MAPREDUCE-3804:
-------------------------------------

    Status: Patch Available  (was: Open)
    
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200167#comment-13200167 ] 

Hadoop QA commented on MAPREDUCE-3804:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12513191/MAPREDUCE-3804.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    -1 findbugs.  The patch appears to introduce 1 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1766//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1766//artifact/trunk/hadoop-mapreduce-project/patchprocess/newPatchFindbugsWarningshadoop-yarn-common.html
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1766//console

This message is automatically generated.
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202395#comment-13202395 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #982 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/982/])
    MAPREDUCE-3804. yarn webapp interface vulnerable to cross scripting attacks (Dave Thompson via bobby)

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241225
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Dave Thompson (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson updated MAPREDUCE-3804:
-------------------------------------

    Target Version/s: 0.23.1
        Release Note: fix cross scripting attacks vulnerability through webapp interface.
        Hadoop Flags: Reviewed
              Status: Patch Available  (was: Open)
    
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201784#comment-13201784 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1687 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1687/])
    MAPREDUCE-3804. yarn webapp interface vulnerable to cross scripting attacks (Dave Thompson via bobby)

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241225
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Mahadev konar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated MAPREDUCE-3804:
-------------------------------------

    Component/s: mrv2
    
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202330#comment-13202330 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #162 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/162/])
    svn merge -c 1241225 fixes MAPREDUCE-3804

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241230
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201730#comment-13201730 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #1673 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1673/])
    MAPREDUCE-3804. yarn webapp interface vulnerable to cross scripting attacks (Dave Thompson via bobby)

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241225
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202314#comment-13202314 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #949 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/949/])
    MAPREDUCE-3804. yarn webapp interface vulnerable to cross scripting attacks (Dave Thompson via bobby)

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241225
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201729#comment-13201729 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1746 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1746/])
    MAPREDUCE-3804. yarn webapp interface vulnerable to cross scripting attacks (Dave Thompson via bobby)

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241225
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201740#comment-13201740 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #489 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/489/])
    svn merge -c 1241225 fixes MAPREDUCE-3804

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241230
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202357#comment-13202357 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #184 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/184/])
    svn merge -c 1241225 fixes MAPREDUCE-3804

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241230
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Robert Joseph Evans (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans updated MAPREDUCE-3804:
-------------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Thanks Dave, I just committed this to trunk and 0.23
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Mahadev konar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mahadev konar updated MAPREDUCE-3804:
-------------------------------------

    Status: Open  (was: Patch Available)

@Dave,
 Can you please take a look at the findbugs issue?
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Robert Joseph Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201727#comment-13201727 ] 

Robert Joseph Evans commented on MAPREDUCE-3804:
------------------------------------------------

@Mahadev, I did rerun org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.TestContainersMonitor myself before committing and it passed.
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201645#comment-13201645 ] 

Hadoop QA commented on MAPREDUCE-3804:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12513499/MAPREDUCE-3804.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.yarn.server.nodemanager.containermanager.monitor.TestContainersMonitor

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1797//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1797//console

This message is automatically generated.
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Dave Thompson (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson updated MAPREDUCE-3804:
-------------------------------------

    Attachment: MAPREDUCE-3804.patch
    
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201742#comment-13201742 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Common-0.23-Commit #500 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/500/])
    svn merge -c 1241225 fixes MAPREDUCE-3804

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241230
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Dave Thompson (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson updated MAPREDUCE-3804:
-------------------------------------

    Attachment: MAPREDUCE-3804.patch

Patch fixes above findbug issue.  Also corrects vulnerability when containers are present.
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201846#comment-13201846 ] 

Hudson commented on MAPREDUCE-3804:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #510 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/510/])
    svn merge -c 1241225 fixes MAPREDUCE-3804

bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1241230
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/Dispatcher.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletImpl.java

                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, mrv2, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE-3804.patch, MAPREDUCE-3804.patch, MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3804) yarn webapp interface vulnerable to cross scripting attacks

Posted by "Dave Thompson (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Thompson updated MAPREDUCE-3804:
-------------------------------------

    Attachment: MAPREDUCE_3804_br_0.23.0.patch

Patch to prevent cross scripting vulnerability through webapp interface.
                
> yarn webapp interface vulnerable to cross scripting attacks
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3804
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3804
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver, resourcemanager
>    Affects Versions: 0.23.0
>            Reporter: Dave Thompson
>            Assignee: Dave Thompson
>             Fix For: 0.23.1
>
>         Attachments: MAPREDUCE_3804_br_0.23.0.patch
>
>
> Yarn webapp interface may be vulnerable to certain cross scripting attacks, injected through URL request.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira