{"id":"CVE-2021-25297","kind":"vulnerability","aliases":["CVE-2021-25297"],"related":[],"title":"Nagios Nagios XI: Nagios XI OS Command Injection","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.","summary":"Nagios XI, a server monitoring product, has an OS command injection flaw that lets input run shell commands on the Nagios XI server. CISA lists it as actively exploited in the wild.","severity":"critical","cvss":9.0,"epss":0.56659,"exploited":true,"exploited_at":"2022-01-18T00:00:00+00:00","products":[{"name":"Nagios Nagios XI","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","nagios-xi","other","self-hosted"],"not_affected_if":["unknown"],"how_to_check":null,"fix":"Apply updates per vendor instructions (sources do not name the fixed version).","status":"open","published_at":"2021-02-15T13:15:12+00:00","first_seen_at":"2026-10-23T19:11:53+00:00","triaged_at":"2026-10-23T21:31:33+00:00","updated_at":"2026-10-23T21:57:35+00:00","category":"other","confidence":0.6,"triage":{"at":"2026-10-23T21:31:33Z","model":"claude-haiku-5-5","output":{"fix":"Apply updates per vendor instructions (sources do not name the fixed version).","reach":"unknown","impact":"high","summary":"Nagios XI, a server monitoring product, has an OS command injection flaw that lets input run shell commands on the Nagios XI server. CISA lists it as actively exploited in the wild.","category":"other","who_cares":["nagios-xi","self-hosted"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker runs arbitrary OS commands on the Nagios XI server","analyst_note":"Find the affected and fixed Nagios XI versions and the auth/reach details in the vendor advisory; check the CISA KEV entry for due date and CVE-2021-25297 details.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["unknown"],"user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000445,"input_tokens":2807,"output_tokens":329,"severity_before":"unknown"},"analyst_status":"queued","analyst_note":"Find the affected and fixed Nagios XI versions and the auth/reach details in the vendor advisory; check the CISA KEV entry for due date and CVE-2021-25297 details.","search":"'-2021':10A,13A '-25297':11A,14A '/usr/local/nagiosxi/html/includes/configwizards/switch/switch.inc.php':75C '5.7.5':62C 'activ':53B 'affect':64C 'authent':81C 'cisa':49B 'command':7A,35B,43B,67C,96C 'control':84C 'cve':9A,12A 'due':76C 'exist':71C 'exploit':18B,54B 'file':74C 'flaw':37B 'host':25B 'http':89C 'improp':78C 'inject':8A,36B,68C,97C 'input':40B,85C 'lead':93C 'let':39B 'list':50B 'monitor':30B 'nagio':1A,2A,4A,20B,26B,46B,58C,100C 'nagios':15A,16A 'nagios-xi':19B 'os':6A,34B,66C,95C 'product':31B 'request':90C 'run':41B 'sanit':79C 'self':24B 'self-host':23B 'server':29B,48B,102C 'shell':42B 'singl':88C 'user':83C 'user-control':82C 'version':60C 'vulner':70C 'wild':57B 'xi':3A,5A,17A,21B,27B,47B,59C,61C,101C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2021-02-15T13:15:12+00:00","kev":{"dateAdded":"2022-01-18","dueDate":"2022-02-01","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Unknown"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2021-25297","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2021-25297","severity":null,"published_at":"2022-01-18T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:53+00:00","fetched_at":"2026-10-25T17:39:58+00:00","note":null},{"source":"epss","external_id":"CVE-2021-25297","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-25297","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:44+00:00","fetched_at":"2026-10-23T19:13:44+00:00","note":null},{"source":"nvd","external_id":"CVE-2021-25297","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25297","severity":null,"published_at":"2021-02-15T13:15:12+00:00","modified_at":"2026-07-09T13:39:51+00:00","first_seen_at":"2026-10-23T21:57:35+00:00","fetched_at":"2026-10-23T21:57:35+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}