Problems with Tomcat4 Security Design

2002-10-25 Thread vsajip \(yahoo.com\)
I'm having problems using the Tomcat 4 security design for a slightly customised requirement. I've created a custom realm for an external information provider which, when I authenticate a user, gives me a token (in the form of an essentially opaque object). This token needs to be passed back

Re: Problems with Tomcat4 Security Design

2002-10-25 Thread Craig R. McClanahan
On Fri, 25 Oct 2002, vsajip (yahoo.com) wrote: Date: Fri, 25 Oct 2002 23:06:29 +0100 From: vsajip (yahoo.com) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Problems with Tomcat4 Security Design I'm having problems using the Tomcat 4

Re: Security RISK !

2002-10-24 Thread Veniamin Fichin
Tim Funk wrote: You'll want to protect your WEB-INF directory as well as any properties files. You can do that by using by the following in your httpd.conf: (This should be the syntax) Files ~ \.properties$ Order allow,deny Deny from all Satisfy All /Files Directory ~ /WEB-INF/

Re: tomcat security issue

2002-10-24 Thread Glenn Nielsen
SecurityManager permission problems are much easier to debug if you start tomcat with the -Djava.security.debug=access,failure property defined, then check your logs for the string denied. Then review the stack trace and the ProtectionDomain which failed. Regards, Glenn [EMAIL PROTECTED]

Re: Security RISK !

2002-10-24 Thread Tim Funk
401/404 - Forbidden vs not found doesn't matter as long as the intruder is forbidden. Relying on confusing the user is a nice technique to preventing intruders since it may waste more of their time and make them more likely to give up. But that may make others more determined to try to break

Re: tomcat security issue

2002-10-24 Thread Warren Sweetman
I wish I could see some log files. Only file that seems to be active is catalina.out any assistance in this matter would be appreciated here is the entry for the service Service name=Tomcat-Apache13 Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009

Re: Security RISK !

2002-10-23 Thread Robert L Sowders
: Subject:Re: Security RISK ! Sigurður Bjarnason wrote: Hi all The question is.. is there any security risk if I Have the Apache DocumentRoot pointing straight to the webapps folder ?! First of all, Apache cannot handle JSPs and has no knowledge of Servlets. Second, if both

Re: Security RISK !

2002-10-23 Thread Nikola Milutinovic
Robert L Sowders wrote: This doesn't really pose a problem with a correctly configured connector that is setup to handle all *.jsp and servlet requests. Perhaps, but that idea somehow defeats my idea of a web application as a path deployed from some other server. Maybe I'm wrong... Nix. --

Re: Security RISK !

2002-10-23 Thread Robert L Sowders
You are not wrong at all. Best practices for web servers dictate that no programs that operate as root should have access to the document root of the web server. It is indeed a bad practice from a strict security stand point. I was just pointing out that it could be done without apparent

Re: Security RISK !

2002-10-23 Thread Glenn Nielsen
. Regards, Glenn Sigurður Bjarnason wrote: Hi all I am using apache 1.3 and tomcat 4.0.4 together I use apache to serve all the static content, witch I have a special directory for and Tomcat serve all the jsp and servlet stuff.. The question is.. is there any security risk if I Have the Apache

tomcat security issue

2002-10-23 Thread wsweetman
I have the following exception thrown when attempting to access tomcat app resources WarpEngine[Apache - Tomcat4]: Mapping request Security Violation, attempt to use Restricted Class: org.apache.catalina.core.ApplicationDispatcher java.security.AccessControlException: access denied

Re: tomcat security issue

2002-10-23 Thread Jean-Francois Arcand
java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.core.*; } or do not use the SecurityManager. *But* remember you are opening the Tomcat core classes to all web applications, and this is potentially a *security risk*. Also, your application is not portable across different Servlet

Re: tomcat security issue

2002-10-23 Thread wsweetman
accessClassInPackage.org.apache.catalina.core.*; } or do not use the SecurityManager. *But* remember you are opening the Tomcat core classes to all web applications, and this is potentially a *security risk*. Also, your application is not portable across different Servlet Container when doing

Re: tomcat security issue

2002-10-23 Thread Jean-Francois Arcand
accessClassInPackage.org.apache.catalina.core.*; } or do not use the SecurityManager. *But* remember you are opening the Tomcat core classes to all web applications, and this is potentially a *security risk*. Also, your application is not portable across different Servlet Container when doing

Re: tomcat security issue

2002-10-23 Thread wsweetman
{ [...] permission java.lang.RuntimePermission accessClassInPackage.org.apache.catalina.core.*; } or do not use the SecurityManager. *But* remember you are opening the Tomcat core classes to all web applications, and this is potentially a *security risk*. Also, your application is not portable

Problems with Tomcat4 Security Design

2002-10-23 Thread Vinay Sajip
I'm having problems using the Tomcat 4 security design for a slightly customised requirement. I've created a custom realm for an external information provider which, when I authenticate a user, gives me a token (in the form of an essentially opaque object). This token needs to be passed back

Security RISK !

2002-10-22 Thread Sigurður Bjarnason
Hi all I am using apache 1.3 and tomcat 4.0.4 together I use apache to serve all the static content, witch I have a special directory for and Tomcat serve all the jsp and servlet stuff.. The question is.. is there any security risk if I Have the Apache DocumentRoot pointing straight

Re: Security RISK !

2002-10-22 Thread Tim Funk
security risk if I Have the Apache DocumentRoot pointing straight to the webapps folder ?! ¨ Best Regards Siggi -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org

Re: Security RISK !

2002-10-22 Thread Nikola Milutinovic
Sigurður Bjarnason wrote: Hi all The question is.. is there any security risk if I Have the Apache DocumentRoot pointing straight to the webapps folder ?! First of all, Apache cannot handle JSPs and has no knowledge of Servlets. Second, if both Apache and Tomcat-via-connector access the same

Re: Security RISK !

2002-10-22 Thread Dennis Muhlestein
Bjarnason wrote: Hi all I am using apache 1.3 and tomcat 4.0.4 together I use apache to serve all the static content, witch I have a special directory for and Tomcat serve all the jsp and servlet stuff.. The question is.. is there any security risk if I Have the Apache DocumentRoot pointing

tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings, I'm trying to use the security packages that are supported in jdk1.4 (no need of JCE now) in tomcat environment. In a test environment running a class test in a shell, I can access a DES algorithm and use cipher/decipher methods

Re: tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
provider!!) in a dynamic way without any hardcoded line adding the provider! It works but only in a shell command line (probably because jre/lib/ext classpath and other security features not defined in tomcat environment). On Mon, 21 Oct 2002, psalazar wrote: Greetings, I'm trying to use

Re: tomcat4+jdk1.4.1+security providers

2002-10-21 Thread psalazar
com.sun.crypto.provider.SunJCE()); The cool thing would be add the SunJCE provider (or other provider!!) in a dynamic way without any hardcoded line adding the provider! It works but only in a shell command line (probably because jre/lib/ext classpath and other security features not defined in tomcat

Re: Security manager and request.getParameter() access error

2002-10-20 Thread Glenn Nielsen
permissions. Regards, Glenn Dala wrote: When I use the security manager in Tomcat (4.1.12-LE-jdk1.4) some strange problems occur. When I execute the following simple JSP code: % request.getParameter(foo); % I get the following exception: org.apache.jasper.JasperException: org/apache/catalina/util

Re: Multiple Tomcat Security Realms

2002-10-20 Thread Craig R. McClanahan
On Sat, 19 Oct 2002, grenoml wrote: Date: Sat, 19 Oct 2002 13:33:16 -0700 (PDT) From: grenoml [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Multiple Tomcat Security Realms I went through the REALM HOW-TO also

Security manager and request.getParameter() access error

2002-10-19 Thread Dala
When I use the security manager in Tomcat (4.1.12-LE-jdk1.4) some strange problems occur. When I execute the following simple JSP code: % request.getParameter(foo); % I get the following exception: org.apache.jasper.JasperException: org/apache/catalina/util/ParameterMap

Multiple Tomcat Security Realms

2002-10-19 Thread grenoml
I'm using Tomcat 4.1.9. Can someone point me to a document or provide an explanation of how the security realms work in Tomcat and how to implement multiple realms? I've been through the Manager HOW-TO. Still doesn't answer my question. Is it possible to declare more than one realm at a time

Re: Multiple Tomcat Security Realms

2002-10-19 Thread grenoml
I went through the REALM HOW-TO also. It just tells you how to setup the various realm types but not how to configure multiple realms. --- grenoml [EMAIL PROTECTED] wrote: I'm using Tomcat 4.1.9. Can someone point me to a document or provide an explanation of how the security realms work

Problem with setContentType in https-connection with security-constraints

2002-10-16 Thread Toni . Kielo
Hi. I'm having problems with https-connection to tomcat 4.0.2. I have a jsp-page that sets content-type to application/pdf (with response.setContentType) and prints the pdf with iText. This works fine with http-connection and https without security-constraints. Has someone tested

RE: Exception starting filter Security Filter

2002-10-15 Thread Dan Payne
: Exception starting filter Security Filter Hi! In fact I was wrong in my last post. As I found out later, it did not work. I found a solution for my problem but I am not sure if it also applies to yours, Dan. Sorry for not sharing my knowledge until now, but it did not seem to interest anyone ;) During

RE: Exception starting filter Security Filter

2002-10-14 Thread Dan Payne
combinations but to no avail. What do you think? -Dan -Original Message- From: Volker Leidl [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 3:14 AM To: Tomcat Users List Subject: Re: Exception starting filter Security Filter Hi! In fact I was wrong in my last post. As I found out

Re: Exception starting filter Security Filter

2002-10-10 Thread Volker Leidl
tomcat instances, using the CATALINA_BASE env. variable. -Dan -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 3:38 PM To: 'Tomcat Users List' Subject: RE: Exception starting filter Security Filter someone else had this problem a last week

RE: Exception starting filter Security Filter

2002-10-10 Thread Cox, Charlie
-Original Message- From: Volker Leidl [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:14 AM To: Tomcat Users List Subject: Re: Exception starting filter Security Filter Hi! In fact I was wrong in my last post. As I found out later, it did not work. I found

RE: Apache Tomcat Security

2002-10-10 Thread Turner, John
Do we get contributing author credit? John -Original Message- From: Nilesh Parmar [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 1:56 AM To: 'Tomcat Users List ' Subject: Apache Tomcat Security Hi, I've been subscribing to the this mailing list from quite

Re: Exception starting filter Security Filter

2002-10-10 Thread Volker Leidl
Cox, Charlie wrote: -Original Message- From: Volker Leidl [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 4:14 AM To: Tomcat Users List Subject: Re: Exception starting filter Security Filter Hi! In fact I was wrong in my last post. As I found out later, it did not work

Re: Apache Tomcat Security

2002-10-10 Thread Andres Ledesma
Include PostgreSQL as you did with mySQL Thanks... Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Apache Tomcat Security

2002-10-10 Thread jcosta
] cc: Subject: Apache Tomcat Security 10/10/2002 01:55

RE: Apache Tomcat Security

2002-10-10 Thread Turner, John
different than anything else. Please avoid writing or publishing a me/us too book. John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 9:03 AM To: Tomcat Users List Cc: 'Tomcat Users List ' Subject: Re: Apache Tomcat Security

RE: Apache Tomcat Security

2002-10-10 Thread Nilesh Parmar
: Apache Tomcat Security Include PostgreSQL as you did with mySQL Thanks... Andrew -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Peer Information India Pvt Ltd, Mumbai

RE: Apache Tomcat Security

2002-10-10 Thread Nilesh Parmar
List ' Subject: Re: Apache Tomcat Security Ditto to the contributing author comment. Looking at your email address, you're a Wrox guy. Who's the audience for the book? Are you targeting the developer or the sysadmin? Nilesh Parmar [EMAIL PROTECTED

RE: Exception starting filter Security Filter

2002-10-10 Thread Dan Payne
starting filter Security Filter Hi! In fact I was wrong in my last post. As I found out later, it did not work. I found a solution for my problem but I am not sure if it also applies to yours, Dan. Sorry for not sharing my knowledge until now, but it did not seem to interest anyone ;) During

Exception starting filter Security Filter

2002-10-09 Thread Dan Payne
I'm using TC 4.0.4, j2sdk1.4.0_01 and the securityfilter from sourceforge.net, which is a pseudo container managed JDBC/MySQL security realm. it's all running on win2000. i've also upgraded my commons-logging to 1.0.2 to see if that helps, but to no avail (although it did change the stack trace

RE: Exception starting filter Security Filter

2002-10-09 Thread Cox, Charlie
filter Security Filter I'm using TC 4.0.4, j2sdk1.4.0_01 and the securityfilter from sourceforge.net, which is a pseudo container managed JDBC/MySQL security realm. it's all running on win2000. i've also upgraded my commons-logging to 1.0.2 to see if that helps, but to no avail (although

[SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability;Apache Tomcat 4.0.6 released

2002-10-09 Thread Remy Maucherat
A security vulnerability has been confirmed to exist in Apache Tomcat 4.0.x releases (including Tomcat 4.0.5), which allows to use a specially crafted URL to return the unprocessed source of a JSP page, or, under special circumstances, a static resource which would otherwise have been protected

RE: Exception starting filter Security Filter

2002-10-09 Thread Dan Payne
-Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 3:38 PM To: 'Tomcat Users List' Subject: RE: Exception starting filter Security Filter someone else had this problem a last week. http://www.mail-archive.com/tomcat-user@jakarta.apache.org

Apache Tomcat Security

2002-10-09 Thread Nilesh Parmar
Hi, I've been subscribing to the this mailing list from quite a while. I'm interested in developing a book on Apache Tomcat security. For a start, here is what i've included as a specification for the book. Can anyone please give me your valuable suggestions/ideas to make it a better book? I'd

Security policy files

2002-10-01 Thread Collins, Jim
Hi, I know that when Tomcat starts it uses the catalina.policy file. Does anyone know if it is possible to set a security policy file for individual WebApps? Thanks Jim. PLEASE READ: The information contained in this email is confidential and intended for the named recipient(s) only. If you

[Security] - using a connection pool with the jdbc realm

2002-09-29 Thread Alex Birch
Hi, I want to use a jdbc realm with my application in tomcat 4.1 the problem is that I want to utilise a connection pool for authentication, but only want the connection pool jar file to have web app scope (in a war file). I can go DriverManager.getConnection(poolURL) once I have loaded the

Re: Help Urgently needed, Security problem

2002-09-27 Thread ed banfa
Tomcat to use HTTPS. A security constraint has to have 3 things: 1- the web resource collection describing what to protect, 2- the authorization constraint describing who gets access, and 3- the user data constraint telling how to protect it at the transport level. Since you mentioned that you set

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-26 Thread Remy Maucherat
to Tomcat 4.0.5 but I wanted to apply some security immediately. Yes, you can remove the sevlet invoker mapping as I noted in the email on the security issue or on the Jakarta website news post. Remy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

Questions about [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-26 Thread Adam Greene
Maybe I don't understand, but DefaultServlet, which is supposed to serve static content is disabled... How are we supposed to serve up pictures, etc that are static?? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Questions about [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-26 Thread Tim Funk
The DefaultServlet is ok. But is was being called by the invoker servlet in a roundabout (unintended manner). The invoker servlet is typically mapped to /servlet/* The invoker servlet should be disabled. Or restricted using many of the ways described in other threads. You should be fine

RE: Questions about [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-26 Thread Andreas Mohrig
content. But the trouble is originating in the invoker servlet. Andreas Mohrig -Original Message- From: Adam Greene [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 2:47 PM To: Tomcat Users List Subject: Questions about [SECURITY] Apache Tomcat 4.x JSP source disclosure

Security Constraint and Server.xml and Login Config

2002-09-26 Thread ed banfa
if u can help me out I will appreciate it Below is what my web.xml looks like. The manager role is the same role name I specified in tomcat-users.xml web-app security-constraint web-resource-collection web-resource-name Secure Area /web-resource-name url-pattern/secure/*/url-pattern /web

RE: Questions about [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-26 Thread Milt Epstein
. And some say this invoking method of calling servlets should be disabled as a security precaution anyway, and only defined servlets should be allowed (i.e., even before this bug showed up). This is all controlled by a servlet definition and mapping in the web.xml (in Tomcat 4.0.X, at least, and I

Help Urgently needed, Security problem

2002-09-26 Thread ed banfa
if u can help me out I will appreciate it Below is what my web.xml looks like. The manager role is the same role name I specified in tomcat-users.xml web-app security-constraint web-resource-collection web-resource-name Secure Area /web-resource-name url-pattern/secure/*/url-pattern /web

Re: Help Urgently needed, Security problem

2002-09-26 Thread Rick Fincher
Hi Ed, You have a couple of problems. First, you left out the user data constraint transport guarantee tag that forces Tomcat to use HTTPS. A security constraint has to have 3 things: 1- the web resource collection describing what to protect, 2- the authorization constraint describing who

Re: SSL security contraint for just the login page.

2002-09-25 Thread Martin Jacobson
HAVENS,PETER (HP-Cupertino,ex3) wrote: I am using form based authentication on my Tomcat 4.0.4 server and I am trying to figure out how to set up a security constraint that would apply only to the login page. My global web.xml has a security constraint that points to a login.jsp page

Re: Tomcat Security Problem Help (using mod_jk)

2002-09-25 Thread Milt Epstein
On Wed, 25 Sep 2002, Ramilio D wrote: Hi Everyone, I read in the buqraq posting that I could fix the source code exposure vulnerablilty in tomcat by modifying the JkMount directive. I took a quick look at some documentation but I couldn't figure out how to allow apache serve servlets yet

RE: Tomcat Security Problem Help (using mod_jk)

2002-09-25 Thread Rossen Raykov
Do not mount /servlet/* but only the servlets that you application is really using. Regards, Rossen Raykov -Original Message- From: Ramilio D [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:30 AM To: [EMAIL PROTECTED] Subject: Tomcat Security Problem Help (using

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-25 Thread Rossen Raykov
24, 2002 6:59 PM To: Tomcat Users List Subject: Re: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability On Tue, Sep 24, 2002 at 06:52:10PM -0400, Tim Moore wrote: OK, thanks. (The BugTraq search engine wasn't working when I checked there.) So it sounds pretty much like

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerabili ty

2002-09-25 Thread Felipe Schnack
to this exposure. Regards, Rossen Raykov -Original Message- From: Kent Perrier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 6:59 PM To: Tomcat Users List Subject: Re: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability On Tue, Sep 24, 2002

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-25 Thread Dan K.
that it will be resistant to this exposure. Regards, Rossen Raykov -Original Message- From: Kent Perrier [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 6:59 PM To: Tomcat Users List Subject: Re: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability On Tue

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerabili ty

2002-09-25 Thread Rob Reed
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 6:59 PM To: Tomcat Users List Subject: Re: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability On Tue, Sep 24, 2002 at 06:52:10PM -0400, Tim Moore wrote: OK, thanks. (The BugTraq search engine wasn't

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-25 Thread Dan K.
]] Sent: Tuesday, September 24, 2002 6:59 PM To: Tomcat Users List Subject: Re: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability On Tue, Sep 24, 2002 at 06:52:10PM -0400, Tim Moore wrote: OK, thanks. (The BugTraq search engine wasn't working when I checked

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Mona Wong-Barnum
I tried to test this security vulnerability on my tomcat 4.0.4 (alone) setup but wasn't able to view my JSP files as claimed. According to http://online.securityfocus.com/archive/1/292936/2002-09-21/2002-09-27/0, if my JSP file is accessible via http://donor.ucsd.edu

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Tim Moore
/ Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Mona Wong-Barnum [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 6:16 PM To: [EMAIL PROTECTED] Subject: Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-25 Thread Carrie Salazar
to apply some security immediately. -- carrie s. On Wed, Sep 25, 2002 at 03:15:31PM -0700, Mona Wong-Barnum wrote: I tried to test this security vulnerability on my tomcat 4.0.4 (alone) setup but wasn't able to view my JSP files as claimed. According to http

[SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-24 Thread Remy Maucherat
A security vulnerability has been confirmed to exist in all Apache Tomcat 4.x releases (including Tomcat 4.0.4 and Tomcat 4.1.10), which allows to use a specially crafted URL to return the unprocessed source of a JSP page, or, under special circumstances, a static resource which would

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-24 Thread Turner, John
: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability on 2002/9/24 4:59 AM, Remy Maucherat [EMAIL PROTECTED] wrote: A security vulnerability has been confirmed to exist in all Apache Tomcat 4.x releases (including Tomcat 4.0.4 and Tomcat 4.1.10), which allows to use a specially

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-24 Thread Tim Moore
and readable. I haven't seen much about security. What makes it more secure than JSP? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Jon Scott Stevens [mailto

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability

2002-09-24 Thread Rossen Raykov
, Rossen -Original Message- From: Jon Scott Stevens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 5:26 PM To: tomcat-dev; Tomcat Users List Subject: Re: [SECURITY] Apache Tomcat 4.x JSP source disclosure vulnerability on 2002/9/24 4:59 AM, Remy Maucherat [EMAIL PROTECTED

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-24 Thread Jon Scott Stevens
on 2002/9/24 4:59 AM, Remy Maucherat [EMAIL PROTECTED] wrote: A security vulnerability has been confirmed to exist in all Apache Tomcat 4.x releases (including Tomcat 4.0.4 and Tomcat 4.1.10), which allows to use a specially crafted URL to return the unprocessed source of a JSP page

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-24 Thread Rossen Raykov
Subject: RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability I'm having a hard time finding many specifics about this exploit. It sounds like you're forcing the default servlet to serve up the source page as static content. Why isn't Velocity vulnerable in the same way? I'll

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-24 Thread Tim Moore
/ Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Rossen Raykov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 6:17 PM To: 'Tomcat Users List' Subject: RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability See

Re: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-24 Thread Kent Perrier
On Tue, Sep 24, 2002 at 06:52:10PM -0400, Tim Moore wrote: OK, thanks. (The BugTraq search engine wasn't working when I checked there.) So it sounds pretty much like what I thought it was. I still don't understand why Velocity wouldn't be vulnerable to this exploit. It sounds to me like it

SSL security contraint for just the login page.

2002-09-24 Thread HAVENS,PETER (HP-Cupertino,ex3)
I am using form based authentication on my Tomcat 4.0.4 server and I am trying to figure out how to set up a security constraint that would apply only to the login page. My global web.xml has a security constraint that points to a login.jsp page as the form-login-page. As I understand

Tomcat Security Problem Help (using mod_jk)

2002-09-24 Thread Ramilio D
Hi Everyone, I read in the buqraq posting that I could fix the source code exposure vulnerablilty in tomcat by modifying the JkMount directive. I took a quick look at some documentation but I couldn't figure out how to allow apache serve servlets yet disallow those containing the

Re: Security question

2002-09-23 Thread Andreas Probst
? Explanation: I'm implementing a very crude security system on my site for right now (mainly to just keep people from accessing the email addresses and photos on the site), but I need to implement a password change page. So what I did (and yes I know it's a hack 8), I implemented a JNI interface

Security question

2002-09-22 Thread David Jenkins
I'm trying to retrieve the userid that logged into apache and accessed the current JSP page. How can I get this info? Explanation: I'm implementing a very crude security system on my site for right now (mainly to just keep people from accessing the email addresses and photos on the site

tomcat security

2002-09-19 Thread Steven Garrett
Hi, I'm relatively new to admining tomcat and have been looking for some ways to secure tomcat. I haven't found much of anything useful. Are there any docs on known security issues with tomcat, or any howto's when configuring security? We're running tomcat 4.0.3, apache 1.3.26 and mod_jk

Re: tomcat security

2002-09-19 Thread Nome real
PROTECTED] Assunto: tomcat security Hi, I'm relatively new to admining tomcat and have been looking for some ways to secure tomcat. I haven't found much of anything useful. Are there any docs on known security issues with tomcat, or any howto's when configuring security? We're running

RE: IIS and security constraints

2002-09-19 Thread Alvin Wang
Hi! So is there a way for tomcat to share (or retrieve) the authentication information with IIS? -Original Message- From: Reynir Hübner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 11:21 AM To: Tomcat Users List Subject: RE: IIS and security constraints I think you need

Re: tomcat security

2002-09-19 Thread Jean-Francois Arcand
The Tomcat site contains the following: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/security-manager-howto.html and http://jakarta.apache.org/tomcat/tomcat-4.0-doc/ssl-howto.html The security manager is probably the first place to start. -- Jeanfrancois Steven Garrett wrote: Hi, I'm

RE: Tomcat shutdown security

2002-09-11 Thread HAVENS,PETER (HP-Cupertino,ex3)
-Original Message- From: Przemyslaw Wegrzyn [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 1:22 PM To: Tomcat Users List Subject: RE: Tomcat shutdown security On Fri, 2002-09-06 at 21:04, Turner, John wrote: Very interesting. I hadn't investigated this scenario until now

RE: Tomcat shutdown security

2002-09-11 Thread Turner, John
: Tomcat shutdown security FYI, Yes tomcat does use a port to shutdown but it is a requirement that the port be written to from the local host. That is if you try to open a socket and write the shutdown command to it, Tomcat will only shutdown if this is done from the same system

Re: Tomcat shutdown security

2002-09-11 Thread Tim Funk
: HAVENS,PETER (HP-Cupertino,ex3) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 2:12 PM To: 'Tomcat Users List' Subject: RE: Tomcat shutdown security FYI, Yes tomcat does use a port to shutdown but it is a requirement that the port be written to from the local host

RE: Tomcat shutdown security

2002-09-11 Thread Craig R. McClanahan
: % System.exit(0); % To solve that, read up on running Tomcat under a security manager. Craig On Wed, 11 Sep 2002, HAVENS,PETER (HP-Cupertino,ex3) wrote: Date: Wed, 11 Sep 2002 14:12:05 -0400 From: HAVENS,PETER (HP-Cupertino,ex3) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL

Security match fails url-pattern /p/* on TC 3.2.1

2002-09-10 Thread Tim Colson
Hey folks - I searched the archives for help but didn't find what I needed. I have a security constraint in my web.xml file like so: web-resource-collection web-resource-nameProtected pages/web-resource-name url-pattern/p/*/url-pattern /web-resource-collection Problem arises when I want

RE: Security match fails url-pattern /p/* on TC 3.2.1

2002-09-10 Thread Michael Petres
: www.innovobjx.com Tel: 905-729-2235 x3 Fax: 905-729-2235 ~ -Original Message- From: Tim Colson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 5:46 PM To: [EMAIL PROTECTED] Subject: Security match fails url-pattern /p/* on TC 3.2.1 Hey folks

RE: Security match fails url-pattern /p/* on TC 3.2.1

2002-09-10 Thread Tim Colson
Michael - Wouldn't '/p/*' imply a match for URLs that contain /p/ That is what it's supposed to match, from the servlet spec. (e.g. http://server/webapp/p/securelist.do). This is authenticated, as expected. The problem, as I stated, is that this url also forces authentication - but it

RE: Tomcat shutdown security

2002-09-06 Thread Shapira, Yoav
security Hello ! I've just installed Tomcat, and discovered, that any regular user can stop Tomcat with bin/shutdown.sh. How can I protect Tomcat from this ? P.Wegrzyn -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL

RE: Tomcat shutdown security

2002-09-06 Thread Rui Fernandes
The shutdown.sh is a file and its access can be protected. What were your expectations? - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 06, 2002 2:40 PM Subject: RE: Tomcat shutdown security Hi, How about

RE: Tomcat shutdown security

2002-09-06 Thread Przemyslaw Wegrzyn
On Fri, 2002-09-06 at 14:40, Shapira, Yoav wrote: Hi, How about not letting any regular user execute bin/shutdown.sh? ;) ;) ;) Nope, it's not the solution. Anyone can download tomcat, extract shutdown.sh and execute. Shutdown connects to Tomcat through a socket, so it's even possible across

RE: Tomcat shutdown security

2002-09-06 Thread Turner, John
Very interesting. I hadn't investigated this scenario until now. I like your suggestion. John -Original Message- From: Przemyslaw Wegrzyn [mailto:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 2:20 PM To: Tomcat Users List Subject: RE: Tomcat shutdown security On Fri

RE: Tomcat shutdown security

2002-09-06 Thread Przemyslaw Wegrzyn
On Fri, 2002-09-06 at 21:04, Turner, John wrote: Very interesting. I hadn't investigated this scenario until now. I like your suggestion. Even more, I've checked what exactly goes there, and you can stop default Tomcat installation by simply telneting localhost 8005 and typing SHUTDOW from

Tomcat shutdown security

2002-09-05 Thread Przemyslaw Wegrzyn
Hello ! I've just installed Tomcat, and discovered, that any regular user can stop Tomcat with bin/shutdown.sh. How can I protect Tomcat from this ? P.Wegrzyn -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Container Based Security/Authentication and Forced Login/Logoff

2002-09-03 Thread Andreas Schildbach
Hello! I am using Container Based Security with the Tomcat 4.1.9 beta. Current I have Form based Authentication configured. I'd like to allow the user to authenticate before he tries to access a resource that is protected by security contraints in web.xml. == Is it possible for a Servlet/JSP

Re: Container Based Security/Authentication and Forced Login/Logoff

2002-09-03 Thread Eddie Bush
Search the archive. The short answers are below. Andreas Schildbach wrote: Hello! I am using Container Based Security with the Tomcat 4.1.9 beta. Current I have Form based Authentication configured. I'd like to allow the user to authenticate before he tries to access a resource

How to set up a security constraint?

2002-08-30 Thread Colic, Alex
rolename=admin/ user username=admin password=test1 roles=admin/ user username=sysop password=test2 roles=sysop/ In the server.xml file I have uncommented the: Realm className=org.apache.catalina.realm.MemoryRealm / line. Then in the web.xml file I have added the following: security-constraint

<    5   6   7   8   9   10   11   12   13   14   >