CVE-2013-0248 json
Incorrect Default Permissions in Apache Commons FileUpload
published 13y ago modified last mo. also GHSA-vm69-474v-7q2w , EUVD-2022-5378
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven commons-fileupload:commons-fileupload 1.2.2
- libcommons-fileupload-java Debian 14, Debian 13, Debian 12 1.3-1
debian advisories DEBIAN-CVE-2013-0248
Is CVE-2013-0248 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-0248 updated cvss 2.1
apache-commons-fileupload: /tmp directory used by default for uploaded files (possibility to overwrite arbitrary files)
-
Red Hat Enterprise Linux 5 jakarta-commons-fileuploadaffected: workaround, no fix planned “By default, the system wide temporary directory is configured as the repository to use when uploading files. Setting the repository to another location will mitigate this vulnerability.”
-
Red Hat Enterprise Virtualization 3 jasperreports-server-proaffected: workaround, no fix available “By default, the system wide temporary directory is configured as the repository to use when uploading files. Setting the repository to another location will mitigate this vulnerability.”
-
Red Hat JBoss BRMS 5 commons-fileupload Red Hat JBoss Enterprise Application Platform 4 commons-fileupload Red Hat JBoss Enterprise Application Platform 5 commons-fileupload Red Hat JBoss Enterprise Web Server 1 commons-fileuploadaffected: workaround, no fix planned “By default, the system wide temporary directory is configured as the repository to use when uploading files. Setting the repository to another location will mitigate this vulnerability.”
-
Red Hat JBoss Fuse Service Works 6 commons-fileuploadaffected: workaround, no fix available “By default, the system wide temporary directory is configured as the repository to use when uploading files. Setting the repository to another location will mitigate this vulnerability.”
-
Red Hat JBoss Portal 4 commons-fileupload Red Hat JBoss Portal 5 commons-fileupload Red Hat JBoss SOA Platform 4 commons-fileupload Red Hat JBoss SOA Platform 5 commons-fileupload Red Hat Satellite 5 jakarta-commons-fileuploadaffected: workaround, no fix planned “By default, the system wide temporary directory is configured as the repository to use when uploading files. Setting the repository to another location will mitigate this vulnerability.”
-
Red Hat JBoss BRMS 6 commons-fileupload Red Hat JBoss Operations Network 3 commons-fileupload Red Hat OpenShift Enterprise 2 jenkins Red Hat Software Collections commons-fileupload, thermostat1-apache-commons-fileupload, thermostat1-apache-commons-fileupload-javadocnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last mo.
Exploit prediction
0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| NVD | 2.0 | 3.3 | AV:L/AC:M/Au:N/C:N/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | commons-fileupload:commons-fileupload | >=1.0, <1.2.2 |
1.2.2 |
Classification
References
-
marc.info
/?l=bugtraq&m=144050155601375&w=2
vendor-advisory, web
-
security.gentoo.org
/glsa/202107-39
vendor-advisory, web
-
securityfocus.com
/bid/58326
vdb-entry
-
archives.neohapsis.com
/archives/bugtraq/2013-03/0035.html
mailing-list, web
-
oracle.com
/technetwork/security-advisory/cpuoct2017-3236626.html
web
-
osvdb.org
/90906
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2013-0248
advisory
Sources
- CVE List CVE-2013-0248
- GitHub Advisory GHSA-vm69-474v-7q2w
- NVD CVE-2013-0248
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.