Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-14947

OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-14947
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:51 UTC · Revision 1

Source evidence

CVE-2020-14947

core-osv · Original source

Published 30 Jun 2020, 21:15 UTC

OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.

osv:CVE-2020-14947
Complete source record
{
  "id": "d16ddb8f53e9521ba05affbda6f0f434954c0005c8798637f4ca402c09f75aee",
  "url": "https://osv.dev/vulnerability/CVE-2020-14947",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-14947",
    "summary": "OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.",
    "evidence": "osv:CVE-2020-14947",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-14947",
      "aliases": [
        "CVE-2020-14947"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/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": "f8034b7fe494c0d90b5a74462330e17864211f24"
                },
                {
                  "last_affected": "f8034b7fe494c0d90b5a74462330e17864211f24"
                },
                {
                  "fixed": "da72e0fddaeceee44fbbd7241e07e5d53d1eee64"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:factorfx:open_computer_software_inventory_next_generation:2.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.7"
                      },
                      {
                        "last_affected": "2.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "da72e0fddaeceee44fbbd7241e07e5d53d1eee64"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.7"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-14947.json"
          }
        }
      ],
      "modified": "2026-10-20T10:51:51.304340008Z",
      "provider": "osv",
      "references": [
        "https://github.com/OCSInventory-NG/OCSInventory-ocsreports/commit/da72e0fddaeceee44fbbd7241e07e5d53d1eee64",
        "https://drive.google.com/file/d/1-LVfL5ui5m2QfQxr0fDopzSECd4fTNrQ/view?usp=sharing",
        "https://gist.github.com/mhaskar/233436d3096d4a7beafe36ff61dc2c73",
        "https://shells.systems/ocs-inventory-ng-v2-7-remote-command-execution-cve-2020-14947/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-14947",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383026,
  "published_at": "2020-06-30T21:15:11.237+00:00"
}