Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200408-15 ] Tomcat: Insecure installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Moderator
Moderator


Joined: 13 Jun 2003
Posts: 4078
Location: Barcelona, Spain

PostPosted: Sun Aug 15, 2004 3:36 pm    Post subject: [ GLSA 200408-15 ] Tomcat: Insecure installation Reply with quote

Gentoo Linux Security Advisory

Title: Tomcat: Insecure installation (GLSA 200408-15)
Severity: normal
Exploitable: local
Date: August 15, 2004
Updated: May 22, 2006
Bug(s): #59232
ID: 200408-15

Synopsis

Improper file ownership may allow a member of the tomcat group to execute scripts as root.

Background

Tomcat is the Apache Jakarta Project's official implementation of Java Servlets and Java Server Pages.

Affected Packages

Package: www-servers/tomcat
Vulnerable: < 5.0.27-r3
Unaffected: >= 5.0.27-r3
Unaffected: >= 4.1.30-r4 < 4.1.31
Unaffected: >= 3.3.2-r2 < 3.3.3
Architectures: All supported architectures


Description

The Gentoo ebuild for Tomcat sets the ownership of the Tomcat init scripts as tomcat:tomcat, but those scripts are executed with root privileges when the system is started. This may allow a member of the tomcat group to run arbitrary code with root privileges when the Tomcat init scripts are run.

Impact

This could lead to a local privilege escalation or root compromise by authenticated users.

Workaround

Users may change the ownership of /etc/init.d/tomcat* and /etc/conf.d/tomcat* to be root:root:
Code:
# chown -R root:root /etc/init.d/tomcat*
# chown -R root:root /etc/conf.d/tomcat*


Resolution

All Tomcat users can upgrade to the latest stable version, or simply apply the workaround:
Code:
# emerge sync
# emerge -pv ">=www-servers/tomcat-5.0.27-r3"
# emerge ">=www-servers/tomcat-5.0.27-r3"


References

CVE-2004-1452


Last edited by GLSA on Sat Jun 21, 2008 4:16 am; edited 6 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum