hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-15328) Unvalidated Redirect in HMaster
Date Tue, 21 Feb 2017 07:49:44 GMT

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

Hudson commented on HBASE-15328:
--------------------------------

SUCCESS: Integrated in Jenkins build HBase-Trunk_matrix #2543 (See [https://builds.apache.org/job/HBase-Trunk_matrix/2543/])
HBASE-15328 sanity check the redirect used to send master info requests (busbey: rev d7ffa0013bde592bb035ce5306c09883a192989f)
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
* (edit) hbase-server/src/test/java/org/apache/hadoop/hbase/TestInfoServers.java
* (edit) hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java


> Unvalidated Redirect in HMaster
> -------------------------------
>
>                 Key: HBASE-15328
>                 URL: https://issues.apache.org/jira/browse/HBASE-15328
>             Project: HBase
>          Issue Type: Bug
>          Components: security
>            Reporter: stack
>            Assignee: Sean Busbey
>            Priority: Minor
>         Attachments: HBASE-15328.0.patch, HBASE-15328.1.patch
>
>
> See OWASP page on why we should clean it up someday:
> https://www.owasp.org/index.php/Unvalidated_Redirects_and_Forwards_Cheat_Sheet
> Here is where we do the redirect:
> {code}
>     @Override
>     public void doGet(HttpServletRequest request,
>         HttpServletResponse response) throws ServletException, IOException {
>       String redirectUrl = request.getScheme() + "://"
>         + request.getServerName() + ":" + regionServerInfoPort
>         + request.getRequestURI();
>       response.sendRedirect(redirectUrl);
>     }
>   }
> {code}



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

Mime
View raw message