Description
The default configuration of javax.servlet.context.tempdir in Apache Commons FileUpload 1.0 through 1.2.2 uses the /tmp directory for uploaded files, which allows local users to overwrite arbitrary files via an unspecified symlink attack.
Remediation
References
http://archives.neohapsis.com/archives/bugtraq/2013-03/0035.html
http://www.osvdb.org/90906
http://marc.info/?l=bugtraq&m=144050155601375&w=2
http://www.securityfocus.com/bid/58326
http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
https://security.gentoo.org/glsa/202107-39
Related Vulnerabilities
CVE-2015-5324 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2014-7827 Vulnerability in maven package org.picketlink:picketlink-federation
CVE-2014-0113 Vulnerability in maven package org.apache.struts:struts2-core
CVE-2014-0002 Vulnerability in maven package org.apache.camel:camel-core
CVE-2012-1154 Vulnerability in maven package org.jboss.native:mod-cluster