---
title: "CVE-2018-14857\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-14857?format=md
keywords: index, follow
---

# CVE-2018-14857

Publication date 6 August 2018

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2018-14857?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ocsinventory-server | 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14857)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-14857)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-14857)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-14857)

### Other references

* <http://seclists.org/fulldisclosure/2018/Aug/6>
* <http://www.securitytracker.com/id/1041418>
* <https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/cc572819e373f7ff81dec61591b6f465b43c5515>
* <https://www.cve.org/CVERecord?id=CVE-2018-14857>
