[SECURITY] CVE-2023-41080 Apache Tomcat - open redirect

2023-08-25 Thread Mark Thomas
CVE-2023-41080 Apache Tomcat - Open redirect Severity: Moderate Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 11.0.0-M1 to 11.0.0-M10 Apache Tomcat 10.1.0-M1 to 10.1.12 Apache Tomcat 9.0.0-M1 to 9.0.79 Apache Tomcat 8.5.0 to 8.5.92 Description: If the ROOT (default

Re: Problem with the redirect after j_security_check

2023-07-24 Thread Christopher Schultz
er it. But if you know you need to send back a # in the redirect, then your application needs to generate that #fragment at the end of the URL. You may wish to reconsider your use of the #fragment to maintain state, and instead use different paths, request parameters, cookies, or some other mech

Re: Problem with the redirect after j_security_check

2023-07-22 Thread Shawn Heisey
On 7/22/23 12:03, Mark Thomas wrote: Your target URL is invalid. No user agent should be sending the fragment (#index) part of the URL. At best Tomcat will ignore it. Later versions may even reject it (I have a memory of that but don't have easy acces to the source code to check right now).

Re: Problem with the redirect after j_security_check

2023-07-22 Thread Mark Thomas
22 Jul 2023 17:03:50 Wiemann, Helge (ESI) : Hi all, we are using Tomcat 9 and the still the JDBC Realm for authentication. Our starting URL (which is protected) ends with “/boot1#index” The form authentication is then processed through the common url j_security_check. But after a successf

Problem with the redirect after j_security_check

2023-07-22 Thread Wiemann, Helge (ESI)
Hi all, we are using Tomcat 9 and the still the JDBC Realm for authentication. Our starting URL (which is protected) ends with "/boot1#index" The form authentication is then processed through the common url j_security_check. But after a successful login, he is not redirecting to "boot1#index" bu

Re: Redirect appends port number?

2023-04-13 Thread Kevin Huntly
er Schultz < ch...@christopherschultz.net> wrote: > Kevin, > > On 4/12/23 19:35, Kevin Huntly wrote: > > I'm seeing some odd behavior - my servlet filter is redirecting with port > > 10943 attached to the redirect > > Are you the author of the filter? If so, can you po

Re: Redirect appends port number?

2023-04-13 Thread Christopher Schultz
Kevin, On 4/12/23 19:35, Kevin Huntly wrote: I'm seeing some odd behavior - my servlet filter is redirecting with port 10943 attached to the redirect Are you the author of the filter? If so, can you post the code that is determining what URL to use for the redirect? > - that por

Redirect appends port number?

2023-04-12 Thread Kevin Huntly
Hello everyone, I'm sorry for spamming the list =( I'm seeing some odd behavior - my servlet filter is redirecting with port 10943 attached to the redirect - that port is the port httpd is listening on, but there's a redirect under the covers for TCP 443 to TCP 10943. I'm not

Re: Tomcat: Change default redirect status 302

2022-12-04 Thread Atul Pendse
Thank you Mark for the inputs. There was indeed a RewriteValve configured. Updating rewrite.config solved the issue. Thanks for help. Thanks, Atul Pendse From: Mark Thomas Date: Thursday, 1 December 2022 at 6:27 PM To: users@tomcat.apache.org Subject: Re: Tomcat: Change default redirect

Re: Tomcat: Change default redirect status 302

2022-12-01 Thread Mark Thomas
On 01/12/2022 12:29, Atul Pendse wrote: What is redirecting: http://test-host/api to https://test-host/tgc/index.html ? Tomcat won't do that out of the box so something in your application (or possibly something like the Rewrite valve) must be doing it. Mark ---

Tomcat: Change default redirect status 302

2022-12-01 Thread Atul Pendse
Dear Tomcat users/Devs, We have our app (deployed to tomcat as a war), redirecting all port 80 traffic to 443. Currently, anything accessed on port 80 gets redirect response 302. We are trying to update Tomcat config so that it returns 301 instead of 302. We have been able to do it for a subset

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-13 Thread Bhavesh Mistry
>> Thank you for your feedback. I have made all the changes needed and it > is > >> working as expected except for ONE use case where the servlet context > path > >> does not end with */*. When server context path is given without / > >> ('/versa&

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-10 Thread Christopher Schultz
e the servlet context path does not end with */*. When server context path is given without / ('/versa'), tomcat seems to do 302 redirect to automatically '/versa/'. How can I change this behavior so that the OPTIONS method returns 405 from the filter instead of tomcat auto-r

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-10 Thread Bhavesh Mistry
ected except for ONE use case where the servlet context path > does not end with */*. When server context path is given without / > ('/versa'), tomcat seems to do 302 redirect to automatically '/versa/'. > How can I change this behavior so that the OPTIONS method

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-10 Thread Bhavesh Mistry
Hi Mark , Thank you for your feedback. I have made all the changes needed and it is working as expected except for ONE use case where the servlet context path does not end with */*. When server context path is given without / ('/versa'), tomcat seems to do 302 redirect to automaticall

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-07 Thread Mark Thomas
e content-length: 0 date: Fri, 07 Oct 2022 16:58:51 GMT We wanted to block OPTIONS on port 80 as well, it seems to me that tomcat internally (via connector) redirects requests without application code. How can I achieve blocking OPTIONS, TRACE, and CONNECT HTTP methods on port 80 while redirect i

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-07 Thread Bhavesh Mistry
get redirected > > regardless of the method. > > > > curl -i -k -X OPTIONS http://10.43.243.8/versa/ > > *HTTP/1.1 302* > > Cache-Control: private > > Location: https://10.43.243.8/versa/ > > Content-Length: 0 > > Date: Fri, 07 Oct 2022 16:58:27 GMT > &

Re: Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-07 Thread Mark Thomas
ithout application code. How can I achieve blocking OPTIONS, TRACE, and CONNECT HTTP methods on port 80 while redirect is ON for the connector? Any pointers or help is greatly appreciated. Tomcat only redirects http to https as the result of an application defined transport-guarantee element in w

Tomcat Redirect Port 80 to 443 and Block OPTIONS HTTP Method

2022-10-07 Thread Bhavesh Mistry
PTIONS, TRACE, and CONNECT HTTP methods on port 80 while redirect is ON for the connector? Any pointers or help is greatly appreciated. Thanks, Bhavesh

Re: [OT] Apache : Redirect web requests - Keep the same host in the URL

2022-03-28 Thread Christopher Schultz
Olivier, Marking off-topic because this is about Apache httpd and not Apache Tomcat, but it's fine. See below. On 3/26/22 07:48, olivier giorgi wrote: The goal is that users willcontinue to connect to "https:/server1"but will actually browse to "https://server2";. I have successfullyredire

AW: Apache : Redirect web requests - Keep the same host in the URL

2022-03-26 Thread Thomas Hoffmann (Speed4Trade GmbH)
> -Ursprüngliche Nachricht- > Von: olivier giorgi > Gesendet: Samstag, 26. März 2022 12:49 > An: Tomcat Users List > Betreff: Apache : Redirect web requests - Keep the same host in the URL > > > Hello all, > > The goal is that users willcontinue to

Apache : Redirect web requests - Keep the same host in the URL

2022-03-26 Thread olivier giorgi
Hello all, The goal is that users willcontinue to connect to "https:/server1"but will actually browse to "https://server2";. I have successfullyredirected from "server1" to "server2" via apache/http, but the url seen in the browserchanges.  In the following configuration, how can I make this

AW: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-08 Thread Benny Kannengießer
tice to use 301 redirects to fully keep the page ranking of the page the request is redirected to. -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Samstag, 5. Februar 2022 11:01 An: users@tomcat.apache.org Betreff: Re: AW: AW: Redirect with 301 for directory requested without trailin

AW: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-06 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello, one topic which was not discussed yet: What is the reason behind sending a permanent redirect instead of temporary redirect for folders without slash? Is it about SEO optimization? The user itself won't recognize any difference and also the different caching won't be noticea

Re: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-05 Thread Mark Thomas
to skip this check. - resetBuffer() The default servlet won#t have written anything so it is safe to skip this - relative vs absolute redirect The default servlet generates an absolute redirect so it is safe to skip this - redirect body This is disabled by default and you don&#x

Re: AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-04 Thread Christopher Schultz
rcumvent. What would be your opinion? Ugly and working beats pretty and useless any day IMHO. -chris -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Donnerstag, 3. Februar 2022 17:41 An: users@tomcat.apache.org Betreff: Re: AW: Redirect with 301 for directory requested without tra

AW: AW: Redirect with 301 for directory requested without trailing slash

2022-02-04 Thread Benny Kannengießer
rsprüngliche Nachricht- Von: Mark Thomas Gesendet: Donnerstag, 3. Februar 2022 17:41 An: users@tomcat.apache.org Betreff: Re: AW: Redirect with 301 for directory requested without trailing slash I didn't see a commit in the code but I didn't look into what sendRedirect() does and I

Re: AW: Redirect with 301 for directory requested without trailing slash

2022-02-03 Thread Mark Thomas
urce code, but now I think the DefaultServlet somehow also commits the response. So what else could I do? Make the response buffer bigger? Do you see any other possibility? -Ursprüngliche Nachricht- Von: Mark Thomas Gesendet: Mittwoch, 2. Februar 2022 18:08 An: users@tomcat.apache.org

AW: Redirect with 301 for directory requested without trailing slash

2022-02-03 Thread Benny Kannengießer
. Februar 2022 18:08 An: users@tomcat.apache.org Betreff: Re: Redirect with 301 for directory requested without trailing slash On 02/02/2022 15:21, Benny Kannengießer wrote: > Hi, > > I wonder how I could achieve that Tomcat sends a 301 (permanent redirect) > instead of 302 (tempora

Re: Redirect with 301 for directory requested without trailing slash

2022-02-02 Thread Mark Thomas
On 02/02/2022 15:21, Benny Kannengießer wrote: Hi, I wonder how I could achieve that Tomcat sends a 301 (permanent redirect) instead of 302 (temporary redirect) when a directory is requested without a trailing slash. Currently, when Tomcat receives a request like http:///some-directory<h

Redirect with 301 for directory requested without trailing slash

2022-02-02 Thread Benny Kannengießer
Hi, I wonder how I could achieve that Tomcat sends a 301 (permanent redirect) instead of 302 (temporary redirect) when a directory is requested without a trailing slash. Currently, when Tomcat receives a request like http:///some-directory<http://%3cdomain%3e/some-directory> it redire

Re: 200 response and redirect for ".../test.jsp"

2021-08-26 Thread Christopher Schultz
w-priority complaint about a security scan looking for "test.jsp" on one of our installations, expecting a 404 response, and instead getting a 200 response and a redirect to our own error page. Just a sanity check: this *is* a problem with our ROOT context, not with Tomcat itself, rig

Re: 200 response and redirect for ".../test.jsp"

2021-08-24 Thread Mark Eggers
"test.jsp" on one of our installations, expecting a 404 response, and instead getting a 200 response and a redirect to our own error page. Just a sanity check: this *is* a problem with our ROOT context, not with Tomcat itself, right? And it has to be solved within our ROOT context,

Re: 200 response and redirect for ".../test.jsp"

2021-08-24 Thread Christopher Schultz
a 404 response, and instead getting a 200 response and a redirect to our own error page. Just a sanity check: this *is* a problem with our ROOT context, not with Tomcat itself, right? And it has to be solved within our ROOT context, right? My guess is that the vuln scanner assumes that &quo

200 response and redirect for ".../test.jsp"

2021-08-24 Thread James H. H. Lampert
I could have sworn I asked about this over a year ago, but I can't find any record of having done so. We've got a low-priority complaint about a security scan looking for "test.jsp" on one of our installations, expecting a 404 response, and instead getting a 200 response a

Re: Unable to get http redirect to https on Apache Tomcat 8.5.57

2020-09-15 Thread Lee Jarvis
Original message From: Mark Thomas Date: 9/14/20 3:30 PM (GMT-05:00) To: users@tomcat.apache.org Subject: Re: Unable to get http redirect to https on Apache Tomcat 8.5.57 On 14/09/2020 20:22, Lee Jarvis wrote:> Hi all,>  > I’m trying to implement SSL and have

Re: Unable to get http redirect to https on Apache Tomcat 8.5.57

2020-09-15 Thread Lee Jarvis
Original message From: Mark Thomas Date: 9/14/20 3:30 PM (GMT-05:00) To: users@tomcat.apache.org Subject: Re: Unable to get http redirect to https on Apache Tomcat 8.5.57 On 14/09/2020 20:22, Lee Jarvis wrote:> Hi all,>  > I’m trying to implement SSL and have

Re: Unable to get http redirect to https on Apache Tomcat 8.5.57

2020-09-14 Thread Mark Thomas
ses/keystore.jks" >     keystorePass="****" >     clientAuth="false" >     sslProtocol="TLSv1.2" >     relaxedQueryChars='^{}[]|"' /> >   > Thanks & regards,Lee Jarvis In the configuration above, there is nothing

Unable to get http redirect to https on Apache Tomcat 8.5.57

2020-09-14 Thread Lee Jarvis
Hi all,   I’m trying to implement SSL and have defined a connector on ports 8080 and 8443. I can connect to either port, but I want any incoming HTTP on 8080 to be redirected to the HTTPS port on 8443, but that’s not happening as I have things configured below. What am I missing?         Thank

Unable to get http redirect to https on Apache Tomcat 8.5.57

2020-09-14 Thread Lee Jarvis
Hi all,   I’m trying to implement SSL and have defined a connector on ports 8080 and 8443. I can connect to either port, but I want any incoming HTTP on 8080 to be redirected to the HTTPS port on 8443, but that’s not happening as I have things configured below. What am I missing?         Thank

Re: Fwd: Reverse proxy and SSL redirect

2020-07-01 Thread rugman66 .
;> Mark > > > > Hi Mark, > > > > Was on unplanned leave for the past few months, but back. > > > > I did try to enable RequestDumperFilter, however the file was created > > but no log entries created. I did find something interesting. When I > >

Re: Fwd: Reverse proxy and SSL redirect

2020-07-01 Thread Mark Thomas
e full set of >> request headers received which will hopefully help explain what is going on. >> >> Mark > > Hi Mark, > > Was on unplanned leave for the past few months, but back. > > I did try to enable RequestDumperFilter, however the file was created > bu

Re: Fwd: Reverse proxy and SSL redirect

2020-06-30 Thread rugman66 .
ark, Was on unplanned leave for the past few months, but back. I did try to enable RequestDumperFilter, however the file was created but no log entries created. I did find something interesting. When I test in Postman with HTTP it does redirect to HTTPD but throws the error. However when I chang

Re: Fwd: Reverse proxy and SSL redirect

2020-04-22 Thread Mark Thomas
On 22/04/2020 00:11, rugman66 . wrote: >Tomcat log (I'm trying to get more debug level logging) > 2020-04-21 13:39:33 INFO app.CompletionRestController > Unsupported Media Type in Header > > Postman >415 Unsupported Media Type > > GET URL >

Re: Fwd: Reverse proxy and SSL redirect

2020-04-21 Thread rugman66 .
best avoided if > at all possible. > > > > > I have Apache 2.4.6 running as reverse proxy for Tomcat 7.0.96, both > > running SSL, and a functioning redirect from HTTP to HTTPS for both > > Apache and Tomcat. ( Need to use both these releases due to IT > > avai

Re: Reverse proxy and SSL redirect

2020-04-20 Thread Christopher Schultz
later versions. (Looks like you are using mod_proxy_http and should therefore be okay for the worst of these issues). > both running SSL, and a functioning redirect from HTTP to HTTPS > for both Apache and Tomcat. > ( Need to use both these releases due to IT availability and app >

Re: Fwd: Reverse proxy and SSL redirect

2020-04-18 Thread Mark Thomas
proxy for Tomcat 7.0.96, both > running SSL, and a functioning redirect from HTTP to HTTPS for both > Apache and Tomcat. ( Need to use both these releases due to IT > availability and app requirements ) > Prior to enabling SSL on both a Json GET command made to the > applicat

Fwd: Reverse proxy and SSL redirect

2020-04-17 Thread rugman66 .
Made correction to ProxyPass and ProxyPassReverse. -John -- Forwarded message - From: rugman66 . Date: Fri, Apr 17, 2020 at 10:02 AM Subject: Reverse proxy and SSL redirect To: Tomcat Users List Hello, I have Apache 2.4.6 running as reverse proxy for Tomcat 7.0.96, both

Reverse proxy and SSL redirect

2020-04-17 Thread rugman66 .
Hello, I have Apache 2.4.6 running as reverse proxy for Tomcat 7.0.96, both running SSL, and a functioning redirect from HTTP to HTTPS for both Apache and Tomcat. ( Need to use both these releases due to IT availability and app requirements ) Prior to enabling SSL on both a Json GET command

Re: efficient redirect map with embedded Tomcat

2019-10-25 Thread Felix Schumacher
. >>> >>> Let's say 100 resources need redirecting, to pick an arbitrary >>> number. >>> >>> (The use case is simply to migrate some old URLs that have >>> probably been indexed already or even linked on the web. >>> Theoretically t

Re: efficient redirect map with embedded Tomcat

2019-10-15 Thread Garret Wilson
On 10/15/2019 6:06 AM, Christopher Schultz wrote: (The use case is simply to migrate some old URLs that have probably been indexed already or even linked on the web. Theoretically the entire site would need to redirect its old URLs, but probably only the pages.) So, just to be sure, you are

Re: efficient redirect map with embedded Tomcat

2019-10-15 Thread Christopher Schultz
depends on how many redirects are you talking about as >>> well as what sort of % of the over all requests need to be >>> redirected. >> >> Let's say 100 resources need redirecting, to pick an arbitrary >> number. >> >> (The use case is simply to mig

Re: efficient redirect map with embedded Tomcat

2019-10-15 Thread Christopher Schultz
he over all requests need to be >> redirected. > > Let's say 100 resources need redirecting, to pick an arbitrary > number. > > (The use case is simply to migrate some old URLs that have probably > been indexed already or even linked on the web. Theoretically the > enti

Re: efficient redirect map with embedded Tomcat

2019-10-14 Thread Mark Thomas
's say 100 resources need redirecting, to pick an arbitrary number. > > (The use case is simply to migrate some old URLs that have probably been > indexed already or even linked on the web. Theoretically the entire site > would need to redirect its old URLs, but probably only the p

Re: efficient redirect map with embedded Tomcat

2019-10-13 Thread Garret Wilson
s that have probably been indexed already or even linked on the web. Theoretically the entire site would need to redirect its old URLs, but probably only the pages.) Garret - To unsubscribe, e-mail: users-unsubscr...@tomcat.

Re: efficient redirect map with embedded Tomcat

2019-10-13 Thread Mark Thomas
e over all requests need to be redirected. I'd either start with the redirect valve as Felix suggests or - possibly - a custom resource implementation. Mark > > Felix > >> >> Thanks, >> >> Garret >> >> On 10/11/2019 11:06 AM, Garret Wilson wrote: >&

Re: efficient redirect map with embedded Tomcat

2019-10-12 Thread Felix Schumacher
c files. At the time of >> creation I know that certain paths, such as `foo/bar.txt`, should >> redirect to other paths, such as `some/other.txt`. What's the best >> way to configure Tomcat to do those redirects? I'm comfortable with >> extending the source code. >

Re: efficient redirect map with embedded Tomcat

2019-10-12 Thread Garret Wilson
I get started implementing a new feature. Let's say I'm embedding Tomcat to serve static files. At the time of creation I know that certain paths, such as `foo/bar.txt`, should redirect to other paths, such as `some/other.txt`. What's the best way to configure Tomcat to do

efficient redirect map with embedded Tomcat

2019-10-11 Thread Garret Wilson
This is a question for Tomcat experts before I get started implementing a new feature. Let's say I'm embedding Tomcat to serve static files. At the time of creation I know that certain paths, such as `foo/bar.txt`, should redirect to other paths, such as `some/other.txt`. What'

Re: Re: HTTP to HTTPS redirect not happening

2019-07-22 Thread Konstantin Kolinko
вс, 21 июл. 2019 г. в 00:09, Richard Huntrods : > > I still am having trouble understanding why the web application's > WEB-INF/web.xml would be the appropriate place to put the change when I > want to affect ROOT. I would have thought webapps/ROOT/WEB-INF/web.xml > would have been the correct one.

Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread Martynas Jusevičius
ound my typo, I tried editing the global web.xml file > (/conf/web.xml) . In my case, this is actually the file I want based on > the behaviour described by Konstantin as this entire tomcat instance is > for this one application and it's static web pages, so *everything* > needs

Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread Richard Huntrods
instance is for this one application and it's static web pages, so *everything* needs to have the redirect. After fixing the typo, I tried it again and it works perfectly. So now I have two ways to accomplish what I want: 1. Edit /conf/web.xml and add the lines. 2. Edit server.xml and ad

Re: Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread Richard Huntrods
Sorry for top-posting. It's the default with my mail program (thunderbird)... On 7/20/2019 11:27 AM, Konstantin Kolinko wrote: > сб, 20 июл. 2019 г. в 17:47, Richard Huntrods : >> OK. That was really weird. >> >> As I said in my message, following the directions on the web did NOT >> work. It didn

Re: Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread Richard Huntrods
TTP_HOST}:443$1 [R=301] I tried that on localhost (devel box) and it didn't work at first, but only because I did not have port 80 'turned on' on that machine. Once I did that it worked. I then implemented the above 'fix' in the production conf/server.xml and conf/Catali

Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread Konstantin Kolinko
сб, 20 июл. 2019 г. в 17:47, Richard Huntrods : > > OK. That was really weird. > > As I said in my message, following the directions on the web did NOT > work. It didn't force redirection from http to https. > > What it DID end up doing was to kill the tomcat servlet application. > Before the chang

Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread Richard Huntrods
vlet/tomcat applications when I really want http://mydomain.com to automatically redirect to the servlet application (I change home.html to the servlet URL). It works. After making this change - and I didn't even have to restart tomcat - it now works perfectly. Eventually I'll figure

Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread logo
tory ../tomcat/webapps/ROOT >> >> Again, this is working just fine. If I type "https://mydomain.com"; I >> see the secure static pages. If I type "http://mydomain.com"; I see the >> same pages, but browsers inform me the page isn't secure. >

Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread Richard Huntrods
../tomcat/webapps/ROOT > > Again, this is working just fine. If I type "https://mydomain.com"; I > see the secure static pages. If I type "http://mydomain.com"; I see the > same pages, but browsers inform me the page isn't secure. > > I want to force tom

Re: HTTP to HTTPS redirect not happening

2019-07-20 Thread logo
c web pages are served on this application via tomcat using the > ROOT directory ../tomcat/webapps/ROOT > > Again, this is working just fine. If I type "https://mydomain.com"; I see > the secure static pages. If I type "http://mydomain.com"; I see the same > pag

HTTP to HTTPS redirect not happening

2019-07-19 Thread Richard Huntrods
ne. If I type "https://mydomain.com"; I see the secure static pages. If I type "http://mydomain.com"; I see the same pages, but browsers inform me the page isn't secure. I want to force tomcat to redirect "http://mydomain.com"; to "https://mydomain.com";

RE: Cant configure Tomcat isapi redirect in IIS

2019-04-23 Thread Shpilsky Rita (UniCredit Services)
, 2019 4:36 PM To: users@tomcat.apache.org Subject: Re: Cant configure Tomcat isapi redirect in IIS On 23/04/2019 20:32, Shpilsky Rita (UniCredit Services) wrote: > This message has been marked asUC group - PUBLIC > >   > > Hi, > > I have tomcat 9.0.16 installed on windows 2012 s

Re: Cant configure Tomcat isapi redirect in IIS

2019-04-23 Thread Mark Thomas
On 23/04/2019 20:32, Shpilsky Rita (UniCredit Services) wrote: > This message has been marked asUC group - PUBLIC > >   > > Hi, > > I have tomcat 9.0.16 installed on windows 2012 server, 64 bit version > > I went through all the steps including getting the isapi_redirect.dll in > 64 bit version

RE: Cant configure Tomcat isapi redirect in IIS

2019-04-23 Thread Shpilsky Rita (UniCredit Services)
This message has been marked as UC group - PUBLIC Hi, I have tomcat 9.0.16 installed on windows 2012 server, 64 bit version I went through all the steps including getting the isapi_redirect.dll in 64 bit version, but when I try to open one of the applications residing in webapps folder of tomc

Re: [SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-18 Thread Alex O'Ree
issue inn Tomcat that requires an update > > in your environment. How do you usually handle updates? > > > > -chris > > > >>>> On Wed, Oct 10, 2018 at 10:23 AM Christopher Schultz < > >>>> ch...@christopherschultz.net> wrote: >

Re: [SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-18 Thread Christopher Schultz
e > in your environment. How do you usually handle updates? > > -chris > >>>> On Wed, Oct 10, 2018 at 10:23 AM Christopher Schultz < >>>> ch...@christopherschultz.net> wrote: >>>> >>>> Mark and Michael, >>>> >>>> On 10/

Re: [SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-18 Thread Alex O'Ree
gt; > - -chris > > > On Wed, Oct 10, 2018 at 10:23 AM Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > > Mark and Michael, > > > > On 10/10/18 05:15, Mark Thomas wrote: > >>>> On 08/10/18 21:55, Michael Yoder wrote

Re: Tomcat/manager/ disable redirect from HTTPS to HTTP

2018-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hans, On 10/15/18 03:17, Hans Schou wrote: > On Fri, 12 Oct 2018 at 14:12, Mark Thomas > wrote: > >> >> For the HTTP connector processing proxied traffic originally >> received over HTTPS you want: SSLEnabled="false" scheme="https" >> secure="tr

Re: [SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-18 Thread Christopher Schultz
On 08/10/18 21:55, Michael Yoder wrote: >>>>> On Wed, Oct 3, 2018 at 12:50 PM Mark Thomas >>>>> wrote: >>>>>> CVE-2018-11784 Apache Tomcat - Open Redirect >>>>> >>>>> Is it possible to get more information on the "s

Re: Tomcat/manager/ disable redirect from HTTPS to HTTP

2018-10-15 Thread Hans Schou
On Fri, 12 Oct 2018 at 14:12, Mark Thomas wrote: > > For the HTTP connector processing proxied traffic originally received > over HTTPS you want: > SSLEnabled="false" > scheme="https" > secure="true" > Thanks, this one is working exactly as expected: A bonus is that I now got forced use of

Re: [SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-14 Thread Alex O'Ree
GIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Mark and Michael, > > On 10/10/18 05:15, Mark Thomas wrote: > > On 08/10/18 21:55, Michael Yoder wrote: > >> On Wed, Oct 3, 2018 at 12:50 PM Mark Thomas > >> wrote: > >>> CVE-2018-11784 Apache Tomcat

Re: Tomcat/manager/ disable redirect from HTTPS to HTTP

2018-10-12 Thread Mark Thomas
" secure="true" For the HTTP connector processing proxied traffic originally received over HTTP you want: SSLEnabled="false" scheme="http" secure="false" Mark > > I can then manually go to the URL and change 'http' to 'https' a

Tomcat/manager/ disable redirect from HTTPS to HTTP

2018-10-12 Thread Hans Schou
://example.org/manager/html?NONCE... note the SSL has been cut off. I can then manually go to the URL and change 'http' to 'https' and then it works fine with SSL all the way around. The location redirect has been seen on the network with "tcpdump -X", to make s

Re: [SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark and Michael, On 10/10/18 05:15, Mark Thomas wrote: > On 08/10/18 21:55, Michael Yoder wrote: >> On Wed, Oct 3, 2018 at 12:50 PM Mark Thomas >> wrote: >>> CVE-2018-11784 Apache Tomcat - Open Redirect >>

Re: [SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-10 Thread Mark Thomas
On 08/10/18 21:55, Michael Yoder wrote: > On Wed, Oct 3, 2018 at 12:50 PM Mark Thomas wrote: >> CVE-2018-11784 Apache Tomcat - Open Redirect > > Is it possible to get more information on the "specially crafted URL"? > I'd like more information so that I

Re: [SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-08 Thread Michael Yoder
On Wed, Oct 3, 2018 at 12:50 PM Mark Thomas wrote: > CVE-2018-11784 Apache Tomcat - Open Redirect Is it possible to get more information on the "specially crafted URL"? I'd like more information so that I can test if some of our apps are vulnerable. In addition, I'd

[SECURITY] CVE-2018-11784 Apache Tomcat - Open Redirect

2018-10-03 Thread Mark Thomas
CVE-2018-11784 Apache Tomcat - Open Redirect Severity: Moderate Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.11 Apache Tomcat 8.5.0 to 8.5.33 Apache Tomcat 7.0.23 to 7.0.90 The unsupported 8.0.x release line has not been analysed but is likely to be

Re: RewriteValve forward or redirect ?

2017-06-22 Thread Jérémie Barthés
May you please test RewriteValve with any tomcat after version 8 with following conditions : add RewriteValve in conf/server.xml add rewriteRule in conf/Catalina/localhost/rewrite.config RewriteRule ^/IWantThisVisible/(.*)$ /examples/$1/ start tomcat go to following URL (any internet browser

Re: RewriteValve forward or redirect ?

2017-06-20 Thread Jérémie Barthés
RewriteRule ^/visibleURL/(.*)$ /examples/$1/ (missing space between ^/visibleURL/(.*)$ and /examples/$1/) Le 20/06/2017 à 18:31, Jérémie Barthés a écrit : please test what i put in my mail : install a brand new tomcat 9 from archive (last version) put a RewriteValve in server.xml in the fil

Re: RewriteValve forward or redirect ?

2017-06-20 Thread Jérémie Barthés
please test what i put in my mail : install a brand new tomcat 9 from archive (last version) put a RewriteValve in server.xml in the file /conf/Catalina/localhost/rewrite.config add RewriteRule ^/visibleURL/(.*)$/examples/$1/ now start tomcat and go to /visibleURL/servlets/ then go to /visib

Re: RewriteValve forward or redirect ?

2017-06-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jérémie, On 6/20/17 9:32 AM, Jérémie Barthés wrote: > http://192.168.1.1:8080/visibleURL/servlets/ URL displayed = > http://192.168.1.1:8080/visibleURL/servlets/ page displayed = > http://192.168.1.1:8080/examples/servlets/ > > http://192.168.1.1:8

Re: RewriteValve forward or redirect ?

2017-06-20 Thread Jérémie Barthés
http://192.168.1.1:8080/visibleURL/servlets/ URL displayed = http://192.168.1.1:8080/visibleURL/servlets/ page displayed = http://192.168.1.1:8080/examples/servlets/ http://192.168.1.1:8080/visibleURL/servlets URL displayed = http://192.168.1.1:8080/examples/servlets/ page displayed = http://192.

RewriteValve forward or redirect ?

2017-06-20 Thread Jérémie Barthés
Hi, I have some issues with my brand new tomcat 9.0.0.M21 I just unzipped *windows-64 core* Then i added the *RewriteValve *in *conf/server.xml* / autoDeploy="true">// // // //className="org.apache.catalina.valves.rewrite.RewriteValve"/>// // / Then

Re: http to https redirect 301

2017-05-04 Thread Yuval Schwartz
Thanks Andre and Mark, I updated versions and set the appropriate parameter and the redirect works as intended. I also changed my installation to utilize the CATALINA_HOME and CATALINA_BASE variables. Thank you. On Wed, May 3, 2017 at 11:10 AM, André Warnier (tomcat) wrote: > On 03.05.2017

Re: http to https redirect 301

2017-05-03 Thread tomcat
version: 8.0.22 jdk: 1.8.0_05 I have a webapp that uses a tomcat server behind a load balancer. I recently added a the option to connect to my webapp via https. I would like to redirect all http requests to https. I achieved this by implementing the instruction outlined here: https

Re: http to https redirect 301

2017-05-03 Thread Yuval Schwartz
wrote: > >>> Tomcat version: 8.0.22 > >>> jdk: 1.8.0_05 > >>> > >>> I have a webapp that uses a tomcat server behind a load balancer. > >>> > >>> I recently added a the option to connect to my webapp via https. > >>> > &

Re: http to https redirect 301

2017-05-02 Thread Mark Thomas
ebapp that uses a tomcat server behind a load balancer. >>> >>> I recently added a the option to connect to my webapp via https. >>> >>> I would like to redirect all http requests to https. >>> I achieved this by implementing the instruction outlined here: >&g

Re: http to https redirect 301

2017-05-01 Thread Yuval Schwartz
tly added a the option to connect to my webapp via https. > > > > I would like to redirect all http requests to https. > > I achieved this by implementing the instruction outlined here: > > https://elastx.zendesk.com/hc/en-us/articles/214238826- > Force-https-with-Tomcat >

Re: http to https redirect 301

2017-05-01 Thread Mark Thomas
On 01/05/17 14:23, Yuval Schwartz wrote: > Tomcat version: 8.0.22 > jdk: 1.8.0_05 > > I have a webapp that uses a tomcat server behind a load balancer. > > I recently added a the option to connect to my webapp via https. > > I would like to redirect all http requests to

http to https redirect 301

2017-05-01 Thread Yuval Schwartz
Tomcat version: 8.0.22 jdk: 1.8.0_05 I have a webapp that uses a tomcat server behind a load balancer. I recently added a the option to connect to my webapp via https. I would like to redirect all http requests to https. I achieved this by implementing the instruction outlined here: https

Re: How to create a redirect?

2017-03-03 Thread Hassan Schroeder
On Fri, Mar 3, 2017 at 7:58 AM, JR McVicker wrote: > When I go to https://webadvisor.cornerstone.edu my page does not load. If > I take out https and replace it with http the page loads and it uses https. And it's using a non-standard port: https://webadvisor.cornerstone.edu:8443/WAPROD/WebAd

  1   2   3   4   5   6   7   8   >