{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.3.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "e30ca22e1f0b7e261e131fc95d7883bf5afd1816"
            },
            {
              "fixed": "6ffc7f9032c55eaa1c37cf5e070809b7211c7e9a"
            }
          ],
          "repo": "https://github.com/opmantek/open-audit",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in Open-AudIT 3.3.1. There is shell metacharacter injection via attributes to an open-audit/configuration/ URI. An attacker can exploit this by adding an excluded IP address to the global discovery settings (internally called exclude_ip). This exclude_ip value is passed to the exec function in the discoveries_helper.php file (inside the all_ip_list function) without being filtered, which means that the attacker can provide a payload instead of a valid IP address.",
  "id": "CVE-2020-12078",
  "modified": "2026-03-15T21:46:09.310070532Z",
  "published": "2020-04-28T14:15:14.203Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/Opmantek/open-audit/commit/6ffc7f9032c55eaa1c37cf5e070809b7211c7e9a"
    },
    {
      "type": "EVIDENCE",
      "url": "http://packetstormsecurity.com/files/157477/Open-AudIT-Professional-3.3.1-Remote-Code-Execution.html"
    },
    {
      "type": "EVIDENCE",
      "url": "https://gist.github.com/mhaskar/dca62d0f0facc13f6364b8ed88d5a7fd"
    },
    {
      "type": "EVIDENCE",
      "url": "https://shells.systems/open-audit-v3-3-1-remote-command-execution-cve-2020-12078/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}