cbcvebase.
CVE-2014-0050
published 2014-04-01

CVE-2014-0050: MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other products, allows remote attackers to cause a…

PriorityP258high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
83.17%
99.6th percentile
MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other products, allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a crafted Content-Type header that bypasses a loop's intended exit conditions.

Affected

70 ranges· showing 25
VendorProductVersion rangeFixed in
apachecommons_fileupload<= 1.3
apachecommons_fileupload
apachecommons_fileupload
apachecommons_fileupload
apachecommons_fileupload
apachecommons_fileupload
apachecommons_fileupload
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat
apachetomcat

Detection & IOCsextracted from sources · hover to see the quote

othermultipart/form-data; boundary=aaaa....(4092 'a' chars)
commandPOST request with Content-Type: multipart/form-data; boundary=<4092-byte boundary> and body of 4097 'b' bytes
  • Detect HTTP POST requests with a multipart/form-data Content-Type header containing an abnormally large boundary string (e.g., boundary parameter approaching or exceeding 4092 bytes), which is the attack vector for triggering the infinite loop in MultipartStream.java.
  • The exploit sends a crafted Content-Type header for a multipart request that bypasses the loop's intended exit conditions in MultipartStream.java — monitor for multipart POST requests where the boundary value length is unusually large (thousands of characters).
  • Sudden spike in CPU consumption on Tomcat/JBoss Web servers processing multipart requests may indicate active exploitation; the infinite loop causes sustained CPU exhaustion.
  • Affected versions to flag in asset inventory: Apache Commons FileUpload 1.0 through 1.3 (pre-1.3.1), Apache Tomcat 7.0.0–7.0.50, and Tomcat 8.0.0-RC1 through 8.0.1.
  • ·Tomcat 6 is only affected via the Manager application (which bundles Commons FileUpload), not all multipart endpoints — scope detection accordingly.
  • ·Tomcat 8 uses a package-renamed copy of Apache Commons FileUpload internally; patching the standalone commons-fileupload library is NOT sufficient — Tomcat itself must be upgraded to 8.0.0-RC10 or later.
  • ·Red Hat Enterprise Linux 7's standalone tomcat package is NOT affected; focus remediation on embedded commons-fileupload/jbossweb components in JBoss/middleware products.

CVSS provenance

nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.5HIGH
vendor_apache7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu5.8MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.