{
  "id": "CVE-2021-25297",
  "url": "https://poc.griffinguard.io/cve/CVE-2021-25297",
  "published_at": "2021-02-15T00:00:00Z",
  "title": "Nagios XI OS Command Injection",
  "vendor": "Nagios",
  "product": "Nagios XI",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-01-18",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 337
  },
  "first_poc": {
    "created_at": "2023-02-07T20:18:03Z",
    "first_seen_at": null,
    "days_after_publication": 722.8,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nagios_xi_configwizards_authenticated_rce.rb"
  },
  "poc_repo_count": 0,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Nagios XI version xi-5.7.5 is affected by OS command injection. The vulnerability exists in the file /usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php due to improper sanitization of authenticated user-controlled input by a single HTTP request, which can lead to OS command injection on the Nagios XI server.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/nagios_xi_configwizards_authenticated_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Nagios XI 5.5.6 to 5.7.5 - ConfigWizards Authenticated Remote Code Exection (exploit/linux/http/nagios_xi_configwizards_authenticated_rce)",
      "published_at": "2023-02-07T20:18:03Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25297.yaml",
      "source": "nuclei",
      "title": "nuclei template: Nagios 5.5.6-5.7.5 - Authenticated Remote Command Injection",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
