CVE-2019-5887 Path traversal in n/a

High 7.5 Published Updated

Attackers can delete arbitrary files via directory traversal in the UnlinkDir method, requiring a patch to ShopXO.

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-2019-5887?

CVE-2019-5887 is a high-severity path traversal vulnerability in n/a, published on 10 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in ShopXO 1.2.0. In the UnlinkDir method of the FileUtil.php file, the input parameters are not checked, resulting in input mishandling by the rmdir method. Attackers can delete arbitrary files by using "../" directory traversal.

Weakness: CWE-22

Which versions are affected by CVE-2019-5887?

It affects 1 product.

Products include Shopxo Shopxo.

How do I fix CVE-2019-5887?

No fix has been published for CVE-2019-5887 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-2019-5887 being exploited?

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

Sources

Also known as GHSA-3gjx-5cjx-23r8.

Is CVE-2019-5887 in your software?

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

Check your SBOMs for free