CVE-2018-14857 File upload in n/a

High 8.8 Published Updated

A privileged user can upload a malicious PHP template file to execute arbitrary code on the OCS Inventory Server.

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

CVE-2018-14857 is a high-severity vulnerability in n/a, published on 6 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Unrestricted file upload (with remote code execution) in require/mail/NotificationMail.php in Webconsole in OCS Inventory NG OCS Inventory Server through 2.5 allows a privileged user to gain access to the server via a template file containing PHP code, because file extensions other than .html are permitted.

Weakness: CWE-434

Which versions are affected by CVE-2018-14857?

It affects 1 product.

Products include Ocsinventory-Ng Ocs Inventory Server.

How do I fix CVE-2018-14857?

Apply the vendor's patch.

Is CVE-2018-14857 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-14857, GHSA-3g3v-97v3-vj6w.

Is CVE-2018-14857 in your software?

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

Check your SBOMs for free