The Tomcat init script in the tomcat7 package before 7.0.56-3+deb8u4 and tomcat8 package before 8.0.14-1+deb8u3 on Debian jessie and the tomcat6 and libtomcat6-java packages before 6.0.35-1ubuntu3.8 on Ubuntu 12.04 LTS, the tomcat7 and libtomcat7-java packages before 7.0.52-1ubuntu0.7 on Ubuntu 14.04 LTS, and tomcat8 and libtomcat8-java packages before 8.0.32-1ubuntu1.2 on Ubuntu 16.04 LTS allows local users with access to the tomcat account to gain root privileges via a symlink attack on the Catalina log file, as demonstrated by /var/log/tomcat7/catalina.out.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Tomcat | Apache | 6.0 (including) | 6.0 (including) |
Tomcat | Apache | 7.0 (including) | 7.0 (including) |
Tomcat | Apache | 8.0 (including) | 8.0 (including) |
Red Hat JBoss Web Server 3.1 | RedHat | * | |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | hibernate4-eap6-0:4.2.23-1.Final_redhat_1.1.ep6.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | jbcs-httpd24-0:1-3.jbcs.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | jbcs-httpd24-apache-commons-daemon-0:1.0.15-1.redhat_2.1.jbcs.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | jbcs-httpd24-apache-commons-daemon-jsvc-1:1.0.15-17.redhat_2.jbcs.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | mod_cluster-0:1.3.5-2.Final_redhat_2.1.ep7.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | tomcat7-0:7.0.70-16.ep7.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | tomcat8-0:8.0.36-17.ep7.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | tomcat-native-0:1.2.8-9.redhat_9.ep7.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 6 | RedHat | tomcat-vault-0:1.0.8-9.Final_redhat_2.1.ep7.el6 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | hibernate4-eap6-0:4.2.23-1.Final_redhat_1.1.ep6.el7 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | jbcs-httpd24-0:1-3.jbcs.el7 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | jbcs-httpd24-apache-commons-daemon-0:1.0.15-1.redhat_2.1.jbcs.el7 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | jbcs-httpd24-apache-commons-daemon-jsvc-1:1.0.15-17.redhat_2.jbcs.el7 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | mod_cluster-0:1.3.5-2.Final_redhat_2.1.ep7.el7 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | tomcat7-0:7.0.70-16.ep7.el7 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | tomcat8-0:8.0.36-17.ep7.el7 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | tomcat-native-0:1.2.8-9.redhat_9.ep7.el7 | * |
Red Hat JBoss Web Server 3 for RHEL 7 | RedHat | tomcat-vault-0:1.0.8-9.Final_redhat_2.1.ep7.el7 | * |
Tomcat6 | Ubuntu | esm-apps/xenial | * |
Tomcat6 | Ubuntu | esm-infra-legacy/trusty | * |
Tomcat6 | Ubuntu | precise | * |
Tomcat6 | Ubuntu | trusty | * |
Tomcat6 | Ubuntu | trusty/esm | * |
Tomcat6 | Ubuntu | xenial | * |
Tomcat7 | Ubuntu | artful | * |
Tomcat7 | Ubuntu | esm-apps/xenial | * |
Tomcat7 | Ubuntu | esm-infra-legacy/trusty | * |
Tomcat7 | Ubuntu | precise | * |
Tomcat7 | Ubuntu | trusty | * |
Tomcat7 | Ubuntu | trusty/esm | * |
Tomcat7 | Ubuntu | xenial | * |
Tomcat7 | Ubuntu | yakkety | * |
Tomcat7 | Ubuntu | zesty | * |
Tomcat8 | Ubuntu | artful | * |
Tomcat8 | Ubuntu | bionic | * |
Tomcat8 | Ubuntu | cosmic | * |
Tomcat8 | Ubuntu | esm-apps/bionic | * |
Tomcat8 | Ubuntu | esm-infra/xenial | * |
Tomcat8 | Ubuntu | xenial | * |
Tomcat8 | Ubuntu | yakkety | * |
Tomcat8 | Ubuntu | zesty | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.