Skip to content

sei: packages potentially using incorrect mustache snippet escaping #7641

Description

@efd6

The mustache templating system used by ingest pipelines has two levels of escaping available, not escaped (triple stache) and HTML escaped (double stache) — see man mustache under "tag types: variables". This can lead to data corruption, particularly in cases where an operating system has chosen to use a character requiring escaping in its path syntax (example here).

In general we should not be HTML escaping fields for ingestion, so it is nearly always the case that we should be using the triple stache. This is not the case; this is a list of SEI packages that have at least one instance of a double stache in a template snippet:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Integration:1password1PasswordIntegration:akamaiAkamaiIntegration:atlassian_bitbucketAtlassian BitbucketIntegration:atlassian_confluenceAtlassian ConfluenceIntegration:atlassian_jiraAtlassian JiraIntegration:auditdAuditd LogsIntegration:awsAWSIntegration:barracudaBarracuda Web Application FirewallIntegration:bitdefenderBitDefenderIntegration:bluecoatBlue Coat Director Logs (Deprecated)Integration:carbonblack_edrVMware Carbon Black EDRIntegration:cefCommon Event Format (CEF)Integration:checkpointCheck PointIntegration:cisco_asaCisco ASAIntegration:cisco_iosCisco IOSIntegration:cisco_iseCisco ISEIntegration:cisco_secure_endpointCisco Secure EndpointIntegration:cisco_umbrellaCisco UmbrellaIntegration:citrix_wafCitrix Web App FirewallIntegration:cloudflareCloudflareIntegration:cloudflare_logpushCloudflare LogpushIntegration:crowdstrikeCrowdStrikeIntegration:cyberark_ptaCyberark Privileged Threat AnalyticsIntegration:cylanceCylanceProtect Logs (Deprecated)Integration:entityanalytics_entra_idMicrosoft Entra ID Entity AnalyticsIntegration:fireeyeFireEye Network Security (Community supported)Integration:forcepoint_webForcepoint Web Security (Community supported)Integration:forgerockForgeRockIntegration:fortinet_forticlientFortinet FortiClient Logs (Deprecated)Integration:fortinet_fortiedrFortinet FortiEDR LogsIntegration:fortinet_fortigateFortinet FortiGate Firewall LogsIntegration:gcpGoogle Cloud PlatformIntegration:githubGitHubIntegration:google_workspaceGoogle WorkspaceIntegration:hid_bravura_monitorBravura Monitor (Partner supported)Integration:impervaImpervaIntegration:infoblox_niosInfoblox NIOSIntegration:jumpcloudJumpCloudIntegration:juniper_junosJuniper JunOS (Deprecated)Integration:juniper_netscreenJuniper NetScreen (Deprecated)Integration:juniper_srxJuniper SRXIntegration:keycloakKeycloakIntegration:lyve_cloudLyve Cloud (Partner supported)Integration:m365_defenderMicrosoft Defender XDRIntegration:mattermostMattermost (Community supported)Integration:microsoft_defender_endpointMicrosoft Defender for EndpointIntegration:microsoft_dhcpMicrosoft DHCPIntegration:microsoft_sqlserverMicrosoft SQL ServerIntegration:mimecastMimecastIntegration:modsecurityModSecurity Audit (Community supported)Integration:mysql_enterpriseMySQL Enterprise (Audit Logs)Integration:nagios_xiNagios XIIntegration:netflowNetFlow RecordsIntegration:netscoutArbor Peakflow SP Logs (Deprecated)Integration:netskopeNetskopeIntegration:network_trafficNetwork Packet CaptureIntegration:o365Microsoft Office 365Integration:oktaOktaIntegration:osqueryOsquery LogsIntegration:pfsensepfSense (Community supported)Integration:pulse_connect_securePulse Connect Secure (Community supported)Integration:qnap_nasQNAP NAS (Community supported)Integration:radwareRadware DefensePro Logs (Deprecated)Integration:santaGoogle SantaIntegration:slackSlack LogsIntegration:snortSnortIntegration:snykSnykIntegration:sophosSophosIntegration:squidSquid ProxyIntegration:suricataSuricataIntegration:symantec_endpointSymantec Endpoint ProtectionIntegration:sysmon_linuxSysmon for LinuxIntegration:systemSystemIntegration:system_auditSystem AuditIntegration:tenable_ioTenable Vulnerability ManagementIntegration:thycotic_ssThycotic Secret Server (Community supported)Integration:ti_abusechabuse.chIntegration:ti_cif3Collective Intelligence Framework v3 (Community supported)Integration:ti_cybersixgillCybersixgillIntegration:ti_maltiverseMaltiverse (Partner supported)Integration:ti_mispMISPIntegration:trendmicroTrendAI Deep SecurityIntegration:windowsWindowsIntegration:zeekZeekIntegration:zeronetworksZero Networks (Partner supported)Integration:zoomZoomTeam:SDE-CrestCrest developers on the Security Integrations team [elastic/sit-crest-contractors]Team:Security-Deployment and DevicesDEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices]Team:Security-ScalabilitySecurity Integrations Scalability teamTeam:Security-Service IntegrationsSecurity Service Integrations team [elastic/security-service-integrations]bugSomething isn't working, use only for issuestechnical-debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions