apache-commons-fileupload: /tmp directory used by default for uploaded files (possibility to overwrite arbitrary files)
Published Mar 15, 2013
3.3
LOWCVSS 2.0
EPSS 0.68%
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.
Affected products
No data.
- 1.0
- 1.1
- 1.1.1
- 1.2
- 1.2.1
- 1.2.2
No data.
Red Hat Enterprise Linux 5
jakarta-commons-fileupload
Will not fix
Red Hat Enterprise Virtualization 3
jasperreports-server-pro
Fix deferred
Red Hat JBoss BRMS 5
commons-fileupload
Will not fix
Red Hat JBoss BRMS 6
commons-fileupload
Not affected
Red Hat JBoss Enterprise Application Platform 4
commons-fileupload
Will not fix
Red Hat JBoss Enterprise Application Platform 5
commons-fileupload
Will not fix
Red Hat JBoss Enterprise Web Server 1
commons-fileupload
Will not fix
Red Hat JBoss Enterprise Web Server 1
jakarta-commons-fileupload
Will not fix
Red Hat JBoss Fuse Service Works 6
commons-fileupload
Fix deferred
Red Hat JBoss Operations Network 3
commons-fileupload
Not affected
Red Hat JBoss Portal 4
commons-fileupload
Will not fix
Red Hat JBoss Portal 5
commons-fileupload
Will not fix
Red Hat JBoss SOA Platform 4
commons-fileupload
Will not fix
Red Hat JBoss SOA Platform 5
commons-fileupload
Will not fix
Red Hat OpenShift Enterprise 2
jenkins
Not affected
Red Hat Satellite 5
jakarta-commons-fileupload
Will not fix
Red Hat Software Collections
thermostat1-apache-commons-fileupload
Not affected
Red Hat Software Collections
thermostat1-apache-commons-fileupload
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | jakarta-commons-fileupload | Will not fix | n/a |
| Red Hat Enterprise Virtualization 3 | jasperreports-server-pro | Fix deferred | n/a |
| Red Hat JBoss BRMS 5 | commons-fileupload | Will not fix | n/a |
| Red Hat JBoss BRMS 6 | commons-fileupload | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 4 | commons-fileupload | Will not fix | n/a |
| Red Hat JBoss Enterprise Application Platform 5 | commons-fileupload | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 1 | commons-fileupload | Will not fix | n/a |
| Red Hat JBoss Enterprise Web Server 1 | jakarta-commons-fileupload | Will not fix | n/a |
| Red Hat JBoss Fuse Service Works 6 | commons-fileupload | Fix deferred | n/a |
| Red Hat JBoss Operations Network 3 | commons-fileupload | Not affected | n/a |
| Red Hat JBoss Portal 4 | commons-fileupload | Will not fix | n/a |
| Red Hat JBoss Portal 5 | commons-fileupload | Will not fix | n/a |
| Red Hat JBoss SOA Platform 4 | commons-fileupload | Will not fix | n/a |
| Red Hat JBoss SOA Platform 5 | commons-fileupload | Will not fix | n/a |
| Red Hat OpenShift Enterprise 2 | jenkins | Not affected | n/a |
| Red Hat Satellite 5 | jakarta-commons-fileupload | Will not fix | n/a |
| Red Hat Software Collections | thermostat1-apache-commons-fileupload | Not affected | n/a |
| Red Hat Software Collections | thermostat1-apache-commons-fileupload | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Enterprise Linux 5 and Red Hat Satellite Server 5 are now in Production 3 and Production 2 Phases of the support and maintenance life cycle respectively. This has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/ and the Red Hat Satellite and Proxy Server Life Cycle: https://access.redhat.com/support/policy/updates/satellite. Red Hat JBoss BRMS 5; Red Hat JBoss Enterprise Application Platform 4 and 5; Red Hat JBoss Enterprise Portal Platform 5; Red Hat JBoss Enterprise SOA Platform 4 and 5; and Red Hat JBoss Enterprise Web Server 1 are now in Phase 3, Extended Life Support, of their respective life cycles. This issue has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat JBoss Middleware and Red Hat JBoss Operations Network Product Update and Support Policy: https://access.redhat.com/support/policy/updates/jboss_notes/. This issue affects the versions of commons-fileupload as shipped with Red Hat Enterprise Virtualization Manager 3 and Red Hat JBoss Fuse Service Works 6. Red Hat Product Security has rated this issue as having Low security impact. A future update to these products may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Red Hat mitigation
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.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:M/Au:N/C:N/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.68% (0.00680) | 50.60th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.68% (0.00680) | 47.37th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.07% (0.00071) | 19.01th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.63% (0.01627) | 75.90th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.63% (0.01627) | 75.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.63% (0.01627) | 73.79th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.63% (0.01627) | 52.68th | v2 (v2022.01.01) |
References (11)
- http://archives.neohapsis.com/archives/bugtraq/2013-03/0035.html mailing-listx_refsource_BUGTRAQ
- http://marc.info/?l=bugtraq&m=144050155601375&w=2 vendor-advisoryx_refsource_HP
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html x_refsource_CONFIRM
- http://www.osvdb.org/90906 vdb-entryx_refsource_OSVDB
- http://www.securityfocus.com/bid/58326 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2013-0248 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=922146 Issue Tracking
- https://github.com/advisories/GHSA-vm69-474v-7q2w Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2013-0248
- https://security.gentoo.org/glsa/202107-39 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2013-0248
| Link | Providers | Tags |
|---|---|---|
| http://archives.neohapsis.com/archives/bugtraq/2013-03/0035.html | mailing-listx_refsource_BUGTRAQ | |
| http://marc.info/?l=bugtraq&m=144050155601375&w=2 | vendor-advisoryx_refsource_HP | |
| http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html | x_refsource_CONFIRM | |
| http://www.osvdb.org/90906 | vdb-entryx_refsource_OSVDB | |
| http://www.securityfocus.com/bid/58326 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2013-0248 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=922146 | Issue Tracking | |
| https://github.com/advisories/GHSA-vm69-474v-7q2w | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2013-0248 | ||
| https://security.gentoo.org/glsa/202107-39 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2013-0248 |
Change history (0)
No recorded changes yet.