[SECURITY] CVE-2024-52316 Apache Tomcat - Authentication Bypass

2024-11-18 Thread Mark Thomas
CVE-2024-52316 Apache Tomcat - Authentication Bypass Severity: Low Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 11.0.0-M1 to 11.0.0-M26 Apache Tomcat 10.1.0-M1 to 10.1.30 Apache Tomcat 9.0.0-M1 to 9.0.95 Description: If Tomcat was configured to use a custom Jakarta

Re: What future plans are for Tomcat authentication

2024-03-20 Thread Mark Thomas
On 20/03/2024 06:22, Mircea Butmalai wrote: Questions are: 1. Is Jakarta Authentication specification going to replace the authentication part of Jakarta Servlet specification? Unlikely. 2. Are current authenticatiors from Tomcat (FORM, SPNEGO, SSL, HTTP DIGEST, HTTP BASIC, SSO)

What future plans are for Tomcat authentication

2024-03-19 Thread Mircea Butmalai
Hello, I am asking this questions on Tomcat Users mail list in order to find answers about how users and developers of Tomcat see the topic I am discribing. In jakarta EE there is work for Jakarta Authentication (that reached 3.1 in development) formely JASPIC which Tomcat has implementation f

Re: Tomcat Authentication + Spring Security J2EEPreAuthentication

2019-05-21 Thread Michael Osipov
Am 2019-05-20 um 21:35 schrieb Nacho Ganguli: My last attempt used Spring Security JEE pre-authentication filters. This works as I would like "provided" that I only use basic auth and tomcat's default realm (tomcat-users.xml). As soon as I introduce form-based auth, it does not work and I am pro

Re: Tomcat Authentication + Spring Security J2EEPreAuthentication

2019-05-20 Thread Nacho Ganguli
My last attempt used Spring Security JEE pre-authentication filters. This works as I would like "provided" that I only use basic auth and tomcat's default realm (tomcat-users.xml). As soon as I introduce form-based auth, it does not work and I am prompted to authenticate a second time. The log fi

Re: Tomcat Authentication + Spring Security J2EEPreAuthentication

2019-05-18 Thread Michael Osipov
quest for #getRemoteUser() and #isUserInRole() while Tomcat CMS operates on internal classes. Different approaches. Tomcat source code has to be modified to understand Spring Security's classes. I went away from Spring Security due to its complexity and to CAS only by passing with secu

Tomcat Authentication + Spring Security J2EEPreAuthentication

2019-05-17 Thread Nacho Ganguli
HELP, I NEED SOMEBODY, NOT JUST ANYBODY! HELP (It all started weeks ago when I tried unsuccessfully to use Tomcat's SSO Valve and decided to try pre-authentication...) We are developing a subscription-based "portal" webapp that we use to authenticate users and perform authentication flows su

Tomcat authentication with IIS front-end (was: WELCOME to users@tomcat.apache.org)

2018-01-09 Thread tomcat
On 08.01.2018 17:16, Agrawal, Suraj (CORP) wrote: Thanks Andre for the help, We are routing the request from IIS 7.5 to Apache using reverse Proxy. It seems like Apache is not allowing the authentication nor its accepting the username and password passed from IIS. First a note : IIS will ne

[SECURITY] CVE-2011-3190 Apache Tomcat Authentication bypass and information disclosure

2011-08-29 Thread Mark Thomas
CVE-2011-3190 Apache Tomcat Authentication bypass and information disclosure Severity: Important Vendor: The Apache Software Foundation Versions Affected: - Tomcat 7.0.0 to 7.0.20 - Tomcat 6.0.0 to 6.0.33 - Tomcat 5.5.0 to 5.5.33 - Earlier, unsupported versions may also be affected Description

Re: user tomcat authentication

2011-06-13 Thread Mark Thomas
On 13/06/2011 09:44, Petr Hracek wrote: > Only the simple question, > What is the flag which URLs are protected? It is time for you to read the Servlet specification. > I have found that link > http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html > and specially section: > > How

Re: user tomcat authentication

2011-06-13 Thread Petr Hracek
Only the simple question, What is the flag which URLs are protected? I have found that link http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html and specially section: How to secure your application with JAAS ? Let's say that my htdocs directory is there: /opt/testApp/htdocs/in

Re: user tomcat authentication

2011-06-13 Thread Pid
On 13/06/2011 07:50, Petr Hracek wrote: > First authentication is done so that if in the browser exists relevant > HTTP COOKIE and validation of that cookie is done then page should be > shown. > How to do that I do not know from the tomcat point of view. > > Is there any possiblity how to che

Re: user tomcat authentication

2011-06-12 Thread Petr Hracek
First authentication is done so that if in the browser exists relevant HTTP COOKIE and validation of that cookie is done then page should be shown. How to do that I do not know from the tomcat point of view. Is there any possiblity how to check valid HTTP COOKIE otherwise showing loging page.

Re: user tomcat authentication

2011-06-12 Thread Petr Hracek
First authentication is done so that if in the browser exists relevant HTTP COOKIE and validation of that cookie is done then page should be shown. 2011/6/12 Mark Thomas : > On 12/06/2011 20:29, Pid wrote: >> On 12/06/2011 17:12, Petr Hracek wrote: >>> And what about in case that I have my own pr

Re: user tomcat authentication

2011-06-12 Thread Mark Thomas
On 12/06/2011 20:29, Pid wrote: > On 12/06/2011 17:12, Petr Hracek wrote: >> And what about in case that I have my own program for accessing to the >> specific >> databases where the passwords are stored as hashes? >> >> Are there any possibilities how to run that program for getting unhashed >> pa

Re: user tomcat authentication

2011-06-12 Thread Pid
On 12/06/2011 17:12, Petr Hracek wrote: > And what about in case that I have my own program for accessing to the > specific > databases where the passwords are stored as hashes? > > Are there any possibilities how to run that program for getting unhashed > password from database? Why not hash the

Re: user tomcat authentication

2011-06-12 Thread Petr Hracek
And what about in case that I have my own program for accessing to the specific databases where the passwords are stored as hashes? Are there any possibilities how to run that program for getting unhashed password from database? best regards Petr Dne 10.6.2011 16:23, Pid napsal(a): On 10/06/

Re: user tomcat authentication

2011-06-10 Thread Pid
On 10/06/2011 11:26, Petr Hracek wrote: > Dear tomcat users, > > I would like to ask you how can I authenticate users to access tomcat page? > My users are stored in standard /etc/passwd file I'm not sure I'd give Tomcat access to the local user authentication. > or users which are stored in an

user tomcat authentication

2011-06-10 Thread Petr Hracek
Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file or users which are stored in another database engine than Realm thank you in advance -- Best Regards / S pozdravem Petr Hracek ---

Re: Anonymous access with Tomcat Authentication configured.

2007-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry, Propes, Barry L wrote: > is the bottom line that he (Semen's) wanting certain areas protected > by a role, and other areas protected/accessible only by another role? Sounds like he wants user-level authorization, which Tomcat just doesn't do.

Re: Anonymous access with Tomcat Authentication configured.

2007-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Semen, Semen Vadishev wrote: > So implementing internal server component (probably valve) is the only > solution, right? No. Since you only have one servlet, you can even implement directly in that one servlet. Your other option is to use a Filter, w

Re: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Semen Vadishev
Christopher, 2007/10/10, Christopher Schultz <[EMAIL PROTECTED]>: > Tomcat's built-in A&A requires that an unauthenticated user request a > protected resource (protected by a ). When this > happens, Tomcat intercepts the request internally and issues the > appropriate login request (HTTP AUTH, FO

RE: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Propes, Barry L
Sent: Tuesday, October 09, 2007 5:08 PM To: Tomcat Users List Subject: Re: Anonymous access with Tomcat Authentication configured. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Semen, Semen Vadishev wrote: > Well, have you ever configured path based authentication for Subversion > Server? Oh, y

Re: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Semen, Semen Vadishev wrote: > Well, have you ever configured path based authentication for Subversion > Server? Oh, you're using WebDAV. :( > So if there is no element in > web.xml, Tomcat doesn't provide authorization, right? Correct. It will no

Re: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Semen Vadishev
ions. > And only if users will ask for anonymous access I described earlier, we'll > > develop custom mechanism or maybe use security filter. > > I'm not convinced you need either. You can use the built-in Tomcat > authentication to do logins. It sounds interesting. So

Re: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Christopher Schultz
thing new with > authentication and use special "guest" user in the first version of servlet. I'm not sure what that means. > And only if users will ask for anonymous access I described earlier, we'll > develop custom mechanism or maybe use security filter. I'm no

Re: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Semen Vadishev
Christopher, 2007/10/9, Christopher Schultz <[EMAIL PROTECTED]>: > > >> You cannot do this with Tomcat's authentication mechanism. You will > >> have to provide an alternative implementation. I recommend looking > >> st securityfilter ( http://securityfilter.sourceforge.net ). > > > > Well, secur

Re: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Semen, Semen Vadishev wrote: > Christopher, thanks for reply. > > 2007/10/9, Christopher Schultz <[EMAIL PROTECTED]>: > >> You cannot do this with Tomcat's authentication mechanism. You will >> have to provide an alternative implementation. I recomm

Re: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Semen Vadishev
Christopher, thanks for reply. 2007/10/9, Christopher Schultz <[EMAIL PROTECTED]>: > > You cannot do this with Tomcat's authentication mechanism. You will have > to provide an alternative implementation. I recommend looking st > securityfilter ( http://securityfilter.sourceforge.net ). Well, s

Re: Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Semen, Semen Vadishev wrote: > But behavior I need is: 1. If Tomcat gets request with no user > information data (username/password) it should pass it to servlet and > then servlet after handling request's URI according to pba config > file may send S

Anonymous access with Tomcat Authentication configured.

2007-10-09 Thread Semen Vadishev
Hi, I'm developing servlet using servlet API 2.3 on Tomact application server, now my task is to implement path based authentication (pba) with the following Tomcat configuration: auth-method= BASIC Realm className="org.apache.catalina.realm.MemoryRealm" But behavior I need is: 1. If Tomcat gets

Re: Tomcat authentication custom realm digest="md5" ignored

2007-06-30 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > > I have this setup working on my Windows development computer under > Tomcat 5.5. Everything works fine. I get a hash value from Oracle and > pass it back to Tomcat on request. > > BUT! I can't get it to work in test environment on Solaris under Tomcat > 5.0.28. The m

Tomcat authentication custom realm digest="md5" ignored

2007-06-28 Thread Arkadi.Kosmynin
Hi, I have this setup working on my Windows development computer under Tomcat 5.5. Everything works fine. I get a hash value from Oracle and pass it back to Tomcat on request. BUT! I can't get it to work in test environment on Solaris under Tomcat 5.0.28. The major difference in configura

RE: IIS and Tomcat authentication problems

2006-06-23 Thread Phil \(waex\)
Phil -Original Message- From: Markus Müller [mailto:[EMAIL PROTECTED] Sent: 21 June 2006 14:26 To: users@tomcat.apache.org Subject: IIS and Tomcat authentication problems Hi listers, I want to use IIS with Tomcat using the the NTLM-detected user name. The integration of IIS and Tomcat works fine, bu

IIS and Tomcat authentication problems

2006-06-21 Thread Markus Müller
Hi listers, I want to use IIS with Tomcat using the the NTLM-detected user name. The integration of IIS and Tomcat works fine, but not the authentication. I managed this for a number of Tomcat versions before, but right know I cannot get it to work. Im am using: Tomcat 5.5.12 IIS V6.0 Windows Serv

Re: Tomcat Authentication

2005-11-09 Thread Khawaja Shams
Does this mean that if I am using the JDBC realm, tomcat will hit the database for verifying username and password for every request? Also, if this is really happening, then the user will need to authenticate himself for each of his request, meaning that nonce for the digest challenge will be diffe

Re: Tomcat Authentication

2005-11-09 Thread Peter Menzel
Hi, Khawaja Shams schrieb: Hello everyone, I have a few strict requirements for security on my project, and I am having a hard time understanding some concepts. I cannot use SSL due to the performance loss, and the application must be accessed only by authenticated users. Meanwhile, I am require

Tomcat Authentication

2005-11-08 Thread Khawaja Shams
Hello everyone, I have a few strict requirements for security on my project, and I am having a hard time understanding some concepts. I cannot use SSL due to the performance loss, and the application must be accessed only by authenticated users. Meanwhile, I am required to never send the password i