Symbolic link following in Apache Commons FileUpload



Published: 2013-03-15 | Updated: 2021-07-19
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2013-0248
CWE-ID CWE-61
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
Apache Commons FileUpload
Server applications / Frameworks for developing and running applications

Vendor Apache Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) UNIX symbolic link following

EUVDB-ID: #VU54943

Risk: Low

CVSSv3.1: 6.2 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2013-0248

CWE-ID: CWE-61 - UNIX Symbolic Link (Symlink) Following

Exploit availability: No

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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Apache Commons FileUpload: 1.0 - 1.2.2

External links

http://archives.neohapsis.com/archives/bugtraq/2013-03/0035.html
http://www.osvdb.org/90906
http://marc.info/?l=bugtraq&m=144050155601375&w=2
http://www.securityfocus.com/bid/58326
http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###