CVE-2013-0248

apache-commons-fileupload: /tmp directory used by default for uploaded files (possibility to overwrite arbitrary files)

Published Mar 15, 2013 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
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

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-5378 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.
Github GHSA Github GHSA GHSA-vm69-474v-7q2w Incorrect Default Permissions in Apache Commons FileUpload
History
Type Values Removed Values Added
Weaknesses CWE-59
Metrics cvssV3_1

{'score': 6.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Oct 7, 2026, 6:28 PM
Reserved
Dec 6, 2012, 12:00 AM
Status
Modified
Published
Mar 15, 2013, 8:55 PM
Modified
Oct 7, 2026, 7:17 PM
Severity
Low
Public date
Mar 6, 2013, 12:00 AM