CVE-2018-18257 Path traversal in n/a

High 7.5 Published Updated

Attackers can delete arbitrary files and folders on the web server via directory traversal in BageCMS admin template batch commands.

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-2018-18257?

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

Official description

An issue was discovered in BageCMS 3.1.3. An attacker can delete any files and folders on the web server via an index.php?r=admini/template/batch&command=deleteFile&fileName= or index.php?r=admini/template/batch&command=deleteFolder&folderName=../ directory traversal URI.

Weakness: CWE-22

Which versions are affected by CVE-2018-18257?

It affects 1 product.

Products include Bagesoft Bagecms.

How do I fix CVE-2018-18257?

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

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

Sources

Also known as GHSA-6pjp-chrp-qx34.

Is CVE-2018-18257 in your software?

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

Check your SBOMs for free