CVE-2013-1976 Path traversal in n/a

Medium 6.9 Published Updated

Local attackers can exploit symlink vulnerabilities in Tomcat init scripts to change ownership of arbitrary files, potentially leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2013-1976?

CVE-2013-1976 is a medium-severity path traversal vulnerability in Redhat Enterprise Linux, published on 9 Jul 2013. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The (1) tomcat5, (2) tomcat6, and (3) tomcat7 init scripts, as used in the RPM distribution of Tomcat for JBoss Enterprise Web Server 1.0.2 and 2.0.0, and Red Hat Enterprise Linux 5 and 6, allow local users to change the ownership of arbitrary files via a symlink attack on (a) tomcat5-initd.log, (b) tomcat6-initd.log, (c) catalina.out, or (d) tomcat7-initd.log.

Weakness: CWE-59

Which versions are affected by CVE-2013-1976?

It affects 2 products.

Linux distribution packages (40)
tomcat5 Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-admin-webapps Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-common-lib Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-jasper Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-jasper-javadoc Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-jsp-2.0-api Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-jsp-2.0-api-javadoc Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-server-lib Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-servlet-2.4-api Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-servlet-2.4-api-javadoc Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5-webapps Red Hat:enterprise_linux:5::serverAll versions0:5.5.23-0jpp.40.el5_9
tomcat5 Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-admin-webapps Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-common-lib Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-jasper Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-jasper-eclipse Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-jasper-javadoc Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-jsp-2.0-api Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-jsp-2.0-api-javadoc Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-parent Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-server-lib Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-servlet-2.4-api Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-servlet-2.4-api-javadoc Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat5-webapps Red Hat:jboss_enterprise_web_server:1::el5All versions0:5.5.33-33_patch_09.ep5.el5
tomcat6 Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-admin-webapps Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-docs-webapp Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-el-1.0-api Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-javadoc Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-jsp-2.1-api Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-lib Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-log4j Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-servlet-2.5-api Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat6-webapps Red Hat:jboss_enterprise_web_server:1::el5All versions0:6.0.32-32_patch_09.ep5.el5
tomcat5 Red Hat:jboss_enterprise_web_server:1::el6All versions0:5.5.33-36_patch_09.ep5.el6
tomcat5-admin-webapps Red Hat:jboss_enterprise_web_server:1::el6All versions0:5.5.33-36_patch_09.ep5.el6
tomcat5-common-lib Red Hat:jboss_enterprise_web_server:1::el6All versions0:5.5.33-36_patch_09.ep5.el6
tomcat5-jasper Red Hat:jboss_enterprise_web_server:1::el6All versions0:5.5.33-36_patch_09.ep5.el6
tomcat5-jasper-eclipse Red Hat:jboss_enterprise_web_server:1::el6All versions0:5.5.33-36_patch_09.ep5.el6

Products include Redhat Enterprise Linux, Redhat Jboss Enterprise Web Server.

How do I fix CVE-2013-1976?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2013-1976 being exploited?

There is no known exploitation of CVE-2013-1976 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as GHSA-q878-9wf9-424m, RHSA-2013:0870, RHSA-2013:0871, RHSA-2013:0872.

Is CVE-2013-1976 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free