GitHub Advisory Database
GHSA-vm69-474v-7q2w
Incorrect Default Permissions in Apache Commons FileUpload
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | commons-fileupload:commons-fileupload | From 1.0 before 1.2.2 (fixed in 1.2.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-0248
- https://security.gentoo.org/glsa/202107-39
- 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