[
https://issues.apache.org/jira/browse/TS-4145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113077#comment-15113077
]
ASF GitHub Bot commented on TS-4145:
------------------------------------
GitHub user dchokshi opened a pull request:
https://github.com/apache/trafficserver/pull/436
TS-4145 Fix cross-site scripting exploits in error messages.
Address potential cross-site scripting exploits in the
following files:
1.) Replace the variable psh with epsh in files:
proxy/config/body_factory/default/redirect#moved_temporarily
proxy/config/body_factory/default/redirect#moved_permanently
2.) Variable cqh in proxy/config/body_factory/default/access#redirect_url
should be replaced with ecqh. However the files appears unutilized in
ATS 6.0.0, hence remove from Makefile alltogether.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dchokshi/trafficserver TS-4145
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/436.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #436
----
commit 379f6f508ddd8dfce9a952dcd2bdcbd52ee11f5a
Author: dchokshi <[email protected]>
Date: 2016-01-22T20:51:56Z
TS-4145 Fix cross-site scripting exploits in error messages.
Address potential cross-site scripting exploits in the
following files:
1.) Replace the variable psh with epsh in files:
proxy/config/body_factory/default/redirect#moved_temporarily
proxy/config/body_factory/default/redirect#moved_permanently
2.) Variable cqh in proxy/config/body_factory/default/access#redirect_url
should be replaced with ecqh. However the files appears unutilized in
ATS 6.0.0, hence remove from Makefile alltogether.
----
> ATS 6.0.0 - Address cross-site scripting exploits in error messages
> -------------------------------------------------------------------
>
> Key: TS-4145
> URL: https://issues.apache.org/jira/browse/TS-4145
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration, Parent Proxy
> Reporter: Devaki
> Fix For: 6.2.0
>
>
> Address potential cross-site scripting exploits in the following files:
> 1.) Replace the variable psh with epsh in files:
> proxy/config/body_factory/default/redirect#moved_temporarily
> proxy/config/body_factory/default/redirect#moved_permanently
> 2.) Variable cqh in proxy/config/body_factory/default/access#redirect_url
> should be replaced with ecqh. However the files appears unutilized in
> ATS6.0.0, hence remove from Makefile alltogether.
> Suggested patch:
> diff -Nrup trafficserver-6.0.0/proxy/config/body_factory/default/Makefile.am
> trafficserver-6.0.0-1/proxy/config/body_factory/default/Makefile.am
> --- trafficserver-6.0.0/proxy/config/body_factory/default/Makefile.am
> 2015-09-08 13:43:45.000000000 -0400
> +++ trafficserver-6.0.0-1/proxy/config/body_factory/default/Makefile.am
> 2016-01-19 12:49:44.823719964 -0500
> @@ -21,7 +21,6 @@ bodyfactorydir = $(pkgsysconfdir)/body_f
> dist_bodyfactory_DATA = \
> access\#denied \
> access\#proxy_auth_required \
> - access\#redirect_url \
> access\#ssl_forbidden \
> .body_factory_info \
> cache\#not_in_cache \
> diff -Nrup
> trafficserver-6.0.0/proxy/config/body_factory/default/redirect#moved_permanently
> trafficserver-6.0.0-1/proxy/config/body_factory/defau
> lt/redirect#moved_permanently
> ---
> trafficserver-6.0.0/proxy/config/body_factory/default/redirect#moved_permanently
> 2015-09-08 13:43:45.000000000 -0400
> +++
> trafficserver-6.0.0-1/proxy/config/body_factory/default/redirect#moved_permanently
> 2016-01-19 12:50:47.669068203 -0500
> @@ -8,7 +8,7 @@
> <HR>
>
> <FONT FACE="Helvetica,Arial"><B>
> -Description: The document you requested has moved to a new location. The
> new location is "%<{Location}psh>".
> +Description: The document you requested has moved to a new location. The
> new location is "%<{Location}epsh>".
> </B></FONT>
> <HR>
> </BODY>
> diff -Nrup
> trafficserver-6.0.0/proxy/config/body_factory/default/redirect#moved_temporarily
> trafficserver-6.0.0-1/proxy/config/body_factory/defau
> lt/redirect#moved_temporarily
> ---
> trafficserver-6.0.0/proxy/config/body_factory/default/redirect#moved_temporarily
> 2015-09-08 13:43:45.000000000 -0400
> +++
> trafficserver-6.0.0-1/proxy/config/body_factory/default/redirect#moved_temporarily
> 2016-01-19 12:50:33.548765337 -0500
> @@ -8,7 +8,7 @@
> <HR>
>
> <FONT FACE="Helvetica,Arial"><B>
> -Description: The document you requested has moved to a new location. The
> new location is "%<{Location}psh>".
> +Description: The document you requested has moved to a new location. The
> new location is "%<{Location}epsh>".
> </B></FONT>
> <HR>
> </BODY>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)