CVE-2021-40887 Path traversal in n/a

Critical 9.8 Published Updated

An attacker can exploit a directory traversal flaw in ProjectSend to move arbitrary files to the upload directory, potentially exposing or modifying system files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-40887?

CVE-2021-40887 is a critical path traversal vulnerability in n/a, published on 11 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Projectsend version r1295 is affected by a directory traversal vulnerability. Because of lacking sanitization input for files[] parameter, an attacker can add ../ to move all PHP files or any file on the system that has permissions to /upload/files/ folder.

Weakness: CWE-22

Which versions are affected by CVE-2021-40887?

It affects 1 product.

Products include Projectsend Projectsend.

How do I fix CVE-2021-40887?

No fix has been published for CVE-2021-40887 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-40887 being exploited?

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

Sources

Also known as GHSA-x5xx-j968-8f6j.

Is CVE-2021-40887 in your software?

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

Check your SBOMs for free