CVE-2020-5237 Relative Path Traversal in oneup/uploader-bundle

High 8.8 Published Updated

Remote attackers can exploit relative path traversal to upload, copy, or modify files, potentially leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-5237?

CVE-2020-5237 is a high-severity path traversal vulnerability in 1up-lab oneup/uploader-bundle, published on 5 Feb 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple relative path traversal vulnerabilities in the oneup/uploader-bundle before 1.9.3 and 2.1.5 allow remote attackers to upload, copy, and modify files on the filesystem (potentially leading to arbitrary code execution) via the (1) filename parameter to BlueimpController.php; the (2) dzchunkindex, (3) dzuuid, or (4) filename parameter to DropzoneController.php; the (5) qqpartindex, (6) qqfilename, or (7) qquuid parameter to FineUploaderController.php; the (8) x-file-id or (9) x-file-name parameter to MooUploadController.php; or the (10) name or (11) chunk parameter to PluploadController.php. This is fixed in versions 1.9.3 and 2.1.5.

Weakness: CWE-22, CWE-23

Which versions are affected by CVE-2020-5237?

4 open source packages ship an affected version, including oneup/uploader-bundle. It affects 1 product.

PackageAffectedFixed in
oneup/uploader-bundle PackagistFrom 1.0.01.9.3
oneup/uploader-bundle PackagistFrom 1.0.01.9.3
oneup/uploader-bundle PackagistFrom 2.0.02.1.5
oneup/uploader-bundle PackagistFrom 2.0.02.1.5

Products include 1up Oneupuploaderbundle.

How do I fix CVE-2020-5237?

Upgrade oneup/uploader-bundle to a fixed version for your release line: 1.9.3 or 2.1.5.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-5237 being exploited?

There is no known exploitation of CVE-2020-5237 in the wild and no public exploit code.

Sources

Also known as GHSA-x8wj-6m73-gfqp.

Is CVE-2020-5237 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free