ID CVE-2004-1452
Summary Tomcat before 5.0.27-r3 in Gentoo Linux sets the default permissions on the init scripts as tomcat:tomcat, but executes the scripts with root privileges, which could allow local users in the tomcat group to execute arbitrary commands as root by modifying the scripts.
References
Vulnerable Configurations
  • cpe:2.3:o:gentoo:linux:0.5
    cpe:2.3:o:gentoo:linux:0.5
  • cpe:2.3:o:gentoo:linux:0.7
    cpe:2.3:o:gentoo:linux:0.7
  • cpe:2.3:o:gentoo:linux:1.1a
    cpe:2.3:o:gentoo:linux:1.1a
  • Gentoo Linux 1.2
    cpe:2.3:o:gentoo:linux:1.2
  • Gentoo Linux 1.4
    cpe:2.3:o:gentoo:linux:1.4
  • Gentoo Linux 1.4 rc1
    cpe:2.3:o:gentoo:linux:1.4:rc1
  • Gentoo Linux 1.4 rc2
    cpe:2.3:o:gentoo:linux:1.4:rc2
  • Gentoo Linux 1.4 rc3
    cpe:2.3:o:gentoo:linux:1.4:rc3
CVSS
Base: 7.2 (as of 27-06-2005 - 21:37)
Impact:
Exploitability:
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
nessus via4
NASL family Gentoo Local Security Checks
NASL id GENTOO_GLSA-200408-15.NASL
description The remote host is affected by the vulnerability described in GLSA-200408-15 (Tomcat: Insecure installation) 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: # chown -R root:root /etc/init.d/tomcat* # chown -R root:root /etc/conf.d/tomcat*
last seen 2019-02-21
modified 2018-08-10
plugin id 14571
published 2004-08-30
reporter Tenable
source https://www.tenable.com/plugins/index.php?view=single&id=14571
title GLSA-200408-15 : Tomcat: Insecure installation
refmap via4
bid 10951
gentoo GLSA-200408-15
secunia 12296
xf gentoo-tomcat-gain-privileges(16993)
Last major update 05-09-2008 - 16:41
Published 31-12-2004 - 00:00
Last modified 10-07-2017 - 21:31
Back to Top