Arbitrary file upload in Ocsinventory-Ng Ocs Inventory Server

CVE-2018-14857

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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.037 (88.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (mailing-list, x_refsource_FULLDISC, Mailing List, Third Party Advisory)
  • cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)
  • cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_SECTRACK)

Frequently asked questions

What is CVE-2018-14857?
CVE-2018-14857 is a high-severity vulnerability in Ocsinventory-Ng Ocs Inventory Server, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2018-08-06.
How severe is CVE-2018-14857?
High severity. CVSS v3 base score is 8.8 out of 10.