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

Hive QA commented on HIVE-21902:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12972379/HIVE-21902.01.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 16174 tests passed

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/17680/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/17680/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-17680/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12972379 - PreCommit-HIVE-Build

> HiveServer2 UI: Adding X-XSS-Protection, X-Content-Type-Options to jetty 
> response header
> ----------------------------------------------------------------------------------------
>
>                 Key: HIVE-21902
>                 URL: https://issues.apache.org/jira/browse/HIVE-21902
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Rajkumar Singh
>            Assignee: Rajkumar Singh
>            Priority: Major
>              Labels: security
>         Attachments: HIVE-21902.01.patch, HIVE-21902.patch
>
>
> some vulnerability are reported for webserver ui
> X-Frame-Options or Content-Security-Policy: frame-ancestors HTTP Headers 
> missing on port 10002. 
> {code}
> GET / HTTP/1.1 
> Host: HOSTNAME:10002 
> Connection: Keep-Alive 
> X-XSS-Protection HTTP Header missing on port 10002. 
> X-Content-Type-Options HTTP Header missing on port 10002. 
> {code}
> after the proposed changes
> {code}
> HTTP/1.1 200 OK
> Date: Thu, 20 Jun 2019 05:29:59 GMT
> Content-Type: text/html;charset=utf-8
> X-Content-Type-Options: nosniff
> X-FRAME-OPTIONS: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Set-Cookie: JSESSIONID=15kscuow9cmy7qms6dzaxllqt;Path=/
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Content-Length: 3824
> Server: Jetty(9.3.25.v20180904)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to