Input validation error in Apache Commons FileUpload - CVE-2013-2186
Published: September 25, 2023
Vulnerability details
The vulnerability allows a remote attacker to overwrite arbitrary files on the system.
The vulnerability exists due to insufficient validation of user-supplied input when processing file names with a NULL byte within the DiskFileItem class. A remote attacker can upload a specially crafted file with a NULL byte in its name and overwrite arbitrary files on the system.
Affected software
IBM App Connect for Healthcare
Debian Linux
Ubuntu
Integration Designer
libcommons-fileupload-java (Ubuntu package)
libcommons-fileupload-java (Debian package)
IBM Tivoli Business Service Manager
IBM Cloud Application Performance Management (APM)
IBM Security Verify Governance
How to mitigate CVE-2013-2186
libcommons-fileupload-java (Ubuntu package) - update to 1.2.1-3ubuntu2.1
libcommons-fileupload-java (Debian package) - addressed in versions 1.2.2-1+deb6u1, 1.2.2-1+deb7u1
IBM Tivoli Business Service Manager - update to 6.2.0.4
IBM Cloud Application Performance Management (APM) - update to 8.1.4.0.14
IBM Security Verify Governance - update to 10.0.2.0.2
External References
- http://lists.opensuse.org/opensuse-security-announce/2013-11/msg00008.html
- http://lists.opensuse.org/opensuse-updates/2013-10/msg00033.html
- http://lists.opensuse.org/opensuse-updates/2013-10/msg00050.html
- http://rhn.redhat.com/errata/RHSA-2013-1428.html
- http://rhn.redhat.com/errata/RHSA-2013-1429.html
- http://rhn.redhat.com/errata/RHSA-2013-1430.html
- http://rhn.redhat.com/errata/RHSA-2013-1442.html
- http://rhn.redhat.com/errata/RHSA-2013-1448.html
- http://secunia.com/advisories/55716
- http://ubuntu.com/usn/usn-2029-1
- http://www.debian.org/security/2013/dsa-2827
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://www.oracle.com/technetwork/topics/security/cpujan2016-2367955.html
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://www.securityfocus.com/bid/63174
- https://access.redhat.com/errata/RHSA-2016:0070
- https://exchange.xforce.ibmcloud.com/vulnerabilities/88133
- https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2014-10-01
- https://www.tenable.com/security/research/tra-2016-23
Related Security Bulletins
- Arbitrary file overwrite in Apache Commons FileUpload
- Multiple vulnerabilities in IBM Application Performance Management products
- Multiple vulnerabilities in IBM App Connect for Healthcare
- Multiple vulnerabilities in IBM Integration Designer
- Multiple vulnerabilities in IBM Security Verify Governance - Identity Manager
- Multiple vulnerabilities in IBM Tivoli Business Service Manager
- Ubuntu update for libcommons-fileupload-java
- DSA-2827-1: libcommons-fileupload-java - arbitrary file upload via deserialization