Description
The cisco_firesight_manager_ACL_rule_export module in misp-modules generates a shell script (.sh) that authenticates to and calls the Cisco fireSIGHT Manager API. The module interpolates configuration values (IP address, login, password, domain ID, policy ID) and MISP attribute values (destination IPs, URLs, event info comments) directly into single-quoted shell string assignments without any escaping or sanitization. Because the values are placed inside single-quoted shell strings, any value containing a single-quote character (e.g., a crafted ip-dst or url attribute value submitted to MISP) breaks out of the quoting context, allowing an attacker to inject arbitrary shell commands into the exported script. A security analyst who subsequently executes the generated .sh file unmodified would run the injected commands with their own privileges, potentially exposing fireSIGHT Manager credentials, modifying ACL rules, or compromising the analyst workstation. Additionally, the module contained a secondary defect where the variable 'config' was only assigned inside a conditional block but referenced unconditionally afterward, causing a NameError (denial of service) when the request payload lacked a 'config' key. The vulnerability requires the attacker to have the ability to submit MISP events or attributes containing a single-quote character and the victim to execute the exported script. No authentication bypass is required beyond standard MISP event-submission privileges.
Published: 2026-09-25
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Remote Code Execution through command injection in a generated shell script.
Action: Immediate Patch
AI Analysis

Impact

The cisco_firesight_manager_ACL_rule_export module builds a shell script that authenticates to Cisco fireSIGHT Manager and calls its API. Configuration values (IP, login, password, domain and policy IDs) and MISP attributes (destination IPs, URLs, comments) are interpolated directly into single‑quoted shell assignments without any escaping. If an injected value contains a single quote, the shell string is broken, allowing arbitrary shell commands to be executed when the script is run. Attackers with the ability to submit MISP events or attributes can thus inject commands that run with the privileges of the analyst executing the script. The exploit could expose fireSIGHT Manager credentials, alter ACL rules, or compromise the analyst workstation. Additionally, an uninitialized variable could trigger a NameError, causing a denial of service when a payload lacks a config key.

Affected Systems

The vulnerability affects the misp-modules component of the MISP platform, specifically the cisco_firesight_manager_ACL_rule_export module. The CVE does not enumerate specific version ranges; affected releases are any that use the unescaped shell‑script generation logic prior to the patch that introduces shlex.quote() and proper config initialization.

Risk and Exploitability

The CVSS score of 6.3 indicates a medium severity vulnerability. No EPSS score is available, and the vulnerability is not listed in CISA’s KEV catalog. Attackers would need to add a single‑quote character to an attribute value during event submission and rely on a legitimate analyst to execute the resulting script. While the exploitation requires the victim’s execution of the script, the opportunity exists whenever generated scripts are run, highlighting a potential insider or social‑engineering risk. Because the module only affects the generation phase, the attacker cannot alter the API calls directly, but successful shell command injection can still lead to compromise of credentials and system state.

Generated by OpenCVE AI on September 25, 2026 at 09:41 UTC.

Remediation

Vendor Solution

All user-controlled and configuration values interpolated into the generated shell script are now passed through Python's shlex.quote() function, which produces a safely quoted string that cannot be broken out of by embedded shell metacharacters. For the JSON access-rule block that embeds multiple attribute values within a single shell assignment, the JSON content is first assembled as plain text and then the entire assembled string is shlex-quoted once, preventing stray quote characters from corrupting the outer quoting. The 'config' variable is now initialized to an empty dictionary before the conditional assignment, eliminating the NameError.


OpenCVE Recommended Actions

  • Deploy the patched version of misp-modules that uses shlex.quote() to escape all shell arguments.
  • Restrict the creation of MISP attributes containing single quotes to trusted users and reject unsafe characters from attribute values.
  • Disable automatic execution of exported shell scripts on analyst workstations and enforce manual code review or digital signing before running scripts.

Generated by OpenCVE AI on September 25, 2026 at 09:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Misp
Misp misp-modules
Vendors & Products Misp
Misp misp-modules
References

Fri, 25 Sep 2026 10:00:00 +0000


Fri, 25 Sep 2026 08:30:00 +0000

Type Values Removed Values Added
Description The cisco_firesight_manager_ACL_rule_export module in misp-modules generates a shell script (.sh) that authenticates to and calls the Cisco fireSIGHT Manager API. The module interpolates configuration values (IP address, login, password, domain ID, policy ID) and MISP attribute values (destination IPs, URLs, event info comments) directly into single-quoted shell string assignments without any escaping or sanitization. Because the values are placed inside single-quoted shell strings, any value containing a single-quote character (e.g., a crafted ip-dst or url attribute value submitted to MISP) breaks out of the quoting context, allowing an attacker to inject arbitrary shell commands into the exported script. A security analyst who subsequently executes the generated .sh file unmodified would run the injected commands with their own privileges, potentially exposing fireSIGHT Manager credentials, modifying ACL rules, or compromising the analyst workstation. Additionally, the module contained a secondary defect where the variable 'config' was only assigned inside a conditional block but referenced unconditionally afterward, causing a NameError (denial of service) when the request payload lacked a 'config' key. The vulnerability requires the attacker to have the ability to submit MISP events or attributes containing a single-quote character and the victim to execute the exported script. No authentication bypass is required beyond standard MISP event-submission privileges.
Title misp-modules: Shell Command Injection in MISP cisco_firesight_manager_ACL_rule_export Module via Unescaped Attribute Values
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H'}


Subscriptions

Misp Misp-modules
cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-25T09:50:00.869Z

Reserved: 2026-09-25T08:02:32.714Z

Link: CVE-2026-97863

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T09:17:08.003

Modified: 2026-09-25T10:17:08.787

Link: CVE-2026-97863

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T10:15:06Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')