This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 37967 - Possible vulnerability of tomcat used in the IDE
Summary: Possible vulnerability of tomcat used in the IDE
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-10 12:37 UTC by Marek Fukala
Modified: 2004-03-15 13:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2003-12-10 12:37:35 UTC
There is a security problem with the IDE's
internall tomcat configuration. The
tomcat-user.xml file defining users, their roles
and passwords contains this element: 
 <user username="ide" password="ide_manager"
roles="admin,manager"/>

This is a bad approach to have the some password
in all installations of IDE on all machines. One
can see into his/her conf and use the password to
access someone else tomcat.

I am aware of the fact that the internall tomcat
server is not supposed to be used in a production
environment, but anyway it would be better to
generate different password for each user.

I am not sure now I we are going to use the some
mechanism for an external tomcat installation. If
so this IS definitely a security problem.
Comment 1 Pavel Buzek 2003-12-10 16:58:54 UTC
this is by design
this instance will never be used as a production server so ease of use
is a priority, security is not important
Comment 2 Marek Fukala 2003-12-11 09:41:48 UTC
The generation of a new password for each installation (may be done
during first tomcat start) wont impact easy of use at all! It's only a
few lines of code.
Comment 3 L Martinek 2004-02-19 12:26:16 UTC
I think there is a bigger problem. Anyone in the world can write small
application which delete all content on a disk, deploy it via manager
(name and password is known) and execute it. Or anyone can create
application which makes all data on disk accessible to the world. This
is unacceptable security hole. I vote for autogenerating new password.
Comment 4 Martin Grebac 2004-02-20 21:46:18 UTC
Password for bundled tomcat is generated.
Comment 5 Marek Fukala 2004-03-15 13:02:30 UTC
v