Skip to content
Medium 5.3

MISP NIDS Rule Export Injection via Unescaped Attribute Values and Tags

CVE-2026-135253 First seen on SecPulse

Affected packages

PackageAffected → Fixed
MISPMISP
< 2.5.52→ 2.5.52
Original description The description as published by the source.

MISP's NIDS rule export functionality for Snort and Suricata formats does not properly escape user-controlled data before embedding it into generated rule text. Attribute values, tag names, and URL paths are inserted directly into rule options (msg, metadata, content matches) without neutralizing characters that are syntactically significant in the NIDS rule grammar, such as double quotes, semicolons, backslashes, commas, and control characters.

An authenticated user with the ability to create or modify attributes in a MISP instance can craft attribute values or tag names containing these special characters. When the NIDS rules are exported, the unescaped data breaks out of the intended option or content field, allowing injection of arbitrary rule options, corruption of rule structure, or generation of syntactically invalid rules that may cause the downstream NIDS engine to reject the entire ruleset.

The affected export paths include:

  • Snort and Suricata msg: option (quotes, semicolons, backslashes, control characters)
  • Suricata metadata: option (commas, semicolons, quotes, whitespace, control characters)
  • Suricata http.uri content: match for URL path (quotes, semicolons, pipe characters)

Security impact is limited to the integrity and availability of the exported NIDS rules and the downstream NIDS engine that consumes them. There is no direct compromise of the MISP application itself.

Affected: MISP versions prior to 2.5.52.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details