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://marc.info/?l=bugtraq&m=144050155601375&w=2
http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
http://www.osvdb.org/90906
http://www.securityfocus.com/bid/58326
https://security.gentoo.org/glsa/202107-39
Related Vulnerabilities
CVE-2011-5062 Vulnerability in maven package tomcat:catalina
CVE-2011-3376 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2014-3558 Vulnerability in maven package org.hibernate:hibernate-validator
CVE-2014-0119 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2013-1768 Vulnerability in maven package org.apache.openjpa:openjpa