cve.bz

CVE-2013-0248 apache commons fileupload: Link Following

6.8 mediumEPSS 0.8%Fix available

Medium (6.8) in apache commons fileupload. EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in commons-fileupload:commons-fileupload 1.2.2.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-264 Permissions, Privileges, and Access Controls
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-0248 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-0248?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-0248?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-0248 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2013-0248

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2013-0248](https://cve.bz/cve/badge/CVE-2013-0248.svg)](https://cve.bz/cve/CVE-2013-0248)

HTML:

<a href="https://cve.bz/cve/CVE-2013-0248"><img src="https://cve.bz/cve/badge/CVE-2013-0248.svg" alt="CVE-2013-0248"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:commons_fileupload1.0
apache:commons_fileupload1.1
apache:commons_fileupload1.1.1
apache:commons_fileupload1.2
apache:commons_fileupload1.2.1
apache:commons_fileupload1.2.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vm69-474v-7q2wMavencommons-fileupload:commons-fileupload>=1.0 <1.2.21.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libcommons-fileupload-java1.3-1DEBIAN-CVE-2013-0248

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Low.

Red Hat's 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's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5jakarta-commons-fileuploadWill not fix
Red Hat Enterprise Virtualization 3jasperreports-server-proFix deferred
Red Hat JBoss BRMS 5commons-fileuploadWill not fix
Red Hat JBoss BRMS 6commons-fileuploadNot affected
Red Hat JBoss Enterprise Application Platform 4commons-fileuploadWill not fix
Red Hat JBoss Enterprise Application Platform 5commons-fileuploadWill not fix
Red Hat JBoss Enterprise Web Server 1commons-fileuploadWill not fix
Red Hat JBoss Enterprise Web Server 1jakarta-commons-fileuploadWill not fix
Red Hat JBoss Fuse Service Works 6commons-fileuploadFix deferred
Red Hat JBoss Operations Network 3commons-fileuploadNot affected
Red Hat JBoss Portal 4commons-fileuploadWill not fix
Red Hat JBoss Portal 5commons-fileuploadWill not fix
Red Hat JBoss SOA Platform 4commons-fileuploadWill not fix
Red Hat JBoss SOA Platform 5commons-fileuploadWill not fix
Red Hat OpenShift Enterprise 2jenkinsNot affected
Red Hat Satellite 5jakarta-commons-fileuploadWill not fix
Red Hat Software Collectionsthermostat1-apache-commons-fileuploadNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-0248.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON