Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-14857
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:42 UTC · Revision 1

Source evidence

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:CVE-2018-14857
Complete source record
{
  "id": "12f3b3e8c14f04ad1a844d065224664d4a59ef52ff79090ab5218754a24b52ca",
  "url": "https://osv.dev/vulnerability/CVE-2018-14857",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "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:CVE-2018-14857",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-14857",
      "aliases": [
        "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": [
            {
              "repo": "https://github.com/ocsinventory-ng/ocsinventory-ocsreports",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cc572819e373f7ff81dec61591b6f465b43c5515"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "cc572819e373f7ff81dec61591b6f465b43c5515"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.5",
            "2.4.1",
            "2.4",
            "2.3.1",
            "2.3",
            "2.3RC1",
            "2.2.1",
            "2.2",
            "2.2RC1",
            "2.2Beta2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14857.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/ocsinventory-ng/ocsinventory-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "aa4d02fe72b289a13e75b7b0bc1ffdbc86747b3f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ocsinventory-ng:ocs_inventory_server:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.5",
            "2.4.1",
            "2.4",
            "2.3.1",
            "2.3",
            "2.3RC1",
            "2.2.1",
            "2.2",
            "2.2RC1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14857.json"
          }
        }
      ],
      "modified": "2026-10-24T10:49:38.399597508Z",
      "provider": "osv",
      "references": [
        "https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/cc572819e373f7ff81dec61591b6f465b43c5515"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-14857",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 441781,
  "published_at": "2018-08-06T21:29:00.453+00:00"
}