CVE-2014-8739: Blueimp/jquery file upload JQuery File Upload Plugin Unrestricted Vulnerability

HIGH
Advisory Identifier: GHSA-wxg6-f773-g2f7
CWE-434
Published
Advisory Summary

CVE-2014-8739 is a HIGH jquery file upload plugin unrestricted vulnerability (CWE-434: Unrestricted Upload of File with Dangerous Type) affecting Blueimp/jquery file upload libraries in the Packagist ecosystem. The issue involves jquery file upload plugin unrestricted file upload vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2014-8739 at a Glance

CVE Identifier CVE-2014-8739
GHSA Identifier GHSA-wxg6-f773-g2f7
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-434: Unrestricted Upload of File with Dangerous Type
Affected Product Blueimp/jquery file upload
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2014-8739

To remediate this vulnerability, upgrade all affected Blueimp/jquery file upload dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

blueimp/jquery-file-upload fixed: Latest secure release
Upgrade blueimp/jquery-file-upload to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for blueimp/jquery-file-upload

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-8739, inspect your project dependencies for Blueimp/jquery file upload:

inspect dependencies for blueimp/jquery-file-upload

Analyze the terminal output to locate any version of Blueimp/jquery file upload in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type, where the product allows the upload or transfer of dangerous file types that are automatically processed within its environment. In Blueimp/jquery file upload, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Unrestricted file upload vulnerability in `server/php/UploadHandler.php` in the jQuery File Upload Plugin 6.4.4 for jQuery, as used in the Creative Solutions Creative Contact Form (formerly Sexy Contact Form) before 1.0.0 for WordPress and before 2.0.1 for Joomla!, allows remote attackers to execute arbitrary code by uploading a PHP file with an PHP extension, then accessing it via a direct request to the file in `files/`, as exploited in the wild in October 2014.

CVE-2014-8739 Affected Blueimp/jquery file upload Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
blueimp/jquery-file-upload
Packagist
6.4.4
All 1 versions
6.4.4
None specified

References

Frequently Asked Questions

What is CVE-2014-8739?
CVE-2014-8739 is a security vulnerability in Blueimp/jquery file upload involving jQuery File Upload Plugin Unrestricted file upload vulnerability under CWE-434: Unrestricted Upload of File with Dangerous Type.
Which Blueimp/jquery file upload versions are affected?
Affected versions include releases prior to current release patches across affected packages: blueimp/jquery-file-upload.
What version fixes CVE-2014-8739?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is blueimp/jquery-file-upload affected?
Yes, blueimp/jquery-file-upload is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2014-8739?
CVE-2014-8739 is classified under CWE-434: Unrestricted Upload of File with Dangerous Type (The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.).
How can I check Packagist dependencies for CVE-2014-8739?
Run the dependency tree command: 'inspect dependencies for blueimp/jquery-file-upload'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wxg6-f773-g2f7",
  "modified" : "2024-04-25T20:34:52Z",
  "published" : "2022-05-17T19:57:26Z",
  "aliases" : [ "CVE-2014-8739" ],
  "summary" : "jQuery File Upload Plugin Unrestricted file upload vulnerability",
  "details" : "Unrestricted file upload vulnerability in `server/php/UploadHandler.php` in the jQuery File Upload Plugin 6.4.4 for jQuery, as used in the Creative Solutions Creative Contact Form (formerly Sexy Contact Form) before 1.0.0 for WordPress and before 2.0.1 for Joomla!, allows remote attackers to execute arbitrary code by uploading a PHP file with an PHP extension, then accessing it via a direct request to the file in `files/`, as exploited in the wild in October 2014.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "blueimp/jquery-file-upload"
    },
    "versions" : [ "6.4.4" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-8739"
  }, {
    "type" : "WEB",
    "url" : "https://wordpress.org/plugins/sexy-contact-form/changelog"
  }, {
    "type" : "WEB",
    "url" : "https://www.exploit-db.com/exploits/35057"
  }, {
    "type" : "WEB",
    "url" : "https://www.exploit-db.com/exploits/36811"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/show/osvdb/113669"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/show/osvdb/113673"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/11/11/4"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/11/11/5"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2014/11/13/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-434" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-25T20:34:52Z",
    "nvd_published_at" : "2020-02-08T18:15:00Z"
  }
}