Skip to content
Heist/ feed
Back to feed
HighFix available

ocsinventory-server — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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.

Products
ocsinventory-server
Affected versions
Not specified
Fixed versions
2.8+dfsg1-1
CVEs
CVE-2018-14857
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:27 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-14857

core-osv · Original source

Published 6 Aug 2018, 21:29 UTC

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.

osv:DEBIAN-CVE-2018-14857

ocsinventory-server

Fixed versions: 2.8+dfsg1-1

Complete source record
{
  "id": "6f8d74a0bae3fed6a6abd2d2a28fc57f146478b7061aa0549ec5d794cbf40e50",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-14857",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-14857",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2018-14857",
    "products": [
      {
        "name": {
          "value": "ocsinventory-server",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.8+dfsg1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2018-14857",
      "aliases": [
        "DEBIAN-CVE-2018-14857"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.8+dfsg1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "ocsinventory-server",
            "purl": "pkg:deb/debian/ocsinventory-server?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-14857.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-23T18:03:19.143602492Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-14857"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-14857"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-14857",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421127,
  "published_at": "2018-08-06T21:29:00.453+00:00"
}