GitHub Advisoryadvisory · Packagist

GHSA-x8wj-6m73-gfqp Relative Path Traversal (CWE-23) in chunked uploads in oneup/uploader-bundle

HIGH Published 2020-02-18 Modified 2021-01-08 Official page ↗
Aliases
CVE-2020-5237
Ecosystem
Packagist
Packages
oneup/uploader-bundle
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22, CWE-23
Reviewed
2020-02-05

Affected packages

• Packagist oneup/uploader-bundle: >= 2.0.0, < 2.1.5 → fixed in 2.1.5 • Packagist oneup/uploader-bundle: >= 1.0.0, < 1.9.3 → fixed in 1.9.3

Description

Impact The vulnerability was identified in the web service for a chunked file upload. While the names of the POST parameters vary with the used frontend, their values are always used in the same way to build a path where the chunks are stored and assembled temporarily. By not validating these parameters properly, OneupUploaderBundle is susceptible to a path traversal vulnerability which can be exploited to upload files to arbitrary folders on the filesystem. The assembly process can further be misused with some restrictions to delete and copy files to other locations. The vulnerability can be exploited by any users that have legitimate access to the upload functionality and can lead to arbitrary code execution, denial of service and disclosure of confidential information. Patches Yes, see version 1.9.3 and 2.1.5. References https://owasp.org/www-community/attacks/Path_Traversal Credits: This security vulnerability was found by Thibaud Kehler of SySS GmbH. E-Mail: [email protected]

Related

Alias · CVE (1)

  • CVE-2020-5237 Multiple relative path traversal vulnerabilities in the oneup/uploader-bundle before 1.9.3 and 2.1.5 allow remote attackers to upload,… vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-23 Relative Path Traversal weakness

References