nday
CVE-2020-5791

Nagios: command injectionTitle composed by nday; the CVE record has none.

A public PoC appeared 8 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by NVD's analysts
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
Metasploit
Metasploit modules auxiliary/scanner/http/nagios_xi_scanner, exploit/linux/http/nagios_xi_mibs_authenticated_rce
Exploit-DB
Exploit-DB entries 48959
Nagios
CPE names NVD's analysts give as vulnerable: a:nagios:nagios_xi
monitoring / logging / IT management
CPE names NVD's analysts give as vulnerable: a:nagios:nagios_xithe product type of Nagios in nday's product registry
stage
POC
disclosed
disclosure → PoC
T+8d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2020-10-20T21:22Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2020-10-28, date only
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

Improper neutralization of special elements used in an OS command in Nagios XI 5.7.3 allows a remote, authenticated admin user to execute operating system commands with the privileges of the apache user.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by tenable.

src cvelist · nday , bulk import · raw
{
  "id": 64427,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2020-5791",
  "occurred_at": "2020-10-20T21:22:00Z",
  "observed_at": "2026-11-12T21:04:12.541754Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2020-10-20T21:22:00.000Z",
    "assigner_short_name": "tenable"
  }
}
2020-10-28date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Nagios XI 5.7.3 - 'mibs.php' Remote Command Injection (Authenticated)” (EDB-48959).

src exploitdb 48959 · nday , bulk import · raw
{
  "id": 35722,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/48959",
  "occurred_at": "2020-10-28T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "48959",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/48959",
    "file": "exploits/php/webapps/48959.py",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Nagios XI 5.7.3 - 'mibs.php' Remote Command Injection (Authenticated)",
    "author": "Matthew Aberegg",
    "edb_id": 48959,
    "cve_ids": [
      "CVE-2020-5791"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2020-10-28",
    "date_updated": "2020-10-28",
    "date_published": "2020-10-28"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module auxiliary/scanner/http/nagios_xi_scanner (Nagios XI Scanner). The source gives no release time for the module.

src metasploit auxiliary/scanner/http/nagios_xi_scanner · nday , bulk import · raw
{
  "id": 50057,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/nagios_xi_scanner.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/scanner/http/nagios_xi_scanner",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/nagios_xi_scanner.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/scanner/http/nagios_xi_scanner.rb",
    "rank": 300,
    "check": false,
    "title": "Nagios XI Scanner",
    "cve_ids": [
      "CVE-2019-15949",
      "CVE-2020-5791",
      "CVE-2020-5792",
      "CVE-2020-35578",
      "CVE-2021-37343"
    ],
    "fullname": "auxiliary/scanner/http/nagios_xi_scanner",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-04-02 17:30:43 +0000",
    "vuln_disclosure_date": null
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/linux/http/nagios_xi_mibs_authenticated_rce (Nagios XI 5.6.0-5.7.3 - Mibs.php Authenticated Remote Code Exection). The source gives no release time for the module.

src metasploit exploit/linux/http/nagios_xi_mibs_authenticated_rce · nday , bulk import · raw
{
  "id": 50628,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nagios_xi_mibs_authenticated_rce.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/linux/http/nagios_xi_mibs_authenticated_rce",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nagios_xi_mibs_authenticated_rce.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/linux/http/nagios_xi_mibs_authenticated_rce.rb",
    "rank": 600,
    "check": true,
    "title": "Nagios XI 5.6.0-5.7.3 - Mibs.php Authenticated Remote Code Exection",
    "cve_ids": [
      "CVE-2020-5791"
    ],
    "fullname": "exploit/linux/http/nagios_xi_mibs_authenticated_rce",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 13:20:20 +0000",
    "vuln_disclosure_date": "2020-10-20"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.