Unrestricted Upload of File with Dangerous Type Affecting ocsinventory-server package, versions <2.8+dfsg1-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.03% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Unrestricted Upload of File with Dangerous Type vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-OCSINVENTORYSERVER-526562
  • published6 Aug 2018
  • disclosed6 Aug 2018

Introduced: 6 Aug 2018

CVE-2018-14857  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade Debian:11 ocsinventory-server to version 2.8+dfsg1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ocsinventory-server package and not the ocsinventory-server package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.