UNIX symbolic link following in Apache Commons FileUpload - CVE-2013-0248

 

UNIX symbolic link following in Apache Commons FileUpload - CVE-2013-0248

Published: July 19, 2021


Vulnerability identifier: #VU54943
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2013-0248
CWE-ID: CWE-61
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Commons FileUpload

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a symlink following issue. The application uses the /tmp directory for uploaded files. A local user can create a specially crafted symbolic link to a critical file on the system and overwrite it with privileges of the application.

Successful exploitation of this vulnerability may result in privilege escalation.


How to mitigate CVE-2013-0248

Install updates from vendor's website.

Sources